Crates.io | bambulab-cloud |
lib.rs | bambulab-cloud |
version | 0.1.1 |
source | src |
created_at | 2024-04-10 20:54:09.188763 |
updated_at | 2024-04-22 13:38:02.354677 |
description | An API client for Bambu Lab's Cloud API |
homepage | |
repository | https://github.com/m1guelpf/bambulab-rs |
max_upload_size | |
id | 1204000 |
size | 13,872 |
An unofficial API client for Bambu Lab's Cloud API.
let client = bambulab_cloud::Client::login(bambulab_cloud::Region::Europe, "email@example.com", "password").await?;
let tasks = client.get_tasks().await?;
dbg!(tasks);
// [src/main.rs:6] tasks = [
// Task {
// id: 67318297,
// length: 2783,
// weight: 81.66,
// cost_time: 6541s,
// cover: Url { ... },
// end_time: 2024-04-06T01:51:58Z,
// start_time: 2024-04-05T23:56:48Z,
// design_title: "Cursed Benchys #1",
// title: "0.24mm layer, 3 walls, 30% infill",
// ...
// },
// ]
Refer to the documentation on docs.rs for detailed usage instructions.
This project is licensed under the MIT License - see the LICENSE file for details.