@multiplay/node-sdk

0.2.2 • Public • Published

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);

Package Sidebar

Install

npm i @multiplay/node-sdk

Weekly Downloads

1

Version

0.2.2

License

ISC

Unpacked Size

4.59 kB

Total Files

4

Last publish

Collaborators

  • ajdaniel