library.getAlbums {RLastFM} | R Documentation |
API call to library.getAlbums
library.getAlbums(username, limit = NA, page = NA, key = lastkey, parse = TRUE)
username |
Username, in quotes |
limit |
Number of albums to return. Default/max = 50. |
page |
Page number to start, given limit per page. |
key |
API key, defaults to global variable lastkey |
parse |
Parse the returned XML into a list? |
If parse = TRUE,
album |
Names of albums |
artist |
Names of artists |
playcount |
album playcount |
albmbid |
Album mbid |
artmbid |
Artist mbid |
If parse = FALSE, a object of type "XMLInternalDocument" and "XMLAbstractDocument"
API is sensitive to spelling errors.
Greg Hirson <ghirson@ucdavis.edu>
http://www.last.fm/api/show?service=321
library.getAlbums("monkeycatfm")$artist[1] #[1] "De La Soul" library.getAlbums("monkeycatfm")$playcount[1] #[1] 436