A tools to generate xml file of icpc-resolver via domjudge RESTful API.
- icpc-resolver == resolver-2.1.2100
- domjudge-domserver == 7.0.1
- python >= 3.6.8
- setup config.json
{
"url": <contest api url>,
"key": <Basic Authorization key>,
"xml": <output xml file name>,
"showGroupList": [<group1>, <group2>, ...]
}
"url": "https://www.example.com/api/v4/contests/{cid},
"key": "KEY",
"xml": "events.xml"
- run main.py
python3 main.py