GitSquared / ipapi

Get geoip information with an API call.

Home Page:https://ipinfo.now.sh

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

IPapi

Note: This API is no longer publicly hosted. You're welcome to run it yourself.


Latest version License

A simple API to get an IP address approximative lat/lon geographic coordinates programmatically. Written in Rust.

warning: this repository makes use of Git LFS to keep track of the geoip database file.

Example:

Request: curl http://<endpoint>/125.45.67.18

Response:

{
  "api_version": "3.0.0",
  "geo": {
    "latitude": 34.6836,
    "longitude": 113.5325,
    "time_zone": "Asia/Shanghai"
  },
  "ip": "125.45.67.18",
  "time": 1544969827
}

About

Get geoip information with an API call.

https://ipinfo.now.sh

License:Do What The F*ck You Want To Public License


Languages

Language:Rust 100.0%