Lyric Search CFC Wrapper
Project Home • Blog • External Project Link • Contact Project
Developed as a standalone package, but with the intention to merge with other components to create a mashup of data, the lyricsSearch CFC wrapper was developed to interact with the lyricsfly.com database API.
Lost for words? Unsure exactly what it is that your favourite artist is singing? Perhaps you just want to sing along to a track, or add this functionality into your existing music-based applications.
This package will work well with the Spotify API or Last FM projects, also available on riaforge.
Easy to use
Two simple methods
1) searchArtistTitle - search for a song by the artist AND track title
2) searchLyric - search for a song by querying a lyric string to find all matches
The API itself only returns an XML response. This wrapper has been developed to also return a JSON format, if required.
Debugging is easy, and you can return data as a literal string, or in a structural format (parsed XML or structured JSON)
Access requires a permanent API key, which can be obtained from http://lyricsfly.com/api/, however they offer free 'weekly' temporary keys to use when testing and implementing the code, also available from http://lyricsfly.com/api/.
ColdFusion 8 +
Adobe and the Adobe product names are either registered trademarks or trademarks of Adobe Systems Incorporated in the United States and/or other countries.