The three different API "methods" are referred to by /a/, /b/, and /s/. Each of these API methods are called by choosing a method, appending a search term, and adding the API key. If we encounter an error you will recieve a JSON object with an error key.
http://tinysong.com/method/query ?format=json&key=APIKey
http://tinysong.com/a/Girl+Talk+ Ask+About+Me?format=json&key=APIKey
"http:\/\/tinysong.com\/6OAB"
http://tinysong.com/b/Girl+Talk+ Ask+About+Me?format=json&key=APIKey
{
"Url": "http:\/\/tinysong.com\/6OAB",
"SongID": 13963,
"SongName": "Ask About Me",
"ArtistID": 77,
"ArtistName": "Girl Talk",
"AlbumID": 117512,
"AlbumName": "Girl Talk"
}
http://tinysong.com/s/Beethoven ?format=json&limit=3&key=APIKey
[
{
"Url": "http:\/\/tinysong.com\/7Wm7",
"SongID": 8815585,
"SongName": "Moonlight Sonata",
"ArtistID": 1833,
"ArtistName": "Beethoven",
"AlbumID": 258724,
"AlbumName": "Beethoven"
},
{
"Url": "http:\/\/tinysong.com\/6Jk3",
"SongID": 564004,
"SongName": "Fur Elise",
"ArtistID": 1833,
"ArtistName": "Beethoven",
"AlbumID": 268605,
"AlbumName": "Beethoven"
},
{
"Url": "http:\/\/tinysong.com\/8We2",
"SongID": 269743,
"SongName": "The Legend Of Lil' Beethoven",
"ArtistID": 7620,
"ArtistName": "Sparks",
"AlbumID": 204019,
"AlbumName": "Sparks"
}
]