Skip to content
This repository was archived by the owner on Jan 13, 2022. It is now read-only.

Commit f2f6313

Browse files
committed
Update location_search method to accept new foursquare_v2_id parameter
1 parent 95dc1c5 commit f2f6313

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Locations: http://instagr.am/developer/endpoints/locations/
149149

150150
api.location(location_id)
151151
api.location_recent_media(count, max_id, location_id)*
152-
api.location_search(q, count, lat, lng, foursquare_id)
152+
api.location_search(q, count, lat, lng, foursquare_id, foursquare_v2_id)
153153

154154
Geographies: http://instagr.am/developer/endpoints/geographies/
155155

instagram/client.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def __init__(self, *args, **kwargs):
128128

129129
location_search = bind_method(
130130
path="/locations/search",
131-
accepts_parameters=SEARCH_ACCEPT_PARAMETERS + ['lat', 'lng', 'foursquare_id'],
131+
accepts_parameters=SEARCH_ACCEPT_PARAMETERS + ['lat', 'lng', 'foursquare_id', 'foursquare_v2_id'],
132132
root_class=Location)
133133

134134
location = bind_method(

0 commit comments

Comments
 (0)