OpenAPI-Android

com.kkbox.openapideveloper / com.kkbox.openapideveloper.api / FeaturedPlaylistFetcher / fetchAllFeaturedPlaylists

fetchAllFeaturedPlaylists

fun fetchAllFeaturedPlaylists(limit: Int? = null, offset: Int? = null): ResponseFuture<JsonObject>

Fetch featured playlists.

return httpClient.get(endpoint,
        mapOf("territory" to territory,
                "limit" to limit?.toString(),
                "offset" to offset?.toString()))

Parameters

limit - The size for one page.

offset - The offset index for first element.

Return the API response.