@multiplay/node-sdk
v0.2.2
Published
Node SDK for the Multiplay APIs
Downloads
2
Maintainers
Readme
Multiplay NodeJS SDK
This SDK allows you to call Multiplay APIs easily from NodeJS.
Instructions
Install using your favourite package manager
npm install @multiplay/node-sdk --save
yarn add @multiplay/node-sdk
Currently, there is only the v3
api.
const Multiplay = require('@multiplay/node-sdk/v3');
const api = new Multiplay({
host: 'OPTIONAL hostname',
accessKeyId: 'fhfjkh9f89dy8uw9f98s8hdyf',
secretAccessKey: '87sd8fhf78s7df7sdf9shdfg97gs87',
});
const accountId = 389275;
const fleets = await api.listFleets(accountId);