fxb / javascript-last.fm-api

last.fm API bindings for JavaScript
http://lastfm.felixbruns.de/javascript-last.fm-api/
308 stars 53 forks source link

playlist.fetch unusable? Can you provide any explanation? #8

Closed netpoetica closed 11 years ago

netpoetica commented 11 years ago

I'm having trouble getting playlist.fetch to work, and the documentation on LastFM is scarce. I keep receiving error code 7 "invalid resource", but I can't figure out the correct params because there is no documentation on lastFM API docs. Do you have any example by any chance?

netpoetica commented 11 years ago

I was able to sort this out based on this document: http://www.inside-r.org/packages/cran/RLastFM/docs/playlist.fetch

The param name is "playlistURL" and the value is "lastfm://playlist/"+PLAYLIST_ID - man those lastFM docs are awful.

Thanks a ton for this API!