<    >   Recently downloaded:
mtrack2 mtrack2
» download | Added about 1 year ago
Miguel Prado - Hoste Miguel Prado - Hoste
» download | Added 5 months ago
Endlos - Hast du viele hast du keine Endlos - Hast du viele hast...
» download | Added 5 months ago

Have an account? Sign in
or Create a new account.
pixel space   

Pages

People

Explore

Music

Start

Featured News

Introducing the Audiofarm Data API (ADA)

3 February 2008

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.

Audiofarm Data API Documentation (ADA)

This version:
http://www.audiofarm.org/home/developer
Audiofarm Data API (ADA) Vocabulary Specification:
http://www.audiofarm.org/home/rdf_specs
Authors:
Konstantinos Gerodimos

Contents

Audience

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.

Retrieving audiofile feeds

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.

Retrieving audiofiles uploaded by a user

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

Retrieving a single audiofile

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)

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. ]

Retrieving (FOAF) user information

To retrieve information for a user "stereofloat" send an HTTP GET to the following URL.

GET http://www.audiofarm.org/stereofloat.rdf

Creative Commons License

All material in this page is protected by copyright law and by international treaties. You may download, copy, burn to a CD / DVD, broadcast, distribute and transmit this material. Read futher license information by clicking on the Creative Common button above.

Audiofarm Communities:

Turkish Rock

Do you want to be part of the family? Send us an e-mail. Contact Information.


Rückmeldung