txlege-camera-status

1.0.0 • Public • Published

TXLege Camera Status

A quick script that attempts to confirm whether a Texas House or Senate Granicus stream is live or not.

Usage

const { isCameraLive } = require('txlege-camera-status');

// first parameter is chamber, second parameter is camera ID
isCameraLive('house', 3).then((cameraIsLive) => {
  // if camera is live, `cameraIsLive` is true
});

There's also a tiny command line tool built in, too.

> is-txlege-camera-live house 3
true

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i txlege-camera-status

Weekly Downloads

0

Version

1.0.0

License

MIT

Last publish

Collaborators

  • rdm