1.2.1 • Published 11 years ago
songkick-wrapper v1.2.1
songkick-wrapper 
A node.js wrapper around songkick's API.
Installation
Install using npm:
npm install songkick-wrapperOr clone the GitHub repo:
git clone https://github.com/suhdev/songkick-wrapper.gitUsage
After installing/cloning the module, you can open a node console:
nodeand import the module:
var Songkick = require("songkick-wrapper");If GitHub repo was used then:
var Songkick = require("PATH TO YOUR INSTALLATION");Create an instance of SongKick using the factory method passing your API key:
var songKick = SongKick.create("<YOUR API KEY>");
songkick.getEventDetails("EVENT_ID","DATA_TYPE");The returned results
SongKick responses have the following structure:
{
"resultsPage":{
"results":{
}
}
}The module returns the 'resultsPage' skipping the outer wrapper object for convenience. See below:
{
"results":{
}
}For more details documentation, have a look at the API's reference
You can request an API key at songkick's website.
Feel free to add/change/use the module in anyway you want. :D
Copyright
Copyright (c) 2015 Suhail Abood