File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -162,8 +162,8 @@ def food_restaurant():
162
162
163
163
url = '''https://maps.googleapis.com/maps/api/place/nearbysearch/json?parameters&key=%s\
164
164
&location=%s,%s\
165
- &radius=1000 \
166
- &type=department_store| food|grocery_or_supermarket ''' % (google_places_api_key ,lat ,long )
165
+ &radius=2000 \
166
+ &type=food|restaurant ''' % (google_places_api_key ,lat ,long )
167
167
168
168
results_json = requests .get (url ).json ()
169
169
#print results_json
@@ -189,7 +189,7 @@ def food_bar():
189
189
190
190
url = '''https://maps.googleapis.com/maps/api/place/nearbysearch/json?parameters&key=%s\
191
191
&location=%s,%s\
192
- &radius=1000 \
192
+ &radius=2000 \
193
193
&type=bar''' % (google_places_api_key ,lat ,long )
194
194
195
195
results_json = requests .get (url ).json ()
@@ -243,7 +243,7 @@ def food_cafe():
243
243
244
244
url = '''https://maps.googleapis.com/maps/api/place/nearbysearch/json?parameters&key=%s\
245
245
&location=%s,%s\
246
- &radius=1000 \
246
+ &radius=2000 \
247
247
&type=cafe''' % (google_places_api_key ,lat ,long )
248
248
249
249
results_json = requests .get (url ).json ()
You can’t perform that action at this time.
0 commit comments