Unofficial extended Songsterr Client for Node.js
This package provides simplified access to public tab data of Songsterr.
Get tab info by url responds with tabInfo
getTabByUrl: function (url, callback)
Get tab info by song id responds with tabInfo
getTabBySongId: function (url, callback)
Get tab info by revision id responds with tabInfo
getTabByRevisionId: function (url, callback)
Get Latest Song Id responds with Integer
getLatestSongId: function (callback)
callback
format
function (error, response)
sample tabInfo
as response
in callback
{ title: 'Canon In C',
artist: { id: '12024', name: 'Pachelbel' },
gp5: 'http://d12drcwhcokzqv.cloudfront.net/18018423.gp5',
songId: '90818',
tabId: '163940',
revisionId: '264243' }
Check if url is valid songsterr tab. Only check if the url has the correct format, not if the tab actually exists.
isSongsterrTab: function (url, callback)