Tool for converting raw OGS game JSONs to SGFs, modified for use in ogs-data-analysis-tools.
I made this to slightly tweak the output behavior from the original tool to better suit my needs. Not looking to merge at the moment because I'm not sure the new behavior is as originally intended.
- Input: directory
./ogsjsons
containing raw OGS game JSONs in format found at endpointhttps://online-go.com/api/v1/games/<game_id>
python3 ogstosgf.py ogsjsons/
- Output: SGF files in directory
./ogsjsons