show-finder
Find all Phish shows in given a date range.
Obtainage
npm install show-finder
Module Interface
find(options, callback) → undefined
options
{Object} - [required] date and apikey optionsfrom
{String|Number} - [optional] the start date. Can be a string in the form 'YYYY', 'YYYY-MM', 'YYYY-MM-DD' or a four digit number representing a year. If not supplied, will default to the earliest possible year, which is 1983.to
{String|Number} - [optional] the start date. Can be a string in the form 'YYYY', 'YYYY-MM', 'YYYY-MM-DD' or a four digit number representing a year. If not supplied, will default to the current datepnetApikey
{String} - [required] your pnet API key to be passed to pnet module
callback
{Function} - [required] the function to be called when the requests complete. It will be passed two arguments, the first being an error if one occurred ornull
, the second being an object whose keys are years mapped to an array of shows.
Examples
var showFinder = ;showFinder; showFinder;