Expand description
Used to communicate with the TMC server. See the TestMyCodeClient struct for more details.
use tmc_testmycode_client::TestMyCodeClient;
let mut client = TestMyCodeClient::new("https://tmc.mooc.fi".parse().unwrap(), "some_client".to_string(), "some_version".to_string()).unwrap();
client.authenticate("email".to_string(), "password".to_string());
let organizations = client.get_organizations();Re-exports§
pub use oauth2;
Modules§
- api_v8
- Models the API of https://tmc.mooc.fi (https://testmycode.github.io/tmc-server/).
- request
- Contains types used to make requests to the TMC server.
- response
- Contains types which model the JSON responses from tmc-server
Structs§
- Test
MyCode Client - A struct for interacting with the TestMyCode service, including authentication.
- Update
Result - Updated exercises.
Enums§
- Client
Update Data - The update data type for the progress reporter.
- Language
- Test
MyCode Client Error - The main error type for tmc-testmycode-client.
Type Aliases§
- Test
MyCode Client Result - Token
- Authentication token.