Bartek Pawlak
Bartek Pawlak

Reputation: 41

Can I access album's cover art with Musixmatch API?

In the Musixmatch API documentation it is said

Get an album from our database: name, release_date, release_type, cover art.

In the JSON response example there is also "album_coverart_100x100", but when I'm making an API call, in the response there is no image availible.

Upvotes: 4

Views: 562

Answers (1)

Amith
Amith

Reputation: 11

You can get an album art field as the response of album.get, but not from track.search. So if you're trying to show the album art for a result that the user has searched for, you might want to make another api call to album.get and get the value of the key album_coverart_100x100 for the url of the album art.

Upvotes: 1

Related Questions