evecloud-sdk
TypeScript icon, indicating that this package has built-in type declarations

3.0.4 • Public • Published

EveCloud JavaScript SDK

JavaScript client for the EveCloud API

npm GitHub DeepSource npm

Installation

Node.js

npm install evecloud-sdk

Browser

EveCloud CDN:

<script src="https://cdn.evecloud.xyz/sdk/bundle.js"></script>

unpkg CDN:

<script src="https://unpkg.com/evecloud-sdk@latest/dist/bundle.js"></script>

Usage

Most endpoints require authentication, either with an Access Token or API Token. EveCloud SDK provides a simple way to set the token for all requests.

const { setToken } = require('evecloud-sdk');

setToken('my-token');
/** index.js */

const { setToken, Account } = require('evecloud-sdk');

setToken('access-token');

Account.getInfo().then((data) => {
    console.log(data.username);
});

Package Sidebar

Install

npm i evecloud-sdk

Weekly Downloads

113

Version

3.0.4

License

MIT

Unpacked Size

98.5 kB

Total Files

27

Last publish

Collaborators

  • hiekki4