← Underholdning

Kunstnerdetaljer

GET /music/artist/:id

Hent detaljerede oplysninger om en specifik musikkunstner efter deres Deezer-ID, inkl. navn, fanantal, albumantal, topnumre og kunstnerbillede. Nyttigt til opbygning af kunstnerprofilsider, diskografibrowsere og musikanbefalingsfunktioner, der har brug for detaljerede kunstnermetadata.

Parametre

id påkrævet

Artist ID

Eksempelforespørgsler

Grundlæggende brug
curl https://nordapi.ee/api/v1/music/artist/1
Artist with ID 1
curl https://nordapi.ee/api/v1/music/artist/1
Eminem artist profile
curl https://nordapi.ee/api/v1/music/artist/13
Daft Punk artist profile
curl https://nordapi.ee/api/v1/music/artist/27

Livesvar

{
  "data": {
    "albums": 45,
    "fans": 8009625,
    "id": 1,
    "link": "https://www.deezer.com/artist/1",
    "name": "The Beatles",
    "picture": "https://cdn-images.dzcdn.net/images/artist/fe9eb4463ea87452e84ed97e0c86b878/1000x1000-000000-80-0-0.jpg"
  },
  "success": true
}