2009-11-21 136 views

回答

3

GeoLite CityGeoLite Country是可用下

All advertising materials and documentation mentioning features or use of 
this database must display the following acknowledgment: 
"This product includes GeoLite data created by MaxMind, available from 
http://maxmind.com/" 

这当然不是开源的,但可以帮助你上手。

的API:

The GeoIP C Library is licensed under the LGPL. 

一些开源的努力是listed on Virtual Terrain

还有一些java ip解析器:http://javainetlocator.sourceforge.net/