0.0.6 • Published 3 years ago

@jablonski/central-api v0.0.6

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago
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);
});
0.0.6

3 years ago

0.0.5

3 years ago

0.0.4

3 years ago

0.0.3

3 years ago

0.0.2

3 years ago

0.0.1

3 years ago