ipinfo.io has nice JSON API for using from command line: $ curl ipinfo.io { "ip": "X.X.X.X", "hostname": "No Hostname", "city": "Hanoi", ...
確定! 回上一頁