Skip to content

sirLisko/setlistfm-parser

Repository files navigation

Setlist.fm Parser

Test Status Coverage Status

A Promises based parser for https://www.setlist.fm.

Methods

setList.getTracks(artist)

Return all the tracks played by an artist, in the last year of gigs.

Example

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
}

API key

A SetListFM API key is needed.

export SETLISTFMAPIKEY={token}

About

A Promises based parser for http://www.setlist.fm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published