/// <summary> /// Gets a list of recent media from the specified <paramref name="location"/>. /// </summary> /// <param name="location">The location.</param> /// <returns>An instance of <see cref="InstagramGetLocationRecentMediaResponse"/> representing the response from the Instagram API.</returns> public InstagramGetLocationRecentMediaResponse GetRecentMedia(InstagramLocation location) { return(InstagramGetLocationRecentMediaResponse.ParseResponse(Raw.GetRecentMedia(location))); }
/// <summary> /// Gets a list of recent media from a location with the specified <paramref name="locationId"/>. /// </summary> /// <param name="locationId">The ID of the location.</param> /// <param name="count">The maximum amount of media to be returned.</param> /// <returns>An instance of <see cref="InstagramGetLocationRecentMediaResponse"/> representing the response from the Instagram API.</returns> public InstagramGetLocationRecentMediaResponse GetRecentMedia(long locationId, int count) { return(InstagramGetLocationRecentMediaResponse.ParseResponse(Raw.GetRecentMedia(locationId))); }
/// <summary> /// Gets a list of recent media from a location matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the search.</param> /// <returns>An instance of <see cref="InstagramGetLocationRecentMediaResponse"/> representing the response from the Instagram API.</returns> public InstagramGetLocationRecentMediaResponse GetRecentMedia(InstagramGetLocationRecentMediaOptions options) { return(InstagramGetLocationRecentMediaResponse.ParseResponse(Raw.GetRecentMedia(options))); }