Skip to content
This repository has been archived by the owner on Sep 10, 2020. It is now read-only.

2.7 Artiste

wfortin edited this page Oct 29, 2014 · 4 revisions

GET /artists/:id

Permet d'afficher l'artiste à l'id demandé. Noter que l'id d'artiste correspond à artistId dans les resultats de recherche.

Entrée

Token d'authentification nécessaire

Aucun paramètres

Sortie

Retourne un album

http://ubeat.herokuapp.com/unsecure/artists/3941697/albums

{
resultCount: 1,
results: [
{
wrapperType: "artist",
artistType: "Artist",
artistName: "Blink",
artistLinkUrl: "https://itunes.apple.com/us/artist/blink/id3941697?uo=4",
artistId: 3941697,
amgArtistId: 144345,
primaryGenreName: "Pop",
primaryGenreId: 14,
radioStationUrl: "https://itunes.apple.com/station/idra.3941697"
}
]
}

GET /artists/:id/albums

Permet d'afficher les albums de l'artiste à l'id demandé. Noter que l'id d'artiste correspond à artistId dans les resultats de recherche.

Entrée

Token d'authentification nécessaire

Aucun paramètres

Sortie

Exemple: http://ubeat.herokuapp.com/unsecure/artists/3941697/albums