album.getInfo {RLastFM}R Documentation

API call to album.getInfo

Description

API call to album.getInfo

Usage

album.getInfo(album = NA, artist = NA, mbid = NA, key = lastkey, parse = TRUE)

Arguments

album Name of the album, in quotes
artist Name of the artist, in quotes
mbid Optionally, use the album mbid instead of album and artist
key API key, defaults to global variable lastkey
parse Parse the returned XML into a list?

Value

If parse = TRUE,

album name of the album
artist name of the artist
mbid mbid for the album
releasedate album release date
listeners reported number of listeners
playcount reported playcount

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=290

Examples


res = album.getInfo(album = "Yankee Hotel Foxtrot", artist = "Wilco")

#res$releasedate
#[1] "17 Feb 2004"

[Package RLastFM version 0.1-4 Index]