获取当前 IP 地址 以及大概位置的接口(来自于哔哩哔哩)
请求格式
curl https://api.bilibili.com/x/web-interface/zone
发送 get 请求,返回格式为 json 例如:
{"code":0,"message":"0","ttl":1,"data":{"addr":"xxx.xxx.xxx.xxx","country":"中国","province":"省","city":"市","isp":"运营商","纬度":,"longitude":经度,"zone_id":奇怪的数字,"country_code":国家代号}}