Example #1
0
 /// <summary>
 /// Gets Spotify catalog information about an artist’s albums.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 /// <returns>An instance of <see cref="SocialHttpResponse"/> representing the raw response.</returns>
 /// <see>
 ///     <cref>https://developer.spotify.com/web-api/get-artists-albums/</cref>
 /// </see>
 public SocialHttpResponse GetAlbums(SpotifyGetAlbumsOptions options)
 {
     if (options == null)
     {
         throw new ArgumentNullException(nameof(options));
     }
     if (String.IsNullOrWhiteSpace(options.Id))
     {
         throw new PropertyNotSetException("options.Id");
     }
     return(Client.DoHttpGetRequest("https://api.spotify.com/v1/artists/" + options.Id + "/albums", options));
 }
 /// <summary>
 /// Gets Spotify catalog information about an artist’s albums.
 /// </summary>
 /// <param name="options">The options for the call to the API.</param>
 /// <returns>Returns an instance of <code>SocialHttpRequest</code> representing the response.</returns>
 public SocialHttpResponse GetAlbums(SpotifyGetAlbumsOptions options)
 {
     throw new NotImplementedException();
 }