track.getInfo {RLastFM} | R Documentation |
API call to track.getInfo
track.getInfo(track = NA, artist = NA, mbid = NA, key = lastkey, parse = TRUE)
track |
track title |
artist |
artist name |
mbid |
optionally, artist MBID |
key |
API key, defaults to global variable lastkey |
parse |
Parse the returned XML into a list? |
If parse = TRUE,
track |
track title |
artist |
artist name |
playcount |
reported playcount |
listeners |
reported number of listeners |
album |
album title |
position |
track position |
duration |
track duration |
artmbid |
mbid for the artist |
albmbid |
mbid for the album |
id |
LastFM ID |
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=356
track.getInfo("Video Killed the Radio Star", "The Buggles")$playcount #[1] 484685