artist_getTopTracks: Get the top tracks by an artist.

Description Usage Arguments Value Examples

Description

Get the top tracks by an artist on Last.fm, ordered by popularity. Implementation of last.fm's artist.getTopTracks API method (http://www.last.fm/api/show/artist.getTopTracks)

Usage

1
2
artist_getTopTracks(artist, mbid = NA, autocorrect = NA, page = NA,
  limit = NA)

Arguments

artist

The artist name.

mbid

The musicbrainz id for the artist

autocorrect

Transform misspelled artist names into correct artist names, returning the correct version instead. The corrected artist name will be returned in the response. [0|1]

page

The page number to fetch. Defaults to first page.

limit

The number of results to fetch per page. Defaults to 50.

Value

A list of tracks.

Examples

1
2
3
4
## Not run: 
artist_getTopTracks("The Suffers")

## End(Not run)

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