go-obs-websocket
go-obs-websocket copied to clipboard
Updated bindings
It would be nice to have updated bindings to support newly implemented API functionality. Could you also document how you generated the sources, because I can't quite figure out how codegen/protocol.py is meant to be called.
Thank you!
See #3
Could you also document how you generated the sources, because I can't quite figure out how codegen/protocol.py is meant to be called.
You can call it as follow:
- get a snapshot of
comments.json
- call it with
comments.json
and--all
as parameters
cd /path/to/go-obs-websocket
curl -o codegen/comments.json https://github.com/Palakis/obs-websocket/raw/4.7.0/docs/generated/comments.json
python3 codegen/protocol.py codegen/comments.json --all
Note that you might need to adjust protocol.py
to accept newer version of comments.json