MaxMind CSV adapter for Geolix
.
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.
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 information about the supported MaxMind GeoIP2 Country, MaxMind GeoIP2 City and MaxMind GeoLite2 databases can be found on their respective sites.