Musixmatch is a website that has lots of data on musicians, their album, songs and lyrics. They’ve created an API, which anyone can use to collect data, such as lyrics, genres, album and track metadata, and much more. The goal of this API wrapper is to facilitate using the API in R, and collecting data in a convenient fashion
Installation
Basic Usage
First, you need to get an API Key.
Get basic data
Search for specific artists
Here you can find basic information about artists that match the search term. If you specify simplify=FALSE
the result is the full XML document parsed.
Otherwise, a simplified data.frame
is returned.
Get Artist Discography
This function identifies artists using the artist_id returned from the previous function. It returns all the albums (sometimes multiple versions of an album) musixmatch has listed for an artist. You can similarly get the full XML document as a list using the simplify=FALSE
option.
Next Steps
Currently supports all methods for the musixmatch API (e.g. track.lyrics.get, album.tracks.get, artist.related..get). Not all methods have a simplify
option yet, but these options are being actively developed. Check the GitHub for updates.