예제 #1
0
 /// <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)));
 }
예제 #2
0
 /// <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)));
 }
예제 #3
0
 /// <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));
 }
예제 #6
0
 /// <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)));
 }
예제 #7
0
 /// <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)));
 }
예제 #8
0
 /// <summary>
 /// The the most recent media of the authenticated user.
 /// </summary>
 public InstagramRecentMediaResponse GetRecentMedia()
 {
     return(InstagramRecentMediaResponse.ParseJson(Raw.GetRecentMedia()));
 }
예제 #9
0
 /// <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)));
 }