Crates.io | iplocation |
lib.rs | iplocation |
version | 0.0.3 |
source | src |
created_at | 2019-07-31 16:12:55.216346 |
updated_at | 2019-07-31 18:02:45.503412 |
description | Location data based on your public IP address |
homepage | https://josephb.org |
repository | https://github.com/joedborg/iplocation |
max_upload_size | |
id | 153213 |
size | 13,677 |
Simple Rust library that uses http://ip-api.com/json to gain location data based on your public IP address.
use iplocation;
fn main() {
let result = iplocation::get().unwrap();
println!("{:?}", result);
}