An open API service indexing awesome lists of open source software.

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

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);
}
```