自学内容网 自学内容网

curl查询IP地址,经纬度

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

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!