/// <summary> /// Search for media in a given area. The default time span is set to 5 days. The time span must not /// exceed 7 days. Defaults time stamps cover the last 5 days. Can return mix of image and video types. /// </summary> /// <param name="options">The search options.</param> public InstagramRecentMediaResponse Search(InstagramRecentMediaSearchOptions options) { return(InstagramRecentMediaResponse.ParseJson(Raw.Search(options))); }
/// <summary> /// Gets a list of media from the specified <code>tag</code>. /// </summary> /// <param name="tag">The name of the tag.</param> /// <param name="minTagId"></param> /// <param name="maxTagId"></param> public InstagramRecentMediaResponse GetRecentMedia(string tag, string minTagId = null, string maxTagId = null) { return(InstagramRecentMediaResponse.ParseJson(Raw.GetRecentMedia(tag, minTagId, maxTagId))); }
/// <summary> /// Search for media in a given area. The default time span is set to 5 days. 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> public InstagramRecentMediaResponse Search(double latitude, double longitude, int distance) { return(InstagramRecentMediaResponse.ParseJson(Raw.Search(latitude, longitude, distance))); }
/// <summary> /// Gets the the most recent media of the authenticated user. /// </summary> /// <param name="options">The search options with any optional parameters.</param> public InstagramRecentMediaResponse GetRecentMedia(InstagramUserRecentMediaOptions options) { return(InstagramRecentMediaResponse.ParseJson(Raw.GetRecentMedia("self", options).Body)); }
/// <summary> /// Gets the most recent media of the user with the specified ID. /// </summary> /// <param name="userId">The ID of the user.</param> /// <param name="options">The search options with any optional parameters.</param> public InstagramRecentMediaResponse GetRecentMedia(long userId, InstagramUserRecentMediaOptions options) { return(InstagramRecentMediaResponse.ParseJson(Raw.GetRecentMedia(userId + "", options).Body)); }
/// <summary> /// Gets the most recent media of the user with the specified ID. /// </summary> /// <param name="userId">The ID of the user.</param> /// <param name="options">The search options with any optional parameters.</param> public InstagramRecentMediaResponse GetRecentMedia(long userId, InstagramMediaSearchOptions options) { return(InstagramRecentMediaResponse.ParseJson(Raw.GetRecentMedia(userId, options))); }
/// <summary> /// Gets the most recent media of the user with the specified ID. /// </summary> /// <param name="userId">The ID of the user.</param> /// <param name="count">Count of media to return.</param> public InstagramRecentMediaResponse GetRecentMedia(long userId, int count) { return(InstagramRecentMediaResponse.ParseJson(Raw.GetRecentMedia(userId, count))); }
/// <summary> /// The the most recent media of the authenticated user. /// </summary> public InstagramRecentMediaResponse GetRecentMedia() { return(InstagramRecentMediaResponse.ParseJson(Raw.GetRecentMedia())); }
/// <summary> /// Get a list of recent media objects from a given location. /// </summary> /// <param name="locationId">The ID of the location.</param> public InstagramRecentMediaResponse GetRecentMedia(int locationId) { return(InstagramRecentMediaResponse.ParseJson(Raw.GetRecentMedia(locationId))); }
/// <summary> /// Get a list of recent media objects from a given location. /// </summary> /// <param name="locationId">The ID of the location.</param> /// <param name="options">The options for the search.</param> public InstagramRecentMediaResponse GetRecentMedia(int locationId, InstagramLocationSearchOptions options) { return(InstagramRecentMediaResponse.ParseJson(Raw.GetRecentMedia(locationId, options))); }