Метод | Описание | |
---|---|---|
ArtistPageApiService ( |
||
DoesRemoteArtistExist ( string name ) : bool | ||
GetArtistSongs ( string artistName, int count = 15, int page = 1 ) : IList |
||
GetRelatedArtists ( string remoteEntityId, int count = 5 ) : IList |
Gets related artists based on current artists
|
|
GetRemoteArtist ( string name ) : string |
Returns remote artist as JSON string
|
|
GetRemoteSong ( string remoteEntityId ) : string | ||
GetSimilarSongs ( string trackId, int count = 5 ) : IList |
||
SearchArtists ( string term, int count = 15, int page = 1 ) : IList |
||
SearchSongs ( string term, string artist = "", int count = 15, int page = 1 ) : IList |
Метод | Описание | |
---|---|---|
GetApiUrl ( string endPoint, string parameterString = "" ) : string |
Returns the API url.
|
|
ParseEchonestArtist ( JToken artist ) : string |
Parses echonest json artist data to a generic artist json data. Can have different implementation for a different API
|
|
ParseEchonestTrack ( JToken track, JToken song ) : string |
Parses echonest json track data to a generic track json data. Can have different implementation for a different API
|
public ArtistPageApiService ( |
||
thirdPartySettings | ||
cacheProvider | ICacheProvider | |
Результат | System.Collections.Generic |
public DoesRemoteArtistExist ( string name ) : bool | ||
name | string | |
Результат | bool |
public GetArtistSongs ( string artistName, int count = 15, int page = 1 ) : IList |
||
artistName | string | |
count | int | |
page | int | |
Результат | IList |
public GetRelatedArtists ( string remoteEntityId, int count = 5 ) : IList |
||
remoteEntityId | string | The entity id of artist on remote server. We store it in Artist.RemoteEntityId |
count | int | Maximum number of results to be returned |
Результат | IList |
public GetRemoteArtist ( string name ) : string | ||
name | string | The name of artist |
Результат | string |
public GetRemoteSong ( string remoteEntityId ) : string | ||
remoteEntityId | string | |
Результат | string |
public GetSimilarSongs ( string trackId, int count = 5 ) : IList |
||
trackId | string | |
count | int | |
Результат | IList |
public SearchArtists ( string term, int count = 15, int page = 1 ) : IList |
||
term | string | |
count | int | |
page | int | |
Результат | IList |
public SearchSongs ( string term, string artist = "", int count = 15, int page = 1 ) : IList |
||
term | string | |
artist | string | |
count | int | |
page | int | |
Результат | IList |