Description Usage Arguments Value Examples
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)
1 2 | 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.
1 2 3 4 | ## Not run:
track_getInfo("King Kunta", "Kendrick Lamar")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.