user_getTopTracks: Get the top tracks listened to by a user.

Description Usage Arguments Value Examples

Description

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

Usage

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

Arguments

user

The user name to fetch top tracks for.

period

overall | 7day | 1month | 3month | 6month | 12month - The time period over which to retrieve top tracks 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 tracks listened to by a user.

Examples

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

## End(Not run)

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