aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2019-04-03 16:36:58 +0530
committerGitHub <noreply@github.com>2019-04-03 16:36:58 +0530
commit925ed219cacdcec64f5aa274ac93971cbfab7dda (patch)
tree239b77a3834bca37650d7af98b50fff2d95fd358
parent0a0cea6c999f08e9908cf643493dfabf064dc496 (diff)
Updated README
-rw-r--r--README.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/README.md b/README.md
index 99c920d..23d6f47 100644
--- a/README.md
+++ b/README.md
@@ -1,2 +1,24 @@
# PyAto
A Python Wrapper for the Zomato API
+
+### Initialisation
+```
+import PyAto
+PyAto.setAPIKey("Your Key Here")
+```
+or
+```
+import PyAto as pyato
+pyato.setAPIKey("Your Key Here")
+```
+### Functions
+
+| Function | Required Values | Output |
+|----------|-----------------|--------|
+| getCategories | None | JSON |
+| getCities | Name (String) | JSON |
+| getCityID | Name (String) | Integer |
+| getCollections | CityID (Integer) | JSON |
+| getCuisines | CityID (Integer) | JSON |
+| getGeocode | Latitude & Longitude | JSON |
+| getEstabblishments | CityID | JSON |