[mb-devel] php and xml webservices

Gerrit Kuilder gerrit at kuilder.net
Sat Apr 21 10:28:10 UTC 2007


Hello All,

I am not sure if this has been brought up or discussed before so 
apologies if this is the case.

I am not such an experienced php/oop programmer and have been searching 
for php code that uses the muscibrainz webservices.
I also have been looking at the wiki for webservices but have some 
problems understanding what is possible and what is returned.

I would like to be able to use the musicbrainz webservices for verifying 
my music collection for example make sure every album/track has the 
correct spelling/title.  Verifying mp3 id's etc.

The only existing php class uses the old rdf interface, wich is 
depreciated I believe.

Why PHP? I play my music through a web interface (Zina) and am working 
on something similar myself. I would like to enhance my data with 
information from musicbrainz.

I think the best way to start of is a basic transformation from the xml 
data with xsl to html to get at least a feeling for what information is 
available.

so get an ID of an artist and display the most complete information as html.
Sofar This has has given me the most information on an artist(artist is 
Tory Amos)

http://musicbrainz.org/ws/1/artist/c0b2500e-0cef-4130-869d-732b23ed9df5?type=xml&inc=url-rels+20artist-rels+release-rels

My questions are:
How do I get the most extensive information on a CD/Album/release 
assuming I get the ID
Is there a collection of webservice examples around to play with?
Other php classes/examples?
Am I doing that has been done before?

Regards,

Gerrit Kuilder





More information about the MusicBrainz-devel mailing list