A Promises based parser for https://www.setlist.fm.
Return all the tracks played by an artist
, in the last year of gigs.
var setList = require("setlist");
setList
.getTracks("the strokes")
.then(console.log)
.done();
output:
{
artist: 'The Strokes',
tracks: [
{ title: 'new york city cops', count: 4 },
{ title: 'you only live once', count: 4 },
{ title: 'the end has no end', count: 4 },
{ title: 'someday', count: 4 },
...
],
tracksTot: 72,
setsTot: 4
}
A SetListFM API key is needed.
export SETLISTFMAPIKEY={token}