[Database]
http://lite.ip2location.com/main (內詳, 格式詳細, 分lite跟商業兩種版本)
http://db-ip.com/db/ (free + 收費版本)
DONATIONWARE
http://software77.net/geo-ip/
http://software77.net/geo-ip/?license
wget software77.net/geo-ip/?DL=1 -O /path/IpToCountry.csv.gz IPV4 gzip
wget software77.net/geo-ip/?DL=2 -O /path/IpToCountry.csv.zip IPV4 zip
wget software77.net/geo-ip/?DL=3 -O /path/IpToCountry.csv.MD5 IPV4 MD5 (CSV file)
wget software77.net/geo-ip/?DL=4 -O /path/IpToCountry.dat IPV4 Geo::IPfree
wget software77.net/geo-ip/?DL=5 -O /path/IpToCountry.dat.MD5 IPV4 MD5 Geo::IPfree
wget software77.net/geo-ip/?DL=6 -O /path/country-codes.txt Country Codes
wget software77.net/geo-ip/?DL=7 -O /path/IpToCountry.6R.csv.gz IPV6 Ranges
wget software77.net/geo-ip/?DL=8 -O /path/IpToCountry.6R.csv.MD5 IPV6 Ranges MD5
wget software77.net/geo-ip/?DL=9 -O /path/IpToCountry.6C.csv.gz IPV6 CIDR
wget software77.net/geo-ip/?DL=10 -O /path/IpToCountry.6C.csv.MD5 IPV6 CIDR MD5
Please NOTE the "/" before the "?"
[API]
百度解法
http://developer.baidu.com/map/ip-location-api.htm
IP Info Database
有各種方式, 包含網址, API, PHP, ASP...
http://ipinfodb.com/ip_location_api.php
[Location from Browser Service]
自行透過 browser 收集使用者 IP V.S. Location
需要 browser 開放分享地理位置, 分享的 device 即可透過 geolocation 得到位置
Google Maps API
https://developers.google.com/maps/articles/geolocation?hl=zh-TW
W3C Geolocation API Specification
http://dev.w3.org/geo/api/spec-source.html
http://en.wikipedia.org/wiki/W3C_Geolocation_API
[Python + GeoDjango]
使用 library : http://www.gdal.org/ (非 thread safe)
GDAL
GeoDjango : https://docs.djangoproject.com/en/1.7/ref/contrib/gis/geoip/
http://dev.maxmind.com/geoip/legacy/downloadable/
#sudo apt-get install libgeoip-dev
#pip install GeoIP
沒有留言:
張貼留言