artist.getInfo {RLastFM}R Documentation

API call to artist.getInfo

Description

API call to artist.getInfo

Usage

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

Arguments

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

Value

If parse = TRUE,

artist Artist's name
mbid Artist mbid
listners Reported number os listeners
playcount Reported playcount
similar List of similar artists

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

Note

API is sensitive to spelling errors.

Author(s)

Greg Hirson <ghirson@ucdavis.edu>

References

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

Examples

res = artist.getInfo(artist = "Wilco")

#res$playcount
#[1] "21650801"

[Package RLastFM version 0.1-4 Index]