Genius-API

RapGenius API as a Service

And if you don't know, now you know...

What is it?

Genius-API (aka G-API) is a very simple REST API that enables you to obtain information from RapGenius, ranging from artist details to song lyrics along with their explanations.
It leverages on RapGenius-JS, a node.js library I created sometime ago to get information from RapGenius, as they don't provide a public API.
The API is still very much in beta phase and so keep cool if things don't always work. I'll try fix all discovered issues.

How do I use it?

Get Artist information

Just hit the following POST endpoint http://genius-api.com/api/artistInfo with the name of the artist you are searching and a genre (rock or rap only for now).
The example below shows you how it's done!
curl -d 'name=Bruce Springsteen' -d 'genre=rock' 'http://genius-api.com/api/artistInfo'

Get Song information

Call the POST endpoint http://genius-api.com/api/songInfo with the name of the song you are searching and a genre (rock or rap only for now).
See how we do it:
curl -d 'name=Liquid Swords' -d 'genre=rap' 'http://genius-api.com/api/songInfo'

Get Lyrics information

Hit the POST endpoint http://genius-api.com/api/lyricsInfo with the link of the song you are searching (you can get this from the songInfo call) and a genre (rock or rap only for now).
Check it out:
curl -d 'link=http://rapgenius.com/Gza-liquid-swords-lyrics' -d 'genre=rap' 'http://genius-api.com/api/lyricsInfo'