Exposing IP geolocation data from herrbischoff/country-ip-blocks via HTTP
Note
Only IPv4 addresses are supported for now.
First clone the herrbischoff/country-ip-blocks repository anywhere in the filesystem. Then run from this repository:
cargo run --release -- --repo-path /path/to/country-ip-blocks-repo/
ipgeod will listen on port 3000 (configurable via --port). Test the API with:
curl http://localhost:3000/ipv4/1.2.3.4
Licensed under either of
at your option.
Content type
Image
Digest
sha256:d1d2cdeaf…
Size
6.8 MB
Last updated
over 2 years ago
docker pull xjonathanlei/ipgeod