<?php
// Sign up for your feee API key at: http://developer.yahoo.com/music/
$apiKey="[YOUR API KEY HERE]";
require_once("PhpYahooMusicApi.inc.php");
$yahooMusicApi=new YahooMusicApi($apiKey);
$artistInfo=$yahooMusicApi->searchArtist($artistName);
$trackInfo=$yahooMusicApi->searchTrack($trackName);
$trackInfo=$yahooMusicApi->getTrackInfo($trackId);
$tracksByArtistInfo=$yahooMusicApi->getTracksByArtist($artistId);
$releaseInfo=$yahooMusicApi->getReleaseInfo($releaseId);
?>
|