From 88ad58c3d3412162ffdeb96f49b789e7976cad07 Mon Sep 17 00:00:00 2001 From: clarkzjw Date: Mon, 20 Feb 2023 13:58:01 -0800 Subject: minor reformatting --- foursquare/query_poi.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'foursquare') 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 @@ -import requests import json + +import requests + from config import FSQ_API_KEY -from dbstore.dbm_store import get_loc, store_loc +from dbstore.dbm_store import store_loc POI_API_ENDPOINT = "https://api.foursquare.com/v3/places/nearby?ll={}%2C{}" OSM_ENDPOINT = "https://www.openstreetmap.org/?mlat={}&mlon={}&zoom=15&layers=M" + def query_poi(latitude, longitude): locations = list() -- cgit v1.2.3