Librefm API¶
Submitting Tracks¶
libre.fm is working towards support for the scrobbling API
Getting At Your Data¶
Syntax: RDFa¶
RDFa is currently being deployed across libre.fm's pages. This means you can use a RDFa reader to extract raw data straight from libre.fm's pages without having to resort to complicated and unreliable scraping.
If you would prefer the data in another format, libre.fm has a server-side on-the-fly RDFa converter. To get a JSON copy of the data on http://alpha.libre.fm/user/tobyink/groups, just request the following URL:
http://alpha.libre.fm/rdf.php?fmt=json&page=/user/tobyink/groups
Formats offered are:
- xml - RDF/XML data
- json - JSON (supports a "callback" parameter)
- rss - RSS-1.0-compatible RDF/XML.
- ttl - Turtle
- nt - N-Triples
Vocabularies Used¶
Primarily:
API cheat sheet¶
An incomplete quick reference to the implemented API methods
add format=json to url if you want that instead of XML