getPlaylist

abstract suspend fun getPlaylist(id: String, market: String?, fields: List<String>?, additionalTypes: List<String>): ApiResponse<PlaylistInfo, ErrorBody>(source)

Get playlist API returns the information about the playlist.

Return

PlaylistInfo when success and ErrorBody when error.

Parameters

id
market
fields
additionalTypes