jackwong7 / ipinfo

获取公网ip,地理位置,运营商等信息

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ipinfo

根据 ipinfo 的api接口,返回对应的ip相关信息

具体格式如下:
 {
  "ip": "172.104.164.210",
  "hostname": "li1755-210.members.linode.com",
  "city": "Singapore",
  "region": "Singapore",
  "country": "SG",
  "loc": "1.2897,103.8501",
  "org": "AS63949 Linode, LLC",
  "postal": "048508",
  "timezone": "Asia/Singapore"
}

About

获取公网ip,地理位置,运营商等信息


Languages

Language:Go 100.0%