iplocation

Crates.ioiplocation
lib.rsiplocation
version0.0.3
sourcesrc
created_at2019-07-31 16:12:55.216346
updated_at2019-07-31 18:02:45.503412
descriptionLocation data based on your public IP address
homepagehttps://josephb.org
repositoryhttps://github.com/joedborg/iplocation
max_upload_size
id153213
size13,677
Joe Borg (joedborg)

documentation

README

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);
}
Commit count: 7

cargo fmt