|
<
>
Recently downloaded:
|
|||||
|
|
mtrack2 » download | Added about 1 year ago |
|
Miguel Prado - Hoste » download | Added 5 months ago |
|
Endlos - Hast du viele hast... » download | Added 5 months ago |
We just launched the Audiofarm Data API (ADA). This makes online information about people, connections and audiofiles easily available and useful for developers. Developers can query this public information to offer their users dramatically streamlined functionality and other useful features.
Copyright © 2007-2008 Audiofarm
This document is intended for programmers who want to write client applications that can interact with Audiofarm. It provides examples of basic operations using raw HTTP and XML, with explanations.
This document assumes that you understand the general ideas behind the HTML, XML, RDF APIs protocol. Since none of the feeds described in this document require authentication, you can try them out using your favorite browser. If you're using a UNIX system and want to see the raw feeds, you may find the UNIX command-line utilities curl or wget useful. For more information, see the manual pages for these utilities.
The Audiofarm Data API (ADA) provides numerous feeds that return a list of audiofiles, such as standard feeds, related audiofiles, user's audiofiles. For example, the user's audiofiles feed returns all audiofiles uploaded by a specific user. All the feeds described in this section are "audiofile feeds"—feeds that return lists of audiofiles.
When you send that GET request, Audiofarm returns an HTTP 200 OK status code and a feed containing all the audiofiles that match the request.
To retrieve the list of audiofiles uploaded by a user named "stereofloat" send an HTTP GET to the following URL. Querying a Audiofarm feed does not require authentication.
GET http://www.audiofarm.org/stereofloat/api/audiofiles
To retrieve a signle audiofile with the ID "123" send an HTTP GET to the following URL.
GET http://www.audiofarm.org/123/api/audiofile
To retrieve related audiofiles for an audiofile ID "123" send an HTTP GET to the following URL.
GET http://www.audiofarm.org/123/api/audiofile/related
The Friend of a Friend (FOAF) project is creating a Web of machine-readable pages describing people, the links between them and the things they create and do. [ read more here. ]
To retrieve information for a user "stereofloat" send an HTTP GET to the following URL.
GET http://www.audiofarm.org/stereofloat.rdf
Audiofarm Communities:
|
|
Do you want to be part of the family? Send us an e-mail. Contact Information. |