IP到国家,城市,经纬度,lang javascript服务 [英] Ip to country, city, lat, lang javascript service

查看:126
本文介绍了IP到国家,城市,经纬度,lang javascript服务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

将IP从以下脚本转换为country / city / lat / long的最佳/准确/免费服务是什么?

  $。getJSON(http://jsonip.appspot.com?callback=?,
函数(数据){
alert(Data Returned:+ data.ip);
});


解决方案

我前几天正在研究这个问题。

几种潜在的选择:



Maxmind执行一些 APIs ,但他们的JS服务没有查找任务给我介意。


What the best/accurate/free service to convert the IP from the following script to country/city/lat/long?

$.getJSON("http://jsonip.appspot.com?callback=?",
    function(data){
       alert( "Data Returned: " + data.ip);
  });

解决方案

As it goes I was researching this the other day.

Couple of potential options:

Maxmind do a number of APIs but their JS service doesn't look up to task to my mind.

这篇关于IP到国家,城市,经纬度,lang javascript服务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆