txlege-camera-status
v1.0.0
Published
Checks the live status of a camera used by the Texas House and Senate.
Downloads
2
Readme
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