/// <summary> /// /// </summary> /// <param name="albumId">The Spotify ID of the album.</param> /// <param name="limit">The maximum number of tracks to return. Default: <c>20</c>. Maximum: <c>50</c>.</param> /// <returns>An instance of <see cref="SpotifyGetAlbumTracksResponse"/> representing the response.</returns> /// <see> /// <cref>https://developer.spotify.com/web-api/get-albums-tracks/</cref> /// </see> public SpotifyGetAlbumTracksResponse GetAlbumTracks(string albumId, int limit) { return(SpotifyGetAlbumTracksResponse.ParseResponse(Raw.GetAlbumTracks(albumId, limit))); }
/// <summary> /// Gets Spotify catalog information about the tracks of the album matching the specified <paramref name="options"/>. /// </summary> /// <param name="options">The options for the call to the API.</param> /// <returns>An instance of <see cref="SpotifyGetAlbumTracksResponse"/> representing the response.</returns> /// <see> /// <cref>https://developer.spotify.com/web-api/get-albums-tracks/</cref> /// </see> public SpotifyGetAlbumTracksResponse GetAlbumTracks(SpotifyGetAlbumTracksOptions options) { return(SpotifyGetAlbumTracksResponse.ParseResponse(Raw.GetAlbumTracks(options))); }