forked from ciaranlee/geoip_sinatra
-
Notifications
You must be signed in to change notification settings - Fork 1
A Sinatra app that performs IP geocoding
License
rgenerator/geoip_sinatra
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
This is a Sinatra app that provides geoip information as a web service. It is not the first of it's kind, https://github.com/topfunky/sinatra-geoip is a predecessor and this app does pretty much the same thing. There are two ways of getting geoip information: * /location.json?ip=134.226.83.50 - To find the location of a specific IP * /locateme.json - find out geo information about your own IP This product includes GeoLite data created by MaxMind, available from http://www.maxmind.com/. The MaxMind GeoLite data is bundled, which is allowed under the redistribution terms here: http://www.maxmind.com/app/geolitecity Requirements: The MaxMind C library, which is available through most package managers (e.g. homebrew, apt, or yum) or from http://www.maxmind.com/app/c . Note that this library is available on heroku.
About
A Sinatra app that performs IP geocoding
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published
Languages
- Ruby 100.0%