/// <summary>
 /// Search for a location by geographic coordinate.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 /// <see cref="http://instagram.com/developer/endpoints/locations/#get_locations_search"/>
 public InstagramLocationsResponse Search(InstagramLocationSearchOptions options)
 {
     return(InstagramLocationsResponse.ParseResponse(Raw.Search(options)));
 }
Exemple #2
0
 /// <summary>
 /// Search for a location by geographic coordinate.
 /// </summary>
 /// <param name="latitude">The latitude.</param>
 /// <param name="longitude">The longitude.</param>
 /// <param name="distance">The distance is menters (max: 5000m)</param>
 public InstagramLocationsResponse Search(double latitude, double longitude, int distance)
 {
     return(InstagramLocationsResponse.ParseJson(Raw.Search(latitude, longitude, distance)));
 }
 /// <summary>
 /// Search for a location by geographic coordinate within a 1000 meters.
 /// </summary>
 /// <param name="latitude">The latitude.</param>
 /// <param name="longitude">The longitude.</param>
 /// <see cref="http://instagram.com/developer/endpoints/locations/#get_locations_search"/>
 public InstagramLocationsResponse Search(double latitude, double longitude)
 {
     return(InstagramLocationsResponse.ParseResponse(Raw.Search(latitude, longitude)));
 }