Generator of clients for the Jutge API
This project assumes you are using bun. You can install it from https://bun.sh/.
Run
bun installto install the TypeScript dependencies.
You need a relatively new Python (>=3.12). You may install its dependencies with:
python3 -m pip install --upgrade pytest requests requests-toolbelt pyyaml rich pydantic ruffRun
bun gento generate all the clients in the out directory.
You can run the existing tests with:
bun test-python
bun test-typescript
bun test-javascript
bun test-cpp
bun test-java
bun test-php
bun test-all # all the aboveIf you want to change the API source, you can do it by changing the JUTGE_API_URL environment variable:
export JUTGE_API_URL=https://api.jutge.org/api/