Back to store

Dance-Tunes Public API

This page describes the API for Dance-Tunes topic-by-topic. The API serves as an interface between the database and the client front-end. The language used is XML over HTTP. In the near future we will expand the possibilities of this API. You can think of cart/buy functionality, rss feeds, etc.


Request a Dance-Tunes Open API key

Please login before requesting a Dance-Tunes Open API key.

download documentation in PDF

Inspiration

Here are some suggestions


Made with flickr
Create a mashup of the vast photo library of Flickr and Dance-Tunes' extensive music catalogue.

Add previews of tracks to pictures of your favorite DJ's and artists photos on Flickr to hear the sound an artist or DJ represents.


Made with facebook
Create a Facebook widget that shows the hottest Dance-Tunes on your Facebook profile.

Use the Dance-Tunes chart to stay up to date on the best dance music right in your Facebook page. Spice up a fan page by adding a player that plays previews of tracks by your favourite artist.


Made with googlemaps
Create a mashup with Google Maps to show famous DJ's and Artists on the world map and play their tracks.

Get a feel for each countries individual sound by playing local Artists tunes on the map. Which country fits your taste best?

Get_album_info

Retrieves the information about an album and the associated tunes. The first part consists of specific information about the album itself. After this, all tracks on the album are returned, in the same way as they are returned for get_tune_info.

In
<cmd>get_album_info</cmd>
<session>H0RPJ3HJBVEEOF93XZKU</session>
<alb_id>7</alb_id>
Out
<?xml version="1.0" encoding="UTF-8"?> 
<reply>
<album>
<album_info>
   <alb_id>1</alb_id> 
   <release_date>14-10-2004</release_date> 
   <date_added>01-02-2005</date_added> 
   <art_id>99</art_id>
   <art_name>Benjamin Bates</art_name> 
   <lab_id>9</lab_id>
   <lab_name>DutchBad Records</lab_name> 
   <gen_name>Tech-house</gen_name> 
   <title>Album div</title> 
</album_info>
<album_tracks>
   <tune>
      <track_nr>1 </track_nr> 
      See: get_tune_info
   </tune>
   <tune>
      <track_nr>2 </track_nr> 
      See: get_tune_info
   </tune>

</album_tracks>
</album>
<security>
   <session>H0RPJ3HJBVEEOF93XZKU</session>
</security>
</reply>