user_getRecentTracks: Get a list of the recent tracks listened to by user.

Description Usage Arguments Value Examples

Description

Get a list of the recent tracks listened to by this user. Also includes the currently playing track with the nowplaying="true" attribute if the user is currently listening. Implementation of last.fm's user.getRecentTracks API method (http://www.last.fm/api/show/user.getRecentTracks).

Usage

1
2
user_getRecentTracks(user, limit = NA, page = 1, from = NA,
  to = NA, extended = 0)

Arguments

user

The last.fm username to fetch the recent tracks of.

limit

The number of results to fetch per page. Defaults to 50. Maximum is 200.

page

The page number you wish to scan to.

from

Beginning timestamp of a range - only display scrobbles after this time, in UNIX timestamp format (integer number of seconds since 00:00:00, January 1st 1970 UTC). This must be in the UTC time zone.

to

End timestamp of a range - only display scrobbles before this time, in UNIX timestamp format (integer number of seconds since 00:00:00, January 1st 1970 UTC). This must be in the UTC time zone.

extended

Includes extended data in each artist, and whether or not the user has loved each track

Value

A list of the recent tracks.

Examples

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

## End(Not run)

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