diff options
author | Navan Chauhan <navanchauhan@gmail.com> | 2019-04-03 16:36:58 +0530 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-03 16:36:58 +0530 |
commit | 925ed219cacdcec64f5aa274ac93971cbfab7dda (patch) | |
tree | 239b77a3834bca37650d7af98b50fff2d95fd358 | |
parent | 0a0cea6c999f08e9908cf643493dfabf064dc496 (diff) |
Updated README
-rw-r--r-- | README.md | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -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 | |