MaxMind GeoIP2 API
Project description
Description
Currently, this distribution provides an API for the GeoIP2 web services.
In the future, this distribution will also provide the same API for the GeoIP2 downloadable databases. These databases have not yet been released as a downloadable product.
See geoip2.webservices.Client for details on the web service client API.
Integration with GeoNames
GeoNames offers web services and downloadable databases with data on geographical features around the world, including populated places. They offer both free and paid premium data. Each feature is unique identified by a geoname_id, which is an integer.
Many of the records returned by the GeoIP web services and databases include a geoname_id field. This is the ID of a geographical feature (city, region, country, etc.) in the GeoNames database.
Some of the data that MaxMind provides is also sourced from GeoNames. We source things like place names, ISO codes, and other similar data from the GeoNames premium data set.
Reporting Data Problems
If the problem you find is that an IP address is incorrectly mapped, please submit your correction to MaxMind.
If you find some other sort of mistake, like an incorrect spelling, please check the GeoNames site first. Once you’ve searched for a place and found it on the GeoNames map view, there are a number of links you can use to correct data (“move”, “edit”, “alternate names”, etc.). Once the correction is part of the GeoNames data set, it will be automatically incorporated into future MaxMind releases.
If you are a paying MaxMind customer and you’re not sure where to submit a correction, please contact MaxMind support for help.
Python version support
This code requires Python 2.6+ or 3.1+. Older versions are not supported.
Versioning
The GeoIP2 Python API uses Semantic Versioning.
Support
Please report all issues with this code using the GitHub issue tracker
If you are having an issue with a MaxMind service that is not specific to the client API, please contact MaxMind support for assistance.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file geoip2-0.1.1.tar.gz
.
File metadata
- Download URL: geoip2-0.1.1.tar.gz
- Upload date:
- Size: 1.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f1defc1b273af24217f63d85c35996090595dca2c99cd077f76fb40888e0ba5e |
|
MD5 | fbc1e6ad87601c8c7f297409930a2241 |
|
BLAKE2b-256 | 0988ed66d8f4e5bb1bffe57f0cafe8d4bafa448a62416e2c64353c9d2703f1b9 |