user.getWeeklyChartList {RLastFM}R Documentation

API call to user.getWeeklyChartList

Description

API call to user.getWeeklyChartList

Usage

user.getWeeklyChartList(username, key = lastkey, parse = TRUE)

Arguments

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

Value

a 2 column matrix containing values for from and to. Can be passed to other user.getWeekly[xxx]Chart functions by indexing into matrix.

Note

API is sensitive to spelling.

Author(s)

Greg Hirson <ghirson@ucdavis.edu>

References

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

Examples

dates = user.getWeeklyChartList("monkeycatfm")
user.getWeeklyArtistChart("monkeycatfm", from = dates[1,1], to = dates[1,2])$artist[1]
#[1] "A Tribe Called Quest"

[Package RLastFM version 0.1-4 Index]