aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'foursquare')
-rw-r--r--foursquare/query_poi.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/foursquare/query_poi.py b/foursquare/query_poi.py
index efdd1b1..e2d5625 100644
--- a/foursquare/query_poi.py
+++ b/foursquare/query_poi.py
@@ -1,11 +1,14 @@
1import requests
2import json 1import json
2
3import requests
4
3from config import FSQ_API_KEY 5from config import FSQ_API_KEY
4from dbstore.dbm_store import get_loc, store_loc 6from dbstore.dbm_store import store_loc
5 7
6POI_API_ENDPOINT = "https://api.foursquare.com/v3/places/nearby?ll={}%2C{}" 8POI_API_ENDPOINT = "https://api.foursquare.com/v3/places/nearby?ll={}%2C{}"
7OSM_ENDPOINT = "https://www.openstreetmap.org/?mlat={}&mlon={}&zoom=15&layers=M" 9OSM_ENDPOINT = "https://www.openstreetmap.org/?mlat={}&mlon={}&zoom=15&layers=M"
8 10
11
9def query_poi(latitude, longitude): 12def query_poi(latitude, longitude):
10 locations = list() 13 locations = list()
11 14
Powered by cgit v1.2.3 (git 2.41.0)