playbasis-sdk
v1.1.0
Published
## Installation ```bash npm install playbasis-sdk ```
Downloads
187
Readme
Playbasis SDK for TypeScript
Installation
npm install playbasis-sdk
Usage
import { PlaybasisSDK } from 'playbasis-sdk';
const sdk = await PlaybasisSDK.build(<PLAYBASIS_API_KEY>, <PLAYBASIS_API_SECRET>, <PLAYBASIS_API_URL>);
sdk.setPlayerId('test');
const player = await sdk.player.getPlayer();
const result = await sdk.engine.execute('login');