3 releases

0.0.3 Jul 31, 2019
0.0.2 Jul 31, 2019
0.0.1 Jul 31, 2019

#19 in #gain

Download history 9/week @ 2024-12-08 1/week @ 2024-12-15 61/week @ 2025-02-09 3/week @ 2025-02-16

64 downloads per month

Apache-2.0

6KB

iplocation

Simple Rust library that uses http://ip-api.com/json to gain location data based on your public IP address.

Example

use iplocation;

fn main() {
    let result = iplocation::get().unwrap();

    println!("{:?}", result);
}

Dependencies

~22MB
~456K SLoC