https://github.com/m1guelpf/bambulab-rs
An unofficial API client for Bambu Lab's Cloud API
https://github.com/m1guelpf/bambulab-rs
3d-printing bambu-lab
Last synced: about 1 year ago
JSON representation
An unofficial API client for Bambu Lab's Cloud API
- Host: GitHub
- URL: https://github.com/m1guelpf/bambulab-rs
- Owner: m1guelpf
- License: mit
- Created: 2024-04-10T20:53:13.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-22T13:41:09.000Z (about 2 years ago)
- Last Synced: 2025-04-28T14:07:14.846Z (about 1 year ago)
- Topics: 3d-printing, bambu-lab
- Language: Rust
- Homepage: https://crates.io/crates/bambulab-cloud
- Size: 15.6 KB
- Stars: 29
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# bambulab-cloud
> An unofficial API client for Bambu Lab's Cloud API.
[](https://crates.io/crates/bambulab-cloud)
[](https://crates.io/crates/bambulab-cloud)
[](https://docs.rs/bambulab-cloud)
## Usage
```rust
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](https://docs.rs/bambulab-cloud) for detailed usage instructions.
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.