kkbox_openapi_types library API

The library contains model objects used in KKBOX's Open API, such as playlists, albums, and so on.

Classes

AlbumInfo
Represents an album.
AlbumList
Represents a list of AlbumInfo objects.
ArtistInfo
Represents an artist in KKBOX's Open API.
ArtistList
Represents a list of ArtistInfo objects.
ChildrenCategory
Represents categories for children contents.
ChildrenCategoryGroup
Represents categories for children contents.
ChildrenCategoryList
Represents a list of FeaturedPlaylistCategory objects.
DataList<T>
Represents a container of a list with paging information and a summary.
FeaturedPlaylistCategory
Represents playlist categories.
FeaturedPlaylistCategoryList
Represents a list of FeaturedPlaylistCategory objects.
ImageInfo
Represents metadata of an image.
NewReleasedAlbumsCategory
Represnets a new released album category.
NewReleasedAlbumsCategoryList
Represents a list of NewReleasedAlbumsCategory objects.
PagingInfo
Represents paging information.
PlaylistInfo
Represents playlists.
PlaylistList
Represents a list of playlists.
RadioStation
Represents radio stations on KKBOX, including mood stations and genre stations.
RadioStationList
Represents a list of RadioStation objects.
SearchResults
Represents the results of search API.
Summary
Represents a container of the total count of a list.
TrackInfo
Represents tracks.
TrackList
Represents a list of TrackInfo objects.
UserInfo
Represents users.

Typedefs

DataBuilder<T> = T Function(Map)
DataConverter<T> = Map Function(T)

Exceptions / Errors

ForbiddenException
Represents HTTP status 403.
NotFoundException
Represents HTTP status 404.
UnauthorizedException
Represents HTTP status 401.