elixtagram v0.7.0 Elixtagram.API.Locations
Provides access to the /locations/
area of the Instagram API (for internal use).
Link to this section Summary
Functions
Fetch a %Elixtagram.Model.Location
from the server by id
.
Optionally take an access token
Fetch recent media from a location (by id) pass a list of params to limit your query by any combination of:
- count
- min_timestamp
- max_timestamp
- min_id
- max_id
Fetch a list of n recent medias along with a pagination data for a given location (by id) pass a list of params to limit your query by any combination of:
- count
- min_timestamp
- max_timestamp
- min_id
- max_id
Search for locations which match some parameters, passed as a list:
- distance (meters, default is 1000)
- lat
- lng
- facebook_places_id
- foursquare_v2_id
- foursquare_id (for Foursquare V1 API, deprecated) Must pass either some kind of id, or a lat/lng pair
Link to this section Functions
Fetch a %Elixtagram.Model.Location
from the server by id
.
Optionally take an access token.
Fetch recent media from a location (by id) pass a list of params to limit your query by any combination of:
- count
- min_timestamp
- max_timestamp
- min_id
- max_id
Fetch a list of n recent medias along with a pagination data for a given location (by id) pass a list of params to limit your query by any combination of:
- count
- min_timestamp
- max_timestamp
- min_id
- max_id
Returns %{data: list_of_media, pagination: %{next_url: url, next_max_id: max_id} If there are no more pages, pagination will be: %{}
Search for locations which match some parameters, passed as a list:
- distance (meters, default is 1000)
- lat
- lng
- facebook_places_id
- foursquare_v2_id
- foursquare_id (for Foursquare V1 API, deprecated) Must pass either some kind of id, or a lat/lng pair.