| Crates.io | api_free_reseau_fr |
| lib.rs | api_free_reseau_fr |
| version | 0.1.0 |
| created_at | 2025-11-19 14:58:08.083097+00 |
| updated_at | 2025-11-19 14:58:08.083097+00 |
| description | Rust client for interacting with free-reseau.fr API |
| homepage | |
| repository | https://github.com/goldnenex/api_free_reseau_fr |
| max_upload_size | |
| id | 1940212 |
| size | 78,613 |
use api_free_reseau_fr::{Client, DSLAM, Error};
#[tokio::main(flavor = "current_thread")]
async fn main() -> Result<(), Error> {
let client = Client::new();
let target = DSLAM::new("mon", 75, 1);
//or
let target = DSLAM::from("mon75-1");
let status = client.get_dslam_status(&target).await?;
println!("DSLAM `{target}` is {status}");
Ok(())
}
More examples provided in the demo
Licensed under either of
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.
See CONTRIBUTING.md.