Skip to main content

This plugins connect to maxmind geolite2 service and retrieve location data.

Project description

GeoLite2 plugin

This plugin connects geoIP servers and returns location of the customer based on the provided ip address.

JSON Configuration

Example:

{
  "source": {
    "id": "5600c92a-835d-4fbe-a11d-7076fd983434"
  },
  "ip": "payload@ip"
}

IP value can be a path to value in profile, payload, or event or IP address itself.

Resource configuration

To run this plugin you must provide source id that has configured GeoLite2 server credentials.

Example of source configuration for GeoLite2 API:

{
  "host": "geolite.info",
  "license": "<license-key>",
  "accountId": "<account-id>"
}

You must provide license-key and account-id to connect to MaxMind GeoLite2 API.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tracardi-maxmind-geolite2-0.6.0.tar.gz (7.5 kB view hashes)

Uploaded Source

Built Distribution

tracardi_maxmind_geolite2-0.6.0-py3-none-any.whl (7.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page