OpenAPI-Android

com.kkbox.openapideveloper / com.kkbox.openapideveloper.api / NewHitsPlaylistFetcher / fetchAllNewHitsPlaylists

fetchAllNewHitsPlaylists

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

Fetch all new hits 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.