1.0.0 • Published 7 years ago

txlege-camera-status v1.0.0

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

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