playlist.fetch {RLastFM}R Documentation

Fetch contents of a lastfm:// playlist

Description

Fetch contents of a lastfm:// playlist

Usage

playlist.fetch(playlistURL, key = lastkey, parse = TRUE)

Arguments

playlistURL playlist URL of the form lastfm://....
key API key, defaults to global variable lastkey
parse Parse the returned XML into a list?

Value

If parse = TRUE,

title track title
artist track artist

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

Examples

playlist.fetch("lastfm://playlist/album/2026126")

[Package RLastFM version 0.1-4 Index]