user_getTopArtists: Get the top artists listened to by a user.

Description Usage Arguments Value Examples

Description

Get the top artists listened to by a user. You can stipulate a time period. Sends the overall chart by default. Implementation of last.fm's user.getTopArtists API method (http://www.last.fm/api/show/user.getTopArtists).

Usage

1
user_getTopArtists(user, period = NA, limit = NA, page = NA)

Arguments

user

The user name to fetch top artists for.

period

overall | 7day | 1month | 3month | 6month | 12month - The time period over which to retrieve top artists for.

limit

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

page

The page number to fetch. Defaults to first page.

Value

A list of the top artists listened to by a user.

Examples

1
2
3
4
## Not run: 
user_getTopArtists("platyjus")

## End(Not run)

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