track_getInfo: Get the metadata for a track.

Description Usage Arguments Value Examples

Description

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)

Usage

1
2
track_getInfo(track, artist, mbid = NA, autocorrect = NA,
  username = NA)

Arguments

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.

Value

A list of the metadata for a track.

Examples

1
2
3
4
## Not run: 
track_getInfo("King Kunta", "Kendrick Lamar")

## End(Not run)

juyeongkim/lastfmr documentation built on June 6, 2019, 12:07 a.m.