Links

Start with the NPM module

Installation

You can simply install dependence on your project from NPM:
$ npm install night-api

Start

Importation

// ES6 (includes typings)
import { NightAPI } from 'night-api';
// CommonJS
const { NightAPI } = require('night-api');

Initialization

To use the API, you need an authentication key that you can get by connecting or register to Night-API
const api = new NightAPI('YOUR_API_KEY');