/// <summary> /// Search for media in a given area. Can return mix of image /// and video types. /// </summary> /// <param name="latitude">The latitude of the point.</param> /// <param name="longitude">The longitude of the point.</param> /// <param name="distance">The distance/radius in meters. The API allows a maximum radius of 5000 meters.</param> /// <returns>An instance of <see cref="InstagramSearchMediaResponse"/> representing the response from the Instagram API.</returns> public InstagramSearchMediaResponse Search(double latitude, double longitude, int distance) { return(InstagramSearchMediaResponse.ParseResponse(Raw.Search(latitude, longitude, distance))); }
/// <summary> /// Search for media in a given area. Can return mix of image /// and video types. /// </summary> /// <param name="location">An instance of <see cref="ILocation"/> representing the point.</param> /// <returns>An instance of <see cref="InstagramSearchMediaResponse"/> representing the response from the Instagram API.</returns> public InstagramSearchMediaResponse Search(ILocation location) { return(InstagramSearchMediaResponse.ParseResponse(Raw.Search(location))); }
/// <summary> /// Search for media in a given area. Can return mix of image and video types. /// </summary> /// <param name="options">The search options.</param> /// <returns>An instance of <see cref="InstagramSearchMediaResponse"/> representing the response from the Instagram API.</returns> public InstagramSearchMediaResponse Search(InstagramGetRecentMediaOptions options) { return(InstagramSearchMediaResponse.ParseResponse(Raw.Search(options))); }