I'm using it in a Dragonfly project to detect the users location and serving current weather condition.
Code: Select all
(set 'jsdata (get-url "http://j.maxmind.com/app/geoip.js"))
(set 'location (find-all [text]'(.*)'[/text] jsdata))
(print location)
http://dev.maxmind.com/geoip/javascript
Free use of the service is allowed with attribution in the following form:
This website uses <a href="http://www.maxmind.com/en/javascript">GeoIP Javascript from MaxMind</a>