api_free_reseau_fr

Crates.ioapi_free_reseau_fr
lib.rsapi_free_reseau_fr
version0.1.0
created_at2025-11-19 14:58:08.083097+00
updated_at2025-11-19 14:58:08.083097+00
descriptionRust client for interacting with free-reseau.fr API
homepage
repositoryhttps://github.com/goldnenex/api_free_reseau_fr
max_upload_size
id1940212
size78,613
(GolDNenex)

documentation

README

api_free_reseau_fr

Crates.io Docs.rs CI

Rust client for interacting with free-reseau.fr API

Feature

  • Async (reqwest)
  • serde (feature flag)

Usage

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

License

Licensed under either of

at your option.

Contribution

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.

Commit count: 0

cargo fmt