Version 0.9.1

Date 2015-02-22 (3,595 days ago)
Downloads 3,645 downloads
NuGet View on NuGet
GitHub View on GitHub

ยป Install via NuGet

Changelog for v0.9.1

Instagram
  • Remaining endpoint methods in the Instagram implementation will now return a representation of the entire response. As an example:

    InstagramRecentMediaResponse response = service.Users.GetRecentMedia(userId);
    
    foreach (InstagramMedia media in response.Data) {
    
    }
    

    should now be replaced by

    InstagramRecentMediaResponse response = service.Users.GetRecentMedia(userId);
    
    foreach (InstagramMedia media in response.Body.Data) {
    
    }
    
  • Due to the changes mentioned above (and earlier changes related to the response classes), it is now possible to get information about rate limiting - eg.:

    InstagramRecentMediaResponse response = service.Users.GetRecentMedia(userId);
    
    int limit = response.RateLimiting.Limit;
    
    int remaining = response.RateLimiting.Remaining;
    
YouTube
  • The YouTubeEndpoint class priviously located in the Skybrud.Social.Google.YouTube namespace has now been moved to the Skybrud.Social.Google.YouTube.Endpoints namespaces. All methods in the class has been moved into four separate endpoint classes:

    • YouTubeChannelsEndpoint
    • YouTubePlaylistsEndpoint
    • YouTubePlaylistItemsEndpoint
    • YouTubeVideosEndpoint

    A method in the channels endpoint could now be called as:

    YouTubeChannelListResponse response = service.YouTube.Channels.GetChannels(...);
    
  • Similar to Instagram, all endpoint methods will now return an object representing the entire response. For a list response, each item can now be accessed as:

    YouTubeVideoListResponse response = service.YouTube.Videos.GetVideos(new YouTubeVideoListOptions {
        Ids = new [] {"dQw4w9WgXcQ"}
    });
    
    foreach (YouTubeVideo video in response.Body.Items) {
    
    }
    
  • Lots of new features have been added, which will soon be covered in the documentation ๐Ÿ˜‰