Super Shiny Beta API!! will Dec. 31
Last summer the idea of getting a nice API knocked up grabbed my attention again after reading Wikinomics, and I realised that if we could get one out fairly quickly we would be the first electronic download store to have such a thing. I scribbled down all the calls I wanted, and a rough outline of the architecture whilst lounging in the sun in northern France, and figured we could probably knock up a beta fairly quickly after summer.
It took a little longer to get around to than I'd hoped, but yesterday we deployed a really nice new API for the store, one that should be really usable. It feels totally the right kind of thing for us to do right now, as it helps us to be even more open and transparent with the community, which is what we are all about. I'm kinda surprised we were the first store of our kind to do this, but I think that just shows how most stores really don't understand what the web is all about.
Anyhow let's have a bit of a play with the API. First of all we need to register an application at http://www.digital-tunes.net/affiliates/new. Then we can use the key generated for us to make calls, it's as simple as that.
So, being a scatalogical fellow, lets try and find some real shit from the store with the following call:
http://api.digital-tunes.net/releases/search/shit%20music?key=xxxxxxxxxxxxxxx
This finds a suitably pooey release, some dodgy italian rap one of our distributors dumped on us: http://www.digital-tunes.net/releases/rapper_italiano
Im also a fan of animals so lets search for some animal tracks:
http://api.digital-tunes.net/tracks/search/zebra?key=xxxxxxxxxxxxxxxxxxxxxxxx
Aha, Mr Zebra by Men in Slippers, that sounds interesting! Actually a nice little minimal number, sweet !
Anyhow enough of my stupid examples, check out the documentation at http://code.google.com/p/digitaltunesapi/ and have a play!
Commentary (3)