0.4.12 • Published 1 year ago

tablo-api v0.4.12

Weekly downloads
3
License
MIT
Repository
github
Last release
1 year ago

tablo-api

tablo-api provides a simple API module to interact with Tablo DVRs. It was developed to be used with Node/Electron - it may work in the browser, though ymmv.

Installation

Install with npm

  npm install tablo-api

or with yarn

  yarn add tablo-api

Usage

In Node:

const {Tablo} = require('tablo-api');

const Api = new Tablo();

const devices = Api.discover();

Api.device = { private_ip: "192.168.1.100" }
 
const serverInfo = Api.getServerInfo();

const recordings = Api.get('/recordings/airings');

Development

After you've cloned this repo, there are some built-in commands to aid in development:

Build the package - outputs built files to ./dist/. These are the ones that will ultimately end up in the pacakage.

npm run-script build

or

yarn build

Linter - runs standard lint checks to keep code clean.

npm run-script lint

or

yarn lint

Formatter - formats the code in place for consistency.

npm run-script format

or

yarn format

Licence

MIT

0.4.12

1 year ago

0.4.10

2 years ago

0.4.11

2 years ago

0.4.9

3 years ago

0.4.8

3 years ago

0.4.7

4 years ago

0.4.3

4 years ago

0.4.2

4 years ago

0.4.1

4 years ago

0.4.0

4 years ago

0.3.6

4 years ago

0.3.5

4 years ago

0.3.4

4 years ago

0.3.3

4 years ago

0.3.2

4 years ago

0.3.1

4 years ago

0.3.0

4 years ago

0.2.1

4 years ago

0.2.2

4 years ago

0.2.0

4 years ago

0.1.0

4 years ago

0.0.4

4 years ago

0.0.3

4 years ago

0.0.2

4 years ago