通过IP获取位置的服务好吗?

发布于 2024-09-29 10:34:20 字数 17 浏览 0 评论 0原文

哪个检测位置最准确。

Which detect location most accurate.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(4

等风来 2024-10-06 10:34:20

http://www.maxmind.com/ 的免费 API 将带您进入国家/地区级别和城市有些IP,如果你付钱给他们,你可以获得更多详细信息,这些信息是很好的默认信息,但不是100%准确。这是我发现的最好的。

http://www.maxmind.com/ 's free API will get you to country level, and city for some IPs, if you pay them you can get some more detail, this information is a good default, but not 100% accurate. It's the best I've found.

被你宠の有点坏 2024-10-06 10:34:20

这是一个完全免费的网络服务

http://www.hostip.info/

Here's a completely free web service

http://www.hostip.info/

浅暮の光 2024-10-06 10:34:20

我之前使用过IP2Location,效果很好。免费版本只会返回国家/地区,但付费版本非常准确,并且会返回更多信息。他们有很多通用语言的 API。

I've used IP2Location before and it works great. The free version will only return the country but the pay versions are very accurate and will return alot more information. They have API's for a lot of common languages.

不再让梦枯萎 2024-10-06 10:34:20

Geo IP PECL 包和 Net_GeoIP PEAR 包都为 PHP 提供了 maxmind 位置数据库(在其他答案中提到过)的接口。

The Geo IP PECL package and Net_GeoIP PEAR package both provide an interface to the maxmind location database (that been mentioned in other answers) for PHP.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文