Hey. now I'm using apple music api to collect music informations. but I've noticed that I couldn't get the featured artists information from a song.
guess there's a song Foo - Bar (Feat. Baz)
.
In spotify API, we can retrieve featured artist information something like this:
{
// ...
"artists": [
"Foo", // <-- primary artist
"Baz" // <-- featured artist
]
// ...
}
but as I see in documentation, there is no API (or relationship with a song) for get all the artists (including featured artists) of a song.
GET https://api.music.apple.com/v1/catalog/kr/songs/1544411971
{
"data": [
{
// ...
"attributes": {
// ...
"name": "36.5 (feat. Hwaji)",
// ...
},
"relationships": {
// ...
"artists": {
"href": "/v1/catalog/kr/songs/1544411971/artists",
"data": [
{
"id": "1297171788",
"type": "artists",
"href": "/v1/catalog/kr/artists/1297171788"
}
]
}
}
}
]
}
as you can see here, there's only one artist relationship object in artists.data
array even if the target song have featuring artist.
Is there any way to get featured artists information of a song?