setlist.fm API Wrapper for Node.js
This is an easy implementation of the setlist.fm API for Node.js and React. To start right away enter the following lines to your command line:
npm install setlistfm-js --save
This wrapper covers the brand new API of setlist.fm. To use the API, you need an API key of setlist.fm. You can apply for an API key here: https://www.setlist.fm/settings/api (Please note that you need an setlist.fm account to procede)
Function Reference
One quick information before we start: The whole wrapper is written for a Promise based implementation. And another thing: The whole documentation for the API can be found here, so if you have any questions about allowed search parameters this is your destination: https://api.setlist.fm/docs/1.0/index.html#resources
Okay, enough said - let's code!
Setup
var setlistfmClient = key: "" // Insert your personal key here format: "json" // "json" or "xml", defaults to "json" language: "de" // defaults to "en";
Get Artist Profile
setlistfmClient ;
Get Setlists of Artist
setlistfmClient ;
Get City
setlistfmClient ;
Search for Artists
setlistfmClient ;
Search for Cities
setlistfmClient ;
Search Countries
setlistfmClient ;
Search for Setlists
setlistfmClient ;
Search for Venues
setlistfmClient ;
Get Setlist by specific Version
setlistfmClient ;
Get Setlist
setlistfmClient ;
Get User
setlistfmClient ;
Get Concerts a User has attended to
setlistfmClient ;
Get Setlists a User has edited
setlistfmClient ;
Get Venue
setlistfmClient ;
Get Setlists of a Venue
setlistfmClient ;