根据ip地址查询地址

以下为新浪api的使用方法,本人测试正常。

http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js

        返回值数据格式:var remote_ip_info = {"ret":1,"start":"221.11.11.0","end":"221.11.48.255","country":"\u4e2d\u56fd","province":"\u9655\u897f","city":"\u897f\u5b89","district":"","isp":"\u8054\u901a","type":"","desc":""};

        http://int.dpool.sina.com.cn/iplookup/iplookup.php?format=js&ip=202.200.112.210

        返回值数据格式:var remote_ip_info = {"ret":1,"start":"202.200.112.0","end":"202.200.127.255","country":"\u4e2d\u56fd","province":"\u9655\u897f","city":"\u897f\u5b89","district":"","isp":"\u6559\u80b2\u7f51","type":"\u5b66\u6821","desc":"\u897f\u5b89\u7406\u5de5\u5927\u5b66\u6559\u80b2\u7f51"};

你可能感兴趣的:(根据ip地址查询地址)