Skip to content

Metalives SDK

It's the easiest way to integrate you application with for making

Getting started

To start a use metalives sdk, first install the package:

npm install metalives-sdk-demo

In a JS file, import and use it:

import { Metalives } from "metalives-sdk"
import dotenv from 'dotenv'

dotenv.config();

const client = new Metalives(process.env.SDK_TOKEN);

const allLives = await client.live.getLives();

console.log(allLives);

And to configure sdk you need to add a single token used to initialize the objects. This token will be sent by manager of product.