user.getRecentTracks {RLastFM}R Documentation

API call to user.getRecentTrack

Description

API call to user.getRecentTrack

Usage

user.getRecentTracks(username, limit = NA, key = lastkey, parse = TRUE)

Arguments

username username
limit limit of tracks to return
key API key, defaults to global variable lastkey
parse Parse the returned XML into a list?

Value

If parse = TRUE,

track track title
artist artist
album album
artmbid artist mbid
albmbid album mbid
date date of play

If parse = FALSE, a object of type "XMLInternalDocument" and "XMLAbstractDocument"

Note

API is sensitive to spelling.

Author(s)

Greg Hirson <ghirson@ucdavis.edu>

References

http://www.last.fm/api/show?service=278

Examples


#last scrobble date:
user.getRecentTracks("monkeycatfm")$date[1]

[Package RLastFM version 0.1-4 Index]