@r6bros/r6-sdk-js

1.0.1 • Public • Published

Site | API |

R6 SDK - Javascript edition

The R6 SDK gives easy access to the R6 API by providing an abstraction layer and encapsulating the authentication modules.

Installation

Using yarn:

$ yarn add r6-sdk-js

Using npm:

$ npm --save i r6-sdk-js

Usage

Node.js:

import R6Api from 'r6-sdk-js'

const config = {
	apiKey: {
		key: 'your key',
		secret: 'your secret'
	},
	host: 'api.r6bros.eu'
};
const api = new R6Api(config);

const response = await api.info();

Documentation

API blueprint is available in compiled html and apib format.

ESDoc can also be generated by running the appropriate script:

$ yarn
$ yarn doc:source

Authentication

Please see the authentication docs for details.

Readme

Keywords

none

Package Sidebar

Install

npm i @r6bros/r6-sdk-js

Homepage

r6bros.eu

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

136 kB

Total Files

18

Last publish

Collaborators

  • kornele23