2.0.0 • Published 8 years ago
leisurelink-hub-client v2.0.0
LeisureLink Hub Client
Node client to ease development against the Public API
Table of Contents
Installation
Install using NPM
npm install leisurelink-hub-client --save
Basic Usage
import LeisureLink from 'leisurelink-hub-client';
const client = LeisureLink('some-api-key');
const pmcId = '123456'
client.current.fees.all(pmcId)
.then(result => {
})
.catch(err => {
// Do soething with the error
});