/adapter_maxmind_csv

Primary LanguageElixirApache License 2.0Apache-2.0

Geolix Adapter: MaxMind CSV

MaxMind CSV adapter for Geolix.

Package Setup

To use the Geolix MaxMind CSV Adapter with your projects, edit your mix.exs file and add the required dependencies:

defp deps do
  [
    # ...
    {:geolix_adapter_maxmind_csv, "~> 0.1.0"},
    # ...
  ]
end

An appropriate version of :geolix is automatically selected by the adapter's dependency tree.

Adapter Configuration

To start using the adapter with a compatible database you need to add the required configuration entry to your :geolix configuration:

config :geolix,
  databases: [
    %{
      id: :geolite2_csv,
      adapter: Geolix.Adapter.MaxMindCSV
    }
  ]

License

Apache License, Version 2.0

License information about the supported MaxMind GeoIP2 Country, MaxMind GeoIP2 City and MaxMind GeoLite2 databases can be found on their respective sites.