track.getSimilar {RLastFM} | R Documentation |
API call to track.getSimilar
track.getSimilar(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 |
duration |
track duration |
match |
extent of match statistic |
artmbid |
mbid for the artist |
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=319
res = track.getSimilar("Video Killed the Radio Star", "The Buggles") res$track[1] #[1] "Take On Me" res$match[1] #[1] 5.67