Using ip2location-io-python with ip2location.com

Python integration

✓ Official SDK
Install
pip install ip2location-io-python
Quick start
import ip2location-io-python

client = ip2location_io_python.Client("YOUR_API_KEY")
Get geolocation information via IP address
curl \
  https://api.ip2location.com/v2/
SDK on GitHub 📄 API Docs
SDK
ip2location-io-python
Python
API
ip2location.com
ip2location.com:geolocation
At a glance
Language Python
Endpoints1
Base URLhttps://api.ip2location.com/v2
✓ Official