LyricWiki is an excellent free service providing song lyrics. A la wikipedia for song lyrics. One cool feature is that the site uses nuSOAP to provide a web services interface for fetching lyrics. Wrote a small PHP class with the help of WSF/PHP which will give a simpler interface. Grab it here (make sure to rename it to .php).
Here’s a few method calls,
Getting song of the day should be easy. getSOTD() method returns an array, song title, artist and the lyrics. Let’s just fetch the song and display only the lyrics.
getSOTD();
print $song['lyrics'];
?>
Ok, let’s try to fetch lyrics of a song you know,
getSong('iron & wine', 'boy with a coin');
?>
Pingback: Fetching music from LyricWiki « nrdLabs