aleplusplus / golfnow-node-js

Node.js SDK for GolfNow

Home Page:https://www.npmjs.com/package/golfnow

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Node.js SDK for GolfNow

npm npm Build Status Coverage Status

Affiliate & Partner API. An easy to use tee time search and booking service for GolfNow Affiliates & Partners.

Installation

  • Install Node.js
  • Install GolfNow SDK with npm:

npm install golfnow

Usage

var golfnow = require("golfnow");

var app = golfnow("CLIENT_ID", "CLIENT_SECRET");

var request = app.getApiRoot();

request.on('response', function(response) {
    console.log(response);
});

request.on('error', function(error) {
    console.log(error);
});

request.end();

Tests

npm test

Contributing

In lieu of a formal style guide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

About

Node.js SDK for GolfNow

https://www.npmjs.com/package/golfnow

License:MIT License


Languages

Language:JavaScript 100.0%