Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A python library to consume ipinfodb web services version 3
Python
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
README
ipinfodb.py

README



KEY = 'SOME_KEY'
IP = '209.85.195.83'


ipinfodb_api = API(KEY)

data_dict = ipinfodb_api.GetCity(IP)
print data_dict

data_dict = ipinfodb_api.GetCountry(IP)
print data_dict
Something went wrong with that request. Please try again.