Skip to content

viacast/central-api

Repository files navigation

yarn add @viacast/central-api
npm i @viacast/central-api
// import { CentralApi } from '@viacast/central-api';
const { CentralApi } = require('@viacast/central-api');

const api = new CentralApi({
  host: 'localhost',
  port: 4440,
  prefix: '/v1',
});

api.authLogin('key', 'password').then(async () => {
  const me = await api.userMe();
  console.log(me);
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •