Managed Hosting



Lyric Search CFC Wrapper
Project Home Blog External Project Link Contact Project

Author: Matt Gifford aka coldfumonkeh (All RIAForge projects by this author)
Last Updated: July 7, 2010 7:46 AM
Version: 1.0
Views: 11,118
Downloads: 669
License: Apache License, Version 2


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 +