Class GetSeveralTracksRequest
- java.lang.Object
-
- de.sonallux.spotify.api.apis.tracks.GetSeveralTracksRequest
-
public class GetSeveralTracksRequest extends Object
Get Several Tracks requestResponse
On success, the HTTP status code in the response header is
200OK and the response body contains an object whose key istracksand whose value is an array of track objects in JSON format.Objects are returned in the order requested. If an object is not found, a
nullvalue is returned in the appropriate position. Duplicateidsin the query will result in duplicate objects in the response. On error, the header status code is an error code and the response body contains an error object.
-
-
Constructor Summary
Constructors Constructor Description GetSeveralTracksRequest(ApiClient apiClient, String ids)Get Several Tracks request
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ApiCall<Tracks>build()Build the request into an executable callGetSeveralTracksRequestmarket(String market)An ISO 3166-1 alpha-2 country code or the stringfrom_token.
-
-
-
Constructor Detail
-
GetSeveralTracksRequest
public GetSeveralTracksRequest(ApiClient apiClient, String ids)
Get Several Tracks request
- Parameters:
apiClient-The API client
ids-A comma-separated list of the Spotify IDs for the tracks. Maximum: 50 IDs.
-
-
Method Detail
-
market
public GetSeveralTracksRequest market(String market)
An ISO 3166-1 alpha-2 country code or the string
from_token. Provide this parameter if you want to apply Track Relinking.
-
-