| Crates.io | woj |
| lib.rs | woj |
| version | 0.0.4 |
| created_at | 2023-06-21 14:35:16.83941+00 |
| updated_at | 2023-06-25 15:24:52.801916+00 |
| description | You can interact with WASM OJ Wonderland through this API |
| homepage | https://github.com/wasm-oj/woj-rs |
| repository | https://github.com/wasm-oj/woj-rs |
| max_upload_size | |
| id | 896195 |
| size | 65,743 |
You can interact with WASM OJ Wonderland through this API
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
org.openapitools.codegen.languages.RustClientCodegenPut the package under your project folder in a directory named woj and add the following to Cargo.toml under [dependencies]:
woj = { path = "./woj" }
All URIs are relative to https://woj.csie.cool
| Class | Method | HTTP request | Description |
|---|
AuthApi | auth | GET /api/auth | AuthApi | login | POST /api/auth/send | AuthApi | me | GET /api/me | ProblemApi | get_problem | GET /api/problem/{id} | ProblemApi | list_problems | GET /api/problem | SubmissionApi | get_submission | GET /api/submission/{id} | SubmissionApi | list_submissions | GET /api/submission | SubmissionApi | submit | POST /api/submission | SystemApi | system | GET /api/sys |
To get access to the crate's generated documentation, use:
cargo doc --open