https://github.com/joedborg/iplocation
Rust library to gain location data based on your public IP address
https://github.com/joedborg/iplocation
Last synced: 10 months ago
JSON representation
Rust library to gain location data based on your public IP address
- Host: GitHub
- URL: https://github.com/joedborg/iplocation
- Owner: joedborg
- License: apache-2.0
- Created: 2019-07-31T16:00:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-31T18:01:51.000Z (almost 7 years ago)
- Last Synced: 2025-02-04T19:47:39.692Z (over 1 year ago)
- Language: Rust
- Size: 6.84 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# iplocation
Simple Rust library that uses [http://ip-api.com/json](http://ip-api.com/json)
to gain location data based on your public IP address.
## Example
```rust
use iplocation;
fn main() {
let result = iplocation::get().unwrap();
println!("{:?}", result);
}
```