#com #api #ip-api

app ip-api-wrapper

Simple API Wrapper IP-API.com

1 unstable release

new 0.1.0 Jan 10, 2025

#491 in Web programming

Download history 121/week @ 2025-01-07

121 downloads per month

MIT/Apache

12KB

Simple API Wrapper IP-API.com

Simple code

#[tokio::main]
async fn main() {
    let client = Client::new();
    let ip = "8.8.8.8";
    let info_full = IPInfo::get_info(&client, ip).await.unwrap();
    println!("{:#?}", info_full.as_field);
}

Dependencies

~7–18MB
~236K SLoC