curl查询IP地址,经纬度

发布时间:2024年01月08日

curl ipinfo.io

C:\Users\jeff.xie>curl ipinfo.io
{
? "ip": "210.177.217.25",
? "hostname": "210-177-217-025.static.imsbiz.com",
? "city": "Hong Kong",
? "region": "Central and Western",
? "country": "HK",
? "loc": "22.2783,114.1747",
? "org": "AS4515 HKT Limited",
? "timezone": "Asia/Hong_Kong",
? "readme": "https://ipinfo.io/missingauth"
}
C:\Users\jeff.xie>
C:\Users\jeff.xie>
C:\Users\jeff.xie>
C:\Users\jeff.xie>curl ipinfo.io
{
? "ip": "121.15.131.210",
? "city": "Shenzhen",
? "region": "Guangdong",
? "country": "CN",
? "loc": "22.5455,114.0683",
? "org": "AS4134 CHINANET-BACKBONE",
? "timezone": "Asia/Shanghai",
? "readme": "https://ipinfo.io/missingauth"
}
C:\Users\jeff.xie>

文章来源:https://blog.csdn.net/qq_30273575/article/details/135411969
本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。