artist_getTopAlbums: Get the top albums for an artist.

Description Usage Arguments Value Examples

Description

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

Usage

1
2
artist_getTopAlbums(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 albums.

Examples

1
2
3
4
## Not run: 
artist_getTopAlbums("Andrew Bird")

## End(Not run)

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