Album meatadata.
public class KKBOX.OpenAPI.ServiceModel.AlbumDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
ArtistData |
Artist | ||
List<String> |
AvailableTerritories | ||
Boolean |
Explicitness | ||
String |
Id | ||
List<ImageData> |
Images | ||
String |
Name | ||
String |
ReleaseDate | ||
String |
URL |
Album collection with offset data.
public class KKBOX.OpenAPI.ServiceModel.AlbumOffsetData
: OffsetData<List<AlbumData>>API response status.
public enum KKBOX.OpenAPI.ServiceModel.APIStatus
: Enum, IComparable, IFormattable, IConvertibleEnum
| Value | Name | Summary | Example |
|---|---|---|---|
0 |
Unknow | ||
1 |
Success | ||
2 |
Failed |
Artist metadata.
public class KKBOX.OpenAPI.ServiceModel.ArtistDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
String |
Id | ||
List<ImageData> |
Images | ||
String |
Name | ||
String |
Url |
public class KKBOX.OpenAPI.ServiceModel.BaseItemDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
String |
Id | ||
List<ImageData> |
Images | ||
String |
Title |
BaseItem collection with offset data.
public class KKBOX.OpenAPI.ServiceModel.BaseItemOffsetData
: OffsetData<List<BaseItemData>>API error content.
public class KKBOX.OpenAPI.ServiceModel.ErrorDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
Int32 |
Code | Error code. | |
String |
Message | Message. |
Featured Playlists of the category.
public class KKBOX.OpenAPI.ServiceModel.FeaturedPlaylistOfCategoryDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
String |
Id | ||
List<ImageData> |
Images | ||
OffsetData<List<PlaylistData>> |
Playlists | ||
String |
Title |
Image format.
public class KKBOX.OpenAPI.ServiceModel.ImageDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
Int32 |
Height | ||
String |
Url | ||
Int32 |
Width |
KKBOX OAuth 2.0 Authorize Response.
public class KKBOX.OpenAPI.ServiceModel.KKOAuthResponseProperties
| Type | Name | Summary | Example |
|---|---|---|---|
OAuthTokenData |
Content | OAuth token data. | |
String |
ErrorMessage | Error message. | |
Exception |
Exception | ||
APIStatus |
Staus | Response status. |
New release metadata.
public class KKBOX.OpenAPI.ServiceModel.NewReleaseDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
OffsetData<List<AlbumData>> |
Albums | ||
String |
Id | ||
String |
Title |
OAuth token data.
public class KKBOX.OpenAPI.ServiceModel.OAuthTokenDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
String |
AccessToken | Access token. | |
Int32 |
ExipresIn | Expires in. | |
String |
RefreshToken | Refresh token. | |
String |
Scope | Scope. | |
String |
TokenType | Token type. |
Include PagingData Class.
public class KKBOX.OpenAPI.ServiceModel.OffsetData<T>Properties
| Type | Name | Summary | Example |
|---|---|---|---|
T |
Data | Data tag. | |
PagingData |
Paging | Paging tag. | |
SummaryData |
Summary | Summary tag. |
Ower of the Playlist.
public class KKBOX.OpenAPI.ServiceModel.OwnerDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
String |
Id | ||
String |
Name |
Paging information.
public class KKBOX.OpenAPI.ServiceModel.PagingDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
Int32 |
Limit | The size of one page. | |
String |
Next | ||
Int32 |
Offset | The index offset for first element. | |
String |
Previous |
Methods
| Type | Name | Summary | Example |
|---|---|---|---|
Boolean |
IsEnd() | Is to the last data. | |
Int32 |
NextOffset() | Get next offset. |
Indicated API response.
public class KKBOX.OpenAPI.ServiceModel.ParseResult<T>Properties
| Type | Name | Summary | Example |
|---|---|---|---|
T |
Content | API response content. | |
ErrorData |
Error | API error content. |
Playlist metadata.
public class KKBOX.OpenAPI.ServiceModel.PlaylistDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
String |
Description | ||
String |
Id | ||
List<ImageData> |
Images | ||
OwnerData |
Owner | ||
String |
Title | ||
OffsetData<List<TrackData>> |
Tracks | ||
String |
UpdateAt | ||
String |
Url |
Playlist collection with offset data.
public class KKBOX.OpenAPI.ServiceModel.PlaylistOffsetData
: OffsetData<List<PlaylistData>>Search result.
public class KKBOX.OpenAPI.ServiceModel.SearchResultDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
OffsetData<List<AlbumData>> |
Albums | Album data collection. | |
OffsetData<List<ArtistData>> |
Artists | Artist data collection. | |
PagingData |
Paging | ||
OffsetData<List<PlaylistData>> |
Playlists | Playlist data collection. | |
SummaryData |
Summary | ||
OffsetData<List<TrackData>> |
Tracks | Track data collection. |
The type of search. Default to search all types.
public enum KKBOX.OpenAPI.ServiceModel.SearchType
: Enum, IComparable, IFormattable, IConvertibleEnum
| Value | Name | Summary | Example |
|---|---|---|---|
0 |
artist | ||
1 |
album | ||
2 |
track | ||
3 |
playlist |
Station metadata.
public class KKBOX.OpenAPI.ServiceModel.StationDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
String |
Categroy | For Genre station. | |
String |
Id | ||
List<ImageData> |
Images | For Moog station. | |
String |
Name | ||
OffsetData<List<TrackData>> |
Tracks |
Station data collection.
public class KKBOX.OpenAPI.ServiceModel.StationListDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
String |
Paging | ||
List<StationData> |
Stations | Station collection. | |
String |
Summary |
Station collection with offset data.
public class KKBOX.OpenAPI.ServiceModel.StationOffsetData
: OffsetData<List<StationData>>Summary metadata.
public class KKBOX.OpenAPI.ServiceModel.SummaryDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
Int32 |
Total |
The type of territory.
public enum KKBOX.OpenAPI.ServiceModel.TerritoryType
: Enum, IComparable, IFormattable, IConvertibleEnum
| Value | Name | Summary | Example |
|---|---|---|---|
0 |
TW | Taiwan | |
1 |
HK | Hong Kong | |
2 |
SG | Singapore | |
3 |
MY | Malaysia | |
4 |
JP | Japan |
Track metadata.
public class KKBOX.OpenAPI.ServiceModel.TrackDataProperties
| Type | Name | Summary | Example |
|---|---|---|---|
AlbumData |
Album | ||
List<String> |
AvailableTerritories | ||
Nullable<Double> |
Duration | ||
Boolean |
Explicitness | ||
String |
Id | ||
String |
Name | ||
Int32 |
TrackNumber | ||
String |
URL |
Track collection with offset data.
public class KKBOX.OpenAPI.ServiceModel.TrackOffsetData
: OffsetData<List<TrackData>>