txlege-camera-status
v1.0.0TXLege 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
npm i txlege-camera-status
Metadata
- MIT
- Whatever
- Ryan Murphy
- released 5/1/2017