Best IP to Location for Ruby on Rails

爱⌒轻易说出口 提交于 2019-12-09 08:35:23

问题


I was wondering if anyone had any experience with a good plugin/gem that pulls city and state from the IP. I've tried the one built into GeoKit but it's terrible. I don't mind paying for it as well but I would prefer free.


回答1:


One of the best IP to location products is MaxMind's GeoIP.

The MaxMind GeoIP City does cost (http://www.maxmind.com/app/city), but there is also the MaxMind GeoLite City (http://www.maxmind.com/app/geolitecity) which is free, but a bit less accurate and not as frequently updated.




回答2:


try this one http://www.rubygeocoder.com/



来源:https://stackoverflow.com/questions/2107681/best-ip-to-location-for-ruby-on-rails

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!