需要一个客户端的API determing IP地址的地理位置 [英] Need a client side API for determing geo location of IP addresses
问题描述
我需要Java或Ruby的一个客户端API。我更<击> preFER 行使>需要这仅是本地的。逸岸这甚至可能不是一个IP,但更多的是数据库导入。问题是,我不能使用基于一个Web服务,因为这是太繁重的I / O适合我。
I need a client side API in either Java or Ruby. I would much prefer need this to be LOCAL only. Infact this might not even be an IP, but more of a database import. The thing is that I cannot make use of a web service based one as that is too much heavy I/O for me.
请注意:根据地理位置,我真正需要的是国家/地区的最好的。我会接受实际的纬度/长cordinates为好。
Note: By geolocation, all I really need is country/region at best. I would accept actual lat/long cordinates as well.
推荐答案
几个月前,我看着这些家伙:的 http://www.maxmind.com/app/geolitecountry
I was looking at these guys a couple months ago: http://www.maxmind.com/app/geolitecountry
这似乎好了,我的有限的目的。
It seemed OK, for my limited purposes.
这篇关于需要一个客户端的API determing IP地址的地理位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!