I can’t explain why, at least not yet, but I’m looking for a way to search the
iTunes Music Store catalog outside of iTunes. Rumors of an iTunes-Google partnership have been flying lately, but what I really want is a webservice/API I can use. Yes, Apple offers an affiliate program that supports direct links, but again, they don’t offer an Amazon-style API to search their catalog.
All of this has me thinking about reverse-engineering the iTMS to build the webservice I’m looking for. DVD Jon made news not so long ago with PyMusique, now rewritten as SharpMusique, but even before that, Jason Rohrer released iTMS-4-all.
Rohrer’s work is more in line with what I’m trying to do, so I’m exploring that concept a little. iTMS-4-all is a simple web browsing interface to the store. Jean-Yves Stervinou explains:
iTunes 4 is a beautiful example of a “specialized browser”. It uses html to render pages with texts and pictures, but it also uses macosX standard GUI elements when appropriate. When you browse the albums/artists, iTunes in fact gets the contents of these lists from a Web server out there at Apple (phobos is its nickname). The format for these lists is XML [...]. iTunes reads this XML list then uses a standard list browser to show you the content.
Stervinou describes the entire iTunes store as a REST webservice, but one which Apple has chosen to keep private. Rohrer describes the problems of interacting with the ITMS encrypted content. He (and contributors) were successful, but Apple changed the encryption after iTunes 4.7 was released. It didn’t take long for DVD Jon to get around the change, but it (or something else, I haven’t looked yet) has disabled iTMS-4-all. Too bad, too, because there’s a lot we might be able to do with such a webservice. DownhillBattle.org contemplates some of these uses in their iTMS-4-all announcement (Jason Rohrer is somehow involved with Downhill Battle).
More reading: Free Software Magazine did some poking at iTunes, The g4tv Screensavers crew looks into iTunes Hackery, Apple does offer a very limited iTunes RSS feed generator, XMLHead looks at the structure of iTunes affiliate links, and (update) here’s some talk about the iTMS XML interface before they started encrypting it.
tags: itms, itms-4-all, itunes, itunes music store, itunes music store api, music store, music store api, pymuscique, webservice, webservices, xml
Related:
Posted August 24, 2005 by Casey
Categories: Technology. Tags: itms, itms-4-all, itunes, itunes music store, itunes music store api, music store, music store api, pymuscique, webservice, webservices, xml.
8 Comments
Comments RSS
TrackBack Identifier URI
Leave a comment
User contributed tags for this post:
itunes api (3040) - itunes store api (291) - ipod api (196) - itunes 9808 (184) - music api (167) - itunes webservice (163) - itms api (159) - itunes refresh library (158) - iTunes refresh (142) - napster api (134) - itunes music store api (132) - itune api (111) - itunes affiliate api (102) - itunes card generator (100) - itunes web service (99) - refresh itunes (95) - hack itunes store (87) - itunes code generator (86) - sharpmusique itunes 6 (86) - itune com (85) - itunes store hack (79) - itunes link generator (75) - hacking itunes store (70) - api itunes (62) - amazon music api (61) - music store api (60) - refresh itunes list (60) - itunes search api (59) - itunes javascript (58) - 9808 iTunes (58) - itunes web api (57) - apple itunes api (52) - javascript itunes (52) - itunes web services (51) - music webservice (49) - api music (48) - itunes java api (47) - iTunes Link Maker API (46) - refresh itunes library (45) - itunes refresh list (43) - phobos itunes (40) - itms-4-all (37) - itunes affiliate script (37) - search itunes store (35) - itunes store search (34) - itunes api java (32) - itune store (32) - itunes com api (31) - itunes 6 encryption (31) - itunes store browser (30) - browse itunes store (29) - how to refresh itunes (28) - itms xml (27) - itunes 6 hack (27) - hacking itunes music store (26) - itunes store web service (26) - hack itunes music store (26) - refresh itunes song list (26) - itunes refresh tags (26) - java itunes api (24) - affiliate api (23) - itunes 7 refresh library (23) - itune com api (22) - iTunes Store 9808 (22) - search API itunes music store (21) - apple phobos (21) - itunes affiliate (21) - itunes store api phobos (20) - apple music store api (20) - PyMusique itunes 6 (20) - ipod java api (20) - itune affiliate (20) - itunes refresh folder (20) - itunes api example (20) - itunes affiliate links (19) - itune javascript (19) - itunes fehler 9808 (19) - iTunes Store XML (19) - itunes refresh song list (19) - iTunes Affiliate Links Search (18) - itunes api web (18) - APPLE iTUNE COM (18) - iTunes card code generator (18) - refreshing iTunes (17) - how to hack itunes store (17) - refresh itunes music list (17) - itunes api affiliate (16) - sharpmusique video (16) - javascript itune (16) - itune java (16) - itunes link API (15) - google music api (15) - itunes link maker podcast (15) - hacking itunes 6 (15) - itunes affiliate links script (15) - iTunes API javascript (15) - itunes 6 browser hack (15) - sharpmusique itunes 7 (15) - itunes error 9808 (15) - webservice itunes (14) - msn music api (14) - ITune Java API (14) - itunes affiliate search api (14) - itunes music store web interface (14) - apple store api (14) - itunes affiliate link search (14) - itunes library api (14) - itunes refresh music list (14) - itune 9808 (14) - itunes store browse web (14) - itunes api store (14) - itunes music store (13) - sharpmusique (13) - itms hack (13) - itunes web service api (13) - itunes link maker hack (13) - itunes link maker (13) - itunes api use (13) - itunes affiliate images (13) - itunes affiliate links xml (13) - itunes 6 videos hackers (12) - ipod api java (12) - webservice music (12) - refresh library itunes (12) - iTunes link maker service (12) - iTunes Music API (12) - itunes linkmaker (12) - refresh itunes store (12) - itune api java (12) - itunes phobos api (12) - itunes java phobos (12) - iTune songs (12) - itunes store refresh (11) - itunes affiliate program api (11) - google music search api (11) - itunes music store browser (11) - amazon api music (11) - itunes webservices (11) - itune refresh library update (11) - refresh itunes music folder (11) - itunes search link affiliate (11) - itunes server api (11) - refresh itunes 7 library (11) - itunes opensearch (11) - itunes 7 refresh music (11) - itunes store in browser (11) - free itunes code generator (11) - iTunes affiliates vs Amazon affiliates (10) - itunes amazon api (10) - iTunes Refresh Library script (10) -
cpan for itms_client
As a stop-gap measure until Apple gets back to its senses, you can do what I did: Write a script that connects to the the itunes link maker (http://phobos.apple.com/WebObjects/MZSearch.woa/wa/itmsLinkMaker)
and supplies the appropriate arguments. The link structure is very simple.
Not exactly an API, but it does the job. I actually glued it together with Anazon Web Services, allowing people to select favorite albums for their member pages on my site. It works very well, with about 95% of the amazon selected albums matching up with an iTunes playlist. Pretty sweet!
Could you please tell me how can i refresh the song list in iTunes’s libarary whenever i change the content of the folder that storing the songs (mp3 for example) in the list …
Thanks
Hi How Do You Buy Itunes Songs?
You can close itunes and re-open it. Same ting happens to me if I disconnect my external harddrive that has all my music on it.
I just close itunes, make sure the external is connected and open iTunes again.
My daughter bought some tunes from your company back in june using my credit card, we cancelled the account but yet you have charged my card
$1.99 for some reason and now I have a charge for $39.47 when we hven’t used this account since then. Email me how I can see the account, It will be under the name K’Lee Hamilton
[...] http://maisonbisson.com/blog/post/10758/itunes-music-store-api [...]
Joseph>
Do you have the code anywhere to parse the search results? I’m actually looking to have individual songs linked to the appropriate iTunes song for download. Want to automate the Affiliate Program process.
I still can’t believe there isn’t an API for this.
Apple, get your head out of your asses! This would be a GREAT addition for you guys!