kentatogashi / geoip_api

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

geoip_api

Author

kentatogashi@example.com

How to use

get country code from ip

$ curl https://geoipapi.herokuapp.com/ip2cc/8.8.8.8;echo
US

get autonomous system number from ip

$ curl https://geoipapi.herokuapp.com/ip2asn/8.8.8.8;echo
15169

get autonomous system organization from ip

$ curl https://geoipapi.herokuapp.com/ip2aso/8.8.8.8;echo
Google LLC

License

この製品には MaxMind が作成した GeoLite2 データが含まれており、http://www.maxmind.com から入手いただけます。

About


Languages

Language:Python 81.3%Language:Shell 18.7%