Я пытаюсь найти исполнителя с помощью Apple Musi c search api, и все работает нормально, за исключением того, что мне не удалось получить изображение профиля исполнителя. Я использую ниже API для поиска исполнителей:
https://api.music.apple.com/v1/catalog/us/search?term=james+brown&limit=2&types=artists
, и я получаю ответ ниже:
{ "artists": {
"data": [
{
"attributes": {
"editorialNotes": {
"standard": "The Godfather of Soul, The Hardest Working Man in Show Business, Soul Brother Number One . . . Mountain-of-a-man nicknames, no doubt, but not one of them ever did James Brown the justice he deserved. JB\u2019s influence is so large it\u2019s plain impossible to imagine what music today would sound like without him. James didn\u2019t just master soul and funk; he invented them. From the on-bended-knee plea called \u201cTry Me\u201d straight to ground zero of the hip-hop revolution, where his screams, grunts, and funky drummer backboned every cut worth mentioning, Brown was soul power itself, an inspiration to an entire nation. Now that Mr. Dynamite has taken his last sweat-drenched shuffle offstage, we\u2019re all left like an awe-struck Apollo audience \u2014 still screaming for just one more encore while trying to take in the force of nature we were blessed to witness. James Brown\u2019s face should be on money. His likeness carved on a mountain. And, most importantly, his music played forever."
},
"genreNames": [
"R&B/Soul"
],
"name": "James Brown",
"url": "https://itunes.apple.com/us/artist/james-brown/id117118"
},
"href": "/v1/catalog/us/artists/117118",
"id": "117118",
"type": "artists"
},
{
"attributes": {
"genreNames": [
"R&B/Soul"
],
"name": "James Brown & His Famous Flames",
"url": "https://itunes.apple.com/us/artist/james-brown-his-famous-flames/id283317494"
},
"href": "/v1/catalog/us/artists/283317494",
"id": "283317494",
"type": "artists"
}
],
"href": "/v1/catalog/us/search?types=artists&term=james+brown&limit=2"
}
}
}
Пожалуйста, дайте мне знать, если вы можете мне в этом помочь.
Всем спасибо