distancefyi 0.1.0

Rust client for the DistanceFYI API — https://distancefyi.com
Documentation

distancefyi

crates.io License: MIT

Rust client for the DistanceFYI REST API. Haversine distance. Uses reqwest for HTTP.

Explore at distancefyi.com — interactive tools and comprehensive reference.

Install

[dependencies]
distancefyi = "0.1"

Quick Start

fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = distancefyi::Client::new();
    let result = client.search("query")?;
    println!("{:?}", result);
    Ok(())
}

Also Available

Platform Install Link
Python pip install distancefyi PyPI
npm npm install distancefyi npm
Go go get github.com/fyipedia/distancefyi-go pkg.go.dev
Rust cargo add distancefyi crates.io
Ruby gem install distancefyi rubygems

Links

Part of the FYIPedia open-source developer tools ecosystem.

License

MIT