placard-api
v0.2.2
Published
Placard API client library for node.js
Downloads
15
Maintainers
Readme
Placard API
A simple placard API client library for node.js.
Installation
$ npm install placard-api
Example
const placard = require('placard-api');
placard.nextEvents((err, data)=> {
console.log(data)
})
// or
placard.nextEvents().then((data)=> {
console.log(data)
})
Documentation
- faq([callback]) -> Promise
- fullSportsBook([callback]) -> Promise
- info([callback]) -> Promise
- nextEvents([callback]) -> Promise
Tests
To run the test suite, first install the dependencies, then run npm test
:
$ npm install
$ npm test