com.kkbox.openapideveloper / com.kkbox.openapideveloper.api / MoodStationFetcher
class MoodStationFetcher
Fetch mood stations and get tracks for a specific mood station.
| <init> | MoodStationFetcher(httpClient: HttpClient, territory: String = "TW")Creates a mood station fetcher. |
| moodStationId | lateinit var moodStationId: String |
| fetchAllMoodStations | fun fetchAllMoodStations(limit: Int? = null, offset: Int? = null): ResponseFuture<JsonObject>Fetch all mood stations. |
| fetchMetadata | fun fetchMetadata(): ResponseFuture<JsonObject>Fetch metadata of a mood station by given ID. |
| setMoodStationId | fun setMoodStationId(moodStationId: String): MoodStationFetcherSet a mood station ID. |