Examples
In this page, you can find some code examples on how you can use the API.
Find the country/city of an address
You can find the country codes on the MaxMind site: https://dev.maxmind.com/geoip/legacy/codes
Blacklisting and checking whitelist
This example will check if an address is whitelisted, and then will blacklist it.
Checking attack status
This example will check if the server is under attack, and print the current connections per second.
Last updated