getPlaylistTracks

abstract suspend fun getPlaylistTracks(id: String, market: String?, fields: List<String>?, additionalTypes: List<String>, limit: Int, offset: Int): ApiResponse<PlaylistTracksResponse, ErrorBody>(source)

Get playlist tracks API returns all the tracks for the current playlist.

Return

PlaylistTracksResponse when success and ErrorBody when error.

Parameters

id
market
fields
limit
offset