/// <summary> /// Search for a location by geographic coordinate. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="InstagramSearchLocationsResponse"/> representing the response from the Instagram API.</returns> /// <see> /// <cref>https://instagram.com/developer/endpoints/locations/#get_locations_search</cref> /// </see> public InstagramSearchLocationsResponse Search(InstagramGetLocationSearchOptions options) { return(InstagramSearchLocationsResponse.ParseResponse(Raw.Search(options))); }
/// <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 meters (max: 5000m)</param> /// <returns>An instance of <see cref="InstagramSearchLocationsResponse"/> representing the response from the Instagram API.</returns> /// <see> /// <cref>https://instagram.com/developer/endpoints/locations/#get_locations_search</cref> /// </see> public InstagramSearchLocationsResponse Search(double latitude, double longitude, int distance) { return(InstagramSearchLocationsResponse.ParseResponse(Raw.Search(latitude, longitude, distance))); }