1.9.1 • Published 9 months ago

ivao.js v1.9.1

Weekly downloads
-
License
GNU General Publi...
Repository
github
Last release
9 months ago

IVAO.js

Ivao.js is a module that incorporates the entire IVAO api. This module can be used with an api key and with the new oauth2 system.

NOTE: Versions below 1.9.0 do not work!

Installation

Install my-project with npm

  npm install ivao.js
  cd my-project

OAuth 2.0

To obtain access to the new oauth system, please follow the HQ documentation.

Usage/Examples

With APIKey:

import { Client } from 'ivao.js/lib';

const client = new Client({
    type: 'apiKey',
    apiKey: 'YOUR_API_KEY'
});

With OAuth2.0:

import { Client } from 'ivao.js/lib';

const client = new Client({
    type: 'oauth2',
    client_id: 'YOUR_CLIENT_ID',
    secret_id: 'YOUR_SECRET_ID'
});

Roadmap

  • Add more routes

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

License

GPL-2.0

Authors

1.9.1

9 months ago

1.9.0

9 months ago

1.8.5

9 months ago

1.8.0

9 months ago

1.7.0

9 months ago

1.6.0

9 months ago

1.5.0

10 months ago

1.4.0

11 months ago

1.3.5

11 months ago

1.3.0

11 months ago

1.2.0

11 months ago

1.1.0

11 months ago

1.0.0

11 months ago

0.0.1

12 months ago