2.0.0 • Published 10 years ago

leisurelink-hub-client v2.0.0

Weekly downloads
2
License
MIT
Repository
github
Last release
10 years ago

LeisureLink Hub Client

Node client to ease development against the Public API

CircleCI

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
  });

API