Skip to content
This repository has been archived by the owner on Jan 14, 2022. It is now read-only.

Updated bindings #2

Open
muesli opened this issue Feb 5, 2020 · 2 comments
Open

Updated bindings #2

muesli opened this issue Feb 5, 2020 · 2 comments

Comments

@muesli
Copy link

muesli commented Feb 5, 2020

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!

@abourget
Copy link
Contributor

See #3

@afriza
Copy link
Contributor

afriza commented May 3, 2020

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:

  1. get a snapshot of comments.json
  2. 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

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants