user.getWeeklyAlbumChart {RLastFM} | R Documentation |
API call to user.getWeeklyAlbumChart
user.getWeeklyAlbumChart(username, from = NA, to = NA, key = lastkey, parse = TRUE)
username |
username |
from |
from, see user.getWeeklyChartList |
to |
to, see user.getWeeklyChartList |
key |
API key, defaults to global variable lastkey |
parse |
Parse the returned XML into a list? |
If parse = TRUE,
artist |
name of the artist |
album |
name of the album |
albmbid |
mbid for the album |
playcount |
reported playcount |
If parse = FALSE, a object of type "XMLInternalDocument" and "XMLAbstractDocument"
API is sensitive to spelling.
Greg Hirson <ghirson@ucdavis.edu>
http://www.last.fm/api/show?service=279
dates = user.getWeeklyChartList("monkeycatfm") user.getWeeklyAlbumChart("monkeycatfm", from = dates[1,1], to = dates[1,2])$artist[1] #NULL