Unofficial API for facecast.io
Project description
Installation
- pip:
pip install facecast-io
- poetry:
poetry add facecast-io
Usage
api = FacecastAPI(os.environ["FACECAST_USERNAME"], os.environ["FACECAST_PASSWORD"]) # display available devices print(api.devices) # get device by name d = api.devices['Dev name'] # delete specific device and all devices api.devices.delete_device('Dev name') api.devices.delete_all() # create device api.devices.create_device('Dev name') # display device server url and key print(d.input_params) # display outputs of device print(d.outputs) # create new output d.create_output("Youtube", 'rtmp://a.youtube.com', 'youtube-key') # start/stop output d.start_outputs() d.stop_outputs() # delete all outputs d.delete_outputs()
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
facecast_io-0.4.0.tar.gz
(9.5 kB
view hashes)
Built Distribution
Close
Hashes for facecast_io-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c385b4a87034a4757360d54d6343cc3ec240f4ae0cc3dd1a2821c1754c5d182f |
|
MD5 | 74b63ea09d6ade2f12806cd271fe6ac2 |
|
BLAKE2b-256 | bd9d32ccbe3c57774bfa42665e49e55f67c7184807e542c6a67504cf61f4b73c |