leisurelink-hub-client
v2.0.0
Published
A client for LeisureLink's hub API
Downloads
2
Readme
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
});