Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 714 Bytes

README.md

File metadata and controls

49 lines (33 loc) · 714 Bytes

RTV client

Remote TV management Node.js client

Install

npm install rtv-client

Import

Node.js:

const RTVClient = require('rtv-client');

Browser:

As ES-module:

import RTVClient from 'rtv-client';

Usage

const config = {
  apiUrl: 'http://localhost:3000/api',
};

const client = new RTVClient(config);
console.log(await client.tv.list());