Class GetArtistsTopTracksRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.artists.GetArtistsTopTracksRequest
-
public class GetArtistsTopTracksRequest extends Object
Get an Artist's Top Tracks requestResponse
On success, the HTTP status code in the response header is
200OK and the response body contains an object whose key is"tracks"and whose value is an array of up to 10 track objects in JSON format. On error, the header status code is an error code and the response body contains an error object.
-
-
Constructor Summary
Constructors Constructor Description GetArtistsTopTracksRequest(ApiClient apiClient, String id, String market)Get an Artist's Top Tracks request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCall<Tracks>build()Build the request into an executable call
-
-
-
Constructor Detail
-
GetArtistsTopTracksRequest
public GetArtistsTopTracksRequest(ApiClient apiClient, String id, String market)
Get an Artist's Top Tracks request
- Parameters:
apiClient-The API client
id-The Spotify ID for the artist
market-An ISO 3166-1 alpha-2 country code or the string
from_token. Synonym forcountry.
-
-