maxmind / mmdbwriter

Go library for writing MaxMind DB (mmdb) files
Apache License 2.0
116 stars 28 forks source link

about city data #73

Closed zuozhehao closed 10 months ago

zuozhehao commented 11 months ago

Is there a specific document on the data structure and examples related to city

horgh commented 10 months ago

We currently don't have documentation about the structure of the MMDBs. Typically it is easiest to use one of our API clients.

However, one way you can look at the structure is by using https://github.com/maxmind/mmdbinspect or mmdblookup from https://github.com/maxmind/libmaxminddb for an IP/network. Note that not every IP/network has every value populated though.