Get the metadata for a track on Last.fm using the artist/track name or a musicbrainz id. Implementation of last.fm's track.getInfo API method (http://www.last.fm/api/show/track.getInfo)
track_getInfo(track, artist, mbid = NA, autocorrect = NA, username = NA)
track | The track name. |
---|---|
artist | The artist name. |
mbid | The musicbrainz id for the track |
autocorrect | Transform misspelled artist and track names into correct artist and track names, returning the correct version instead. The corrected artist and track name will be returned in the response. [0|1] |
username | The username for the context of the request. If supplied, the user's playcount for this track and whether they have loved the track is included in the response. |
A list of the metadata for a track.
# NOT RUN { track_getInfo("King Kunta", "Kendrick Lamar") # }