ipinfodb

Crates.ioipinfodb
lib.rsipinfodb
version0.1.1
sourcesrc
created_at2018-05-23 00:07:50.4518
updated_at2018-05-23 00:14:41.722193
descriptionRust wrapper for ipinfodb geolocation api.
homepagehttps://github.com/zxey/ipinfodb-rs
repository
max_upload_size
id66711
size15,574
Richard Hozák (richardhozak)

documentation

README

ipinfodb-rs

Rust wrapper for ipinfodb api.

Usage

extern crate ipinfodb;

// query for current ip
ipinfodb::query("YOUR_API_TOKEN", None);

// or you can specify ip to check geolocation for
ipinfodb::query("YOUR_API_TOKEN", Some("8.8.8.8".parse()?));

License

MIT/Apache-2.0

Commit count: 0

cargo fmt