Node Permanently Moved

    @viacast/central-api
    TypeScript icon, indicating that this package has built-in type declarations

    0.6.11 • Public • Published
    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);
    });

    Keywords

    none

    Install

    npm i @viacast/central-api

    DownloadsWeekly Downloads

    21

    Version

    0.6.11

    License

    MIT

    Unpacked Size

    109 kB

    Total Files

    29

    Last publish

    Collaborators

    • jablonski