appliedsec / pygeoip

DEPRECATED: Pure Python API for Maxmind's binary GeoIP databases
https://github.com/appliedsec/pygeoip
GNU Lesser General Public License v3.0
481 stars 111 forks source link

Justice should be served: add missing Kiev region ID #62

Closed iorlas closed 10 years ago

iorlas commented 10 years ago

Here we have list of Kiev IP addresses: http://myip.ms/view/cities/475/IP_Addresses_Kiev.html

First one, most "popular" is "176.36.52.189". With GEODjango we can retrive geo-data by IP. So, for this one it is: {'city': u'Kiev', 'continent_code': u'EU', 'region': u'12', 'charset': 0, 'area_code': 0, 'longitude': 30.516700744628906, 'country_code3': u'UKR', 'latitude': 50.43330001831055, 'postal_code': None, 'dma_code': 0, 'country_code': u'UA', 'country_name': u'Ukraine'}

Here we have region: 12, which means we should add this ID as Europe/Kiev.

tiwilliam commented 10 years ago

Thanks for the patch!