Services_MusicBrainz Package: Request for contributors

From: Date: Sun, 16 Apr 2006 17:26:20 +0000
Subject: Services_MusicBrainz Package: Request for contributors
Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42251@lists.php.net to get a copy of this message
Hello, I'm a developer with http://calabashmusic.com. We want to create a web service client for MusicBrainz to-be released web service. (http://wiki.musicbrainz.org/XMLWebService). It uses a REST interface and lends itself to the pattern used by Martin Jansen's Yahoo service because it returns various types of content. The interesting part is that these content types (artists, releases, tracks, etc) are inter connected. So the process would be something like: $artistReq=& Services_MusicBrainz::factory("artist"); $artistReq->name = "beatles"; $artists = $artistReq->send(); /** * $artists is now an iterator object which will iterate through objects translated from MB's schema. * Each result has a score for testing match to artist name, or whatever criteria is used **/ foreach($artists as $artist) { if($artist->score > 90) {
     $releaseReq = & Services_MusicBrainz::factory("release");
     $releaseReq->releasetype = "Compilation";
     $releaseReq->artistid = $artist->id;
      $albums =       $releaseReq->send();
     echo $albums[0]->title //Past Masters, Volume One, see (http://musicbrainz.org/ws/1/artist/b10bbbfc-cf9e-42e0-be17-e2c3e1d2600d?type=xml&inc=sa-Album) 
} } But all of this is just a guess... This is my first attempt at contributing to PEAR and if I could find angels to help me with the following, I'd by mighty obliged: 1. People interested in coding this. 2. People interested in writing tests for it. 3. People willing to help with docs. Thanks, Jacob P.S. Bounty for major contributors! Free downloads at http://calabashmusic.com!

« previous php.pear.dev (#42251) next »