Skip to content

Commit 232b55a

Browse files
committed
chg: [doc] update the documentation and examples with the multiple sources
1 parent dbbcbe8 commit 232b55a

File tree

1 file changed

+54
-6
lines changed

1 file changed

+54
-6
lines changed

README.md

Lines changed: 54 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
# mmdb-server
22

3-
mmdb-server is an open source fast API server to lookup IP addresses for their geographic location. The server can be used with any [MaxMind DB File Format](https://maxmind.github.io/MaxMind-DB/) or file in the same format.
3+
mmdb-server is an open source fast API server to lookup IP addresses for their geographic location, AS number. The server can be used with any [MaxMind DB File Format](https://maxmind.github.io/MaxMind-DB/) or file in the same format.
44

5-
mmdb-server includes a free and open [GeoOpen-Country database](https://data.public.lu/fr/datasets/geo-open-ip-address-geolocation-per-country-in-mmdb-format/) for IPv4 and IPv6 addresses. The file GeoOpen-Country is generated on a regular basis from AS announces and their respective whois records.
5+
mmdb-server includes a free and open [GeoOpen-Country database](https://data.public.lu/fr/datasets/geo-open-ip-address-geolocation-per-country-in-mmdb-format/) for IPv4 and IPv6 addresses. The file [GeoOpen-Country](https://cra.circl.lu/opendata/geo-open/mmdb-country/) and [GeoOpen-Country-ASN](https://cra.circl.lu/opendata/geo-open/mmdb-country-asn/) are generated on a regular basis from AS announces and their respective whois records.
66

77
# Installation
88

@@ -28,9 +28,33 @@ Python 3.8+ is required to run the mmdb-server with some [additional requirement
2828
"description": {
2929
"en": "Geo Open MMDB database - https://github.com/adulau/mmdb-server"
3030
},
31-
"build_db": "2022-01-23 16:13:05",
31+
"build_db": "2022-02-05 11:37:33",
3232
"db_source": "GeoOpen-Country",
33-
"nb_nodes": 1156125
33+
"nb_nodes": 1159974
34+
},
35+
"ip": "188.65.220.25",
36+
"country_info": {
37+
"Country": "Belgium",
38+
"Alpha-2 code": "BE",
39+
"Alpha-3 code": "BEL",
40+
"Numeric code": "56",
41+
"Latitude (average)": "50.8333",
42+
"Longitude (average)": "4"
43+
}
44+
},
45+
{
46+
"country": {
47+
"iso_code": "BE",
48+
"AutonomousSystemNumber": "49677",
49+
"AutonomousSystemOrganization": "MAEHDROS-AS"
50+
},
51+
"meta": {
52+
"description": {
53+
"en": "Geo Open MMDB database - https://github.com/adulau/mmdb-server"
54+
},
55+
"build_db": "2022-02-06 10:30:25",
56+
"db_source": "GeoOpen-Country-ASN",
57+
"nb_nodes": 1159815
3458
},
3559
"ip": "188.65.220.25",
3660
"country_info": {
@@ -57,9 +81,33 @@ Python 3.8+ is required to run the mmdb-server with some [additional requirement
5781
"description": {
5882
"en": "Geo Open MMDB database - https://github.com/adulau/mmdb-server"
5983
},
60-
"build_db": "2022-01-23 16:13:05",
84+
"build_db": "2022-02-05 11:37:33",
6185
"db_source": "GeoOpen-Country",
62-
"nb_nodes": 1156125
86+
"nb_nodes": 1159974
87+
},
88+
"ip": "2a02:21d0::68:69:25",
89+
"country_info": {
90+
"Country": "Belgium",
91+
"Alpha-2 code": "BE",
92+
"Alpha-3 code": "BEL",
93+
"Numeric code": "56",
94+
"Latitude (average)": "50.8333",
95+
"Longitude (average)": "4"
96+
}
97+
},
98+
{
99+
"country": {
100+
"iso_code": "BE",
101+
"AutonomousSystemNumber": "49677",
102+
"AutonomousSystemOrganization": "MAEHDROS-AS"
103+
},
104+
"meta": {
105+
"description": {
106+
"en": "Geo Open MMDB database - https://github.com/adulau/mmdb-server"
107+
},
108+
"build_db": "2022-02-06 10:30:25",
109+
"db_source": "GeoOpen-Country-ASN",
110+
"nb_nodes": 1159815
63111
},
64112
"ip": "2a02:21d0::68:69:25",
65113
"country_info": {

0 commit comments

Comments
 (0)