bambulab-cloud

Crates.iobambulab-cloud
lib.rsbambulab-cloud
version0.1.1
sourcesrc
created_at2024-04-10 20:54:09.188763
updated_at2024-04-22 13:38:02.354677
descriptionAn API client for Bambu Lab's Cloud API
homepage
repositoryhttps://github.com/m1guelpf/bambulab-rs
max_upload_size
id1204000
size13,872
Miguel Piedrafita (m1guelpf)

documentation

README

bambulab-cloud

An unofficial API client for Bambu Lab's Cloud API.

crates.io download count badge docs.rs

Usage

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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Commit count: 2

cargo fmt