aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNavan Chauhan <navanchauhan@gmail.com>2019-04-03 16:29:28 +0530
committerNavan Chauhan <navanchauhan@gmail.com>2019-04-03 16:29:28 +0530
commit0a0cea6c999f08e9908cf643493dfabf064dc496 (patch)
tree536b2916a2212d6582adc03d4c258fee28bd9e6e
parent0c70b5c6842444cee8ec25f091a4b85ec378cc88 (diff)
Removed files
-rw-r--r--PyAto_navanchauhan.egg-info/PKG-INFO16
-rw-r--r--PyAto_navanchauhan.egg-info/SOURCES.txt7
-rw-r--r--PyAto_navanchauhan.egg-info/dependency_links.txt1
-rw-r--r--PyAto_navanchauhan.egg-info/top_level.txt1
-rw-r--r--__pycache__/pyato.cpython-37.pycbin2025 -> 0 bytes
-rw-r--r--build/lib/PyAto/PyAto.py59
-rw-r--r--build/lib/PyAto/__init__.py59
-rw-r--r--dist/PyAto-navanchauhan-0.0.1.tar.gzbin1560 -> 0 bytes
-rw-r--r--dist/PyAto-navanchauhan-0.0.2.tar.gzbin1575 -> 0 bytes
-rw-r--r--dist/PyAto-navanchauhan-0.0.3.tar.gzbin1490 -> 0 bytes
-rw-r--r--dist/PyAto_navanchauhan-0.0.1-py3-none-any.whlbin2958 -> 0 bytes
-rw-r--r--dist/PyAto_navanchauhan-0.0.1-py3.7.eggbin3021 -> 0 bytes
-rw-r--r--dist/PyAto_navanchauhan-0.0.2-py3-none-any.whlbin3447 -> 0 bytes
-rw-r--r--dist/PyAto_navanchauhan-0.0.2-py3.7.eggbin4163 -> 0 bytes
-rw-r--r--dist/PyAto_navanchauhan-0.0.3-py3-none-any.whlbin3447 -> 0 bytes
15 files changed, 0 insertions, 143 deletions
diff --git a/PyAto_navanchauhan.egg-info/PKG-INFO b/PyAto_navanchauhan.egg-info/PKG-INFO
deleted file mode 100644
index cfc6167..0000000
--- a/PyAto_navanchauhan.egg-info/PKG-INFO
+++ /dev/null
@@ -1,16 +0,0 @@
-Metadata-Version: 2.1
-Name: PyAto-navanchauhan
-Version: 0.0.3
-Summary: Python Wrapper for Zomato API
-Home-page: https://github.com/navanchauhan/PyAto
-Author: Navan Chauhan
-Author-email: navanchauhan@gmail.com
-License: UNKNOWN
-Description: # PyAto
- A Python Wrapper for the Zomato API
-
-Platform: UNKNOWN
-Classifier: Programming Language :: Python :: 3
-Classifier: License :: OSI Approved :: MIT License
-Classifier: Operating System :: OS Independent
-Description-Content-Type: text/markdown
diff --git a/PyAto_navanchauhan.egg-info/SOURCES.txt b/PyAto_navanchauhan.egg-info/SOURCES.txt
deleted file mode 100644
index 05ed769..0000000
--- a/PyAto_navanchauhan.egg-info/SOURCES.txt
+++ /dev/null
@@ -1,7 +0,0 @@
-README.md
-setup.py
-PyAto/__init__.py
-PyAto_navanchauhan.egg-info/PKG-INFO
-PyAto_navanchauhan.egg-info/SOURCES.txt
-PyAto_navanchauhan.egg-info/dependency_links.txt
-PyAto_navanchauhan.egg-info/top_level.txt \ No newline at end of file
diff --git a/PyAto_navanchauhan.egg-info/dependency_links.txt b/PyAto_navanchauhan.egg-info/dependency_links.txt
deleted file mode 100644
index 8b13789..0000000
--- a/PyAto_navanchauhan.egg-info/dependency_links.txt
+++ /dev/null
@@ -1 +0,0 @@
-
diff --git a/PyAto_navanchauhan.egg-info/top_level.txt b/PyAto_navanchauhan.egg-info/top_level.txt
deleted file mode 100644
index 904ab14..0000000
--- a/PyAto_navanchauhan.egg-info/top_level.txt
+++ /dev/null
@@ -1 +0,0 @@
-PyAto
diff --git a/__pycache__/pyato.cpython-37.pyc b/__pycache__/pyato.cpython-37.pyc
deleted file mode 100644
index 8b9262c..0000000
--- a/__pycache__/pyato.cpython-37.pyc
+++ /dev/null
Binary files differ
diff --git a/build/lib/PyAto/PyAto.py b/build/lib/PyAto/PyAto.py
deleted file mode 100644
index 08d05f8..0000000
--- a/build/lib/PyAto/PyAto.py
+++ /dev/null
@@ -1,59 +0,0 @@
-import requests
-
-#We set the headers globally as the header remains the same for almmost all requests
-def setAPIKey(secret):
- apikey = secret
- global headers
- headers = {
- 'Accept': 'application/json',
- 'user-key': apikey,
- }
-
-
-# Get Categories Function
-
-def getCategories():
- response = requests.get('https://developers.zomato.com/api/v2.1/categories', headers=headers)
- return response.json()
-
-# Get Cities function. Only takes City Name. Returns JSON
-
-def getCities(name):
- params = (('q', name),)
- response = requests.get('https://developers.zomato.com/api/v2.1/cities', headers=headers, params=params)
- return response.json()['location_suggestions'][0]
-
-# Get Collections Function. Only takes City ID. Returns JSON
-
-def getCollections(city_id):
- params = (('city_id', city_id),)
- response = requests.get('https://developers.zomato.com/api/v2.1/collections', headers=headers, params=params)
- return response.json()
-
-# Get Cuisines Function. Only takes City ID. Returns JSON
-
-def getCuisines(city_id):
- params = (('city_id', city_id),)
- response = requests.get('https://developers.zomato.com/api/v2.1/cuisines', headers=headers, params=params)
- return response.json()
-
-# Get Establishments Function. Only takes City ID. Returns JSON
-
-def getEstablishments(city_id):
- params = (('city_id', '1'),)
- response = requests.get('https://developers.zomato.com/api/v2.1/establishments', headers=headers, params=params)
- return response.json()
-
-# Geocoding Function. Takes Latitude and Longitude. Returns JSON
-
-def getGeocode(lat, lon):
- params = (('lat', lat),('lon', lon),)
- response = requests.get('https://developers.zomato.com/api/v2.1/geocode', headers=headers, params=params)
- return response.json()
-
-# Gets the City ID, Takes City Name and returns integer
-
-def getCityID(name):
- params = (('q', name),)
- response = requests.get('https://developers.zomato.com/api/v2.1/cities', headers=headers, params=params)
- return response.json()['location_suggestions'][0]['id']
diff --git a/build/lib/PyAto/__init__.py b/build/lib/PyAto/__init__.py
deleted file mode 100644
index 4757eaf..0000000
--- a/build/lib/PyAto/__init__.py
+++ /dev/null
@@ -1,59 +0,0 @@
-name = "PyAto"
-
-def setAPIKey(secret):
- apikey = secret
- global headers
- headers = {
- 'Accept': 'application/json',
- 'user-key': apikey,
- }
-
-
-# Get Categories Function
-
-def getCategories():
- response = requests.get('https://developers.zomato.com/api/v2.1/categories', headers=headers)
- return response.json()
-
-# Get Cities function. Only takes City Name. Returns JSON
-
-def getCities(name):
- params = (('q', name),)
- response = requests.get('https://developers.zomato.com/api/v2.1/cities', headers=headers, params=params)
- return response.json()['location_suggestions'][0]
-
-# Get Collections Function. Only takes City ID. Returns JSON
-
-def getCollections(city_id):
- params = (('city_id', city_id),)
- response = requests.get('https://developers.zomato.com/api/v2.1/collections', headers=headers, params=params)
- return response.json()
-
-# Get Cuisines Function. Only takes City ID. Returns JSON
-
-def getCuisines(city_id):
- params = (('city_id', city_id),)
- response = requests.get('https://developers.zomato.com/api/v2.1/cuisines', headers=headers, params=params)
- return response.json()
-
-# Get Establishments Function. Only takes City ID. Returns JSON
-
-def getEstablishments(city_id):
- params = (('city_id', '1'),)
- response = requests.get('https://developers.zomato.com/api/v2.1/establishments', headers=headers, params=params)
- return response.json()
-
-# Geocoding Function. Takes Latitude and Longitude. Returns JSON
-
-def getGeocode(lat, lon):
- params = (('lat', lat),('lon', lon),)
- response = requests.get('https://developers.zomato.com/api/v2.1/geocode', headers=headers, params=params)
- return response.json()
-
-# Gets the City ID, Takes City Name and returns integer
-
-def getCityID(name):
- params = (('q', name),)
- response = requests.get('https://developers.zomato.com/api/v2.1/cities', headers=headers, params=params)
- return response.json()['location_suggestions'][0]['id']
-
diff --git a/dist/PyAto-navanchauhan-0.0.1.tar.gz b/dist/PyAto-navanchauhan-0.0.1.tar.gz
deleted file mode 100644
index 1930746..0000000
--- a/dist/PyAto-navanchauhan-0.0.1.tar.gz
+++ /dev/null
Binary files differ
diff --git a/dist/PyAto-navanchauhan-0.0.2.tar.gz b/dist/PyAto-navanchauhan-0.0.2.tar.gz
deleted file mode 100644
index c378f0b..0000000
--- a/dist/PyAto-navanchauhan-0.0.2.tar.gz
+++ /dev/null
Binary files differ
diff --git a/dist/PyAto-navanchauhan-0.0.3.tar.gz b/dist/PyAto-navanchauhan-0.0.3.tar.gz
deleted file mode 100644
index 3049e34..0000000
--- a/dist/PyAto-navanchauhan-0.0.3.tar.gz
+++ /dev/null
Binary files differ
diff --git a/dist/PyAto_navanchauhan-0.0.1-py3-none-any.whl b/dist/PyAto_navanchauhan-0.0.1-py3-none-any.whl
deleted file mode 100644
index 8b2ca14..0000000
--- a/dist/PyAto_navanchauhan-0.0.1-py3-none-any.whl
+++ /dev/null
Binary files differ
diff --git a/dist/PyAto_navanchauhan-0.0.1-py3.7.egg b/dist/PyAto_navanchauhan-0.0.1-py3.7.egg
deleted file mode 100644
index da02a54..0000000
--- a/dist/PyAto_navanchauhan-0.0.1-py3.7.egg
+++ /dev/null
Binary files differ
diff --git a/dist/PyAto_navanchauhan-0.0.2-py3-none-any.whl b/dist/PyAto_navanchauhan-0.0.2-py3-none-any.whl
deleted file mode 100644
index d64149d..0000000
--- a/dist/PyAto_navanchauhan-0.0.2-py3-none-any.whl
+++ /dev/null
Binary files differ
diff --git a/dist/PyAto_navanchauhan-0.0.2-py3.7.egg b/dist/PyAto_navanchauhan-0.0.2-py3.7.egg
deleted file mode 100644
index 2d2d96b..0000000
--- a/dist/PyAto_navanchauhan-0.0.2-py3.7.egg
+++ /dev/null
Binary files differ
diff --git a/dist/PyAto_navanchauhan-0.0.3-py3-none-any.whl b/dist/PyAto_navanchauhan-0.0.3-py3-none-any.whl
deleted file mode 100644
index c5b6922..0000000
--- a/dist/PyAto_navanchauhan-0.0.3-py3-none-any.whl
+++ /dev/null
Binary files differ