IP Geolocation Shard

This repository hosts a standalone Crystal shard that allows geolocating any IPv4 address on the globe.


Installation

TODO

Usage

TODO

Consideration

Slow Startup

Please note that before using the library the in-memory representation of the IP -> Location mapping. This can take approximately up to ~30 seconds.

Giving Attribution to IP2Location

When using this shard in a product or on a website, please make sure to include the attribution required by IP2Location:

This site or product includes IP2Location LITE data available from <a href="https://lite.ip2location.com">https://lite.ip2location.com</a>.

License

Licensed under the MIT License

Attribution

This site or product includes IP2Location LITE data available from https://lite.ip2location.com.