2009-11-21 83 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/