Python wrapper for utrace.de XML API.
- Author: Ondrej Sika, http://ondrejsika.com, [email protected]
- GitHub: https://github.com/ondrejsika/python-utrace
- PyPI: http://pypi.python.org/pypi/utrace
- LICENSE: MIT
pip install utrace
>>> import utrace
>>> utrace.utrace('8.8.8.8')
[{'countrycode': 'US',
'host': None,
'ip': '8.8.8.8',
'isp': 'Level 3 Communications',
'latitude': 38,
'longitude': -97,
'org': 'Google',
'queries': 7,
'region': None,
'result': '\n'}]
>>> utrace.utrace('google.com')
[{'countrycode': 'US',
'host': 'google.com',
'ip': '173.194.70.102',
'isp': 'Google',
'latitude': 37.419200897217,
'longitude': -122.05740356445,
'org': 'Google',
'queries': 8,
'region': 'Mountain View',
'result': '\n'}]