1.0.0 • Published 7 years ago

burningman-api v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

burningman-api

Burning Man API wrapper

js-semistandard-style NPM Version

Use

var burningman = require('burningman-api')('api-key-goes-here');

burningman.arts(2017, function (error, arts) {
  if (error) {
    throw error;
  }

  console.log(arts);
});

burningman.art('art-uid', function (error, art) {
  if (error) {
    throw error;
  }

  console.log(art);
});

burningman.camps(2017, function (error, camps) {
  if (error) {
    throw error;
  }

  console.log(camps);
});

burningman.camp('camp-uid', function (error, camp) {
  if (error) {
    throw error;
  }

  console.log(camp);
});

burningman.events(2017, function (error, events) {
  if (error) {
    throw error;
  }

  console.log(events);
});

burningman.event('event-uid', function (error, event) {
  if (error) {
    throw error;
  }

  console.log(event);
});

License

MIT