Get country from ip
curl https://country.geoip.allthethings.win?ip=8.8.8.8
returns
{
"countryCode": "US",
"countryCode3": "USA",
"countryName": "United States",
"countryEmoji": "🇺🇸"
}
curl -d '{"ip": "8.8.8.8"}' https://country.geoip.allthethings.win
{
"countryCode": "US",
"countryCode3": "USA",
"countryName": "United States",
"countryEmoji": "🇺🇸"
}