Expand description
Models the API of https://tmc.mooc.fi (https://testmycode.github.io/tmc-server/).
Modules§
Enums§
Functions§
- download
- Fetches data from the URL and writes it into the target.
- get_
credentials - get /api/v8/application/{client_name}/credentials Fetches oauth2 credentials info.
- get_
json - Fetches JSON from the given URL and deserializes it into T.
- get_
submission - get /api/v8/core/submissions/{submission_id} Checks the submission processing status from the given URL.
- post_
form - Posts the given form data to the given URL and deserializes the response to T.
- prepare_
feedback_ form - Converts a list of feedback answers to the format expected by the TMC server.