The Developer API give you access to make searches and retrieve lyrics
through an HTTP GET Protocol.
It allows you to search for lyrics by artist name and/or song title. All the results are in an XML file.
LyricDirectSearch
http://api.cajunlyrics.com/LyricDirectSearch.php?artist=[ARTIST]&title=[SONG TITLE]
http://api.cajunlyrics.com/LyricDirectSearch.php?id=[ID]
The Output will look like this:
<GetLyricResult xmlns="http://api.cajunlyrics.com/">
<Id> Lyrics ID </Id>
<LyricsUrl> Lyrics Page URL </LyricsUrl>
<ArtistUrl> Artist Page URL </ArtistUrl>
<Artist> Artist Name </Artist>
<Title> Song Title </Title>
<Lyric> Lyrics </Lyric>
</GetLyricResult>
|
LyricSearchList
http://api.cajunlyrics.com/LyricSearchList.php?artist=[ARTIST]&title=[SONG TITLE]
By default you will get a limit of 25 results.
You can change it to whatever you want by adding the parameter &limit=[NUMBER]
to the URL.
The Output will look like this:
<SearchLyricResultArray xmlns="http://api.cajunlyrics.com/">
<SearchLyricsResult>
<Id> ID (RESULT #1) </Id>
<LyricsUrl> Lyrics Page URL</LyricsUrl>
<ArtistUrl> Artist Page URL </ArtistUrl>
<Artist> Artist Name </Artist>
<Title> Song Title </Title>
</SearchLyricsResult>
<SearchLyricsResult>
<Id> ID (RESULT #2) </Id>
<LyricsUrl> Lyrics Page URL</LyricsUrl>
<ArtistUrl> Artist Page URL </ArtistUrl>
<Artist> Artist Name </Artist>
<Title> Song Title </Title>
</SearchLyricsResult>
<SearchLyricResultArray> |
|