/// <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(); }
/// <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) { if (options == null) throw new ArgumentNullException("options"); if (String.IsNullOrWhiteSpace(options.Id)) throw new PropertyNotSetException("options.Id"); return Client.DoHttpGetRequest("https://api.spotify.com/v1/artists/" + options.Id + "/albums"); }