数据录入软件ipdata_使用ipdata的地理位置数据来保护和自定义您的站点

数据录入软件ipdata

This article was created in partnership with ipdata. Thank you for supporting the partners who make SitePoint possible.

本文是与ipdata合作创建的。 感谢您支持使SitePoint成为可能的合作伙伴。

Modern websites are becoming more and more effective at customizing content based on their visitors’ location. They can redirect users to a page in their own language, display prices in the local currency, pre-fill webforms with location information, and show the current time and date for the correct timezone.

现代网站在根据访问者的位置定制内容方面变得越来越有效。 他们可以将用户重定向到使用其自己的语言的页面,以当地货币显示价格,使用位置信息预先填写网络表单,并显示正确时区的当前时间和日期。

ipdata is a low-latency API that provides website owners with a wide variety of information about their visitors based on IP address (IPv4 and IPv6). Think of it as an IP geolocation and threat intelligence API.

ipdata是一种低延迟API,可根据IP地址(IPv4和IPv6)为网站所有者提供有关其访问者的各种信息。 将其视为IP地理位置和威胁情报API。

By using a visitor’s IP address you can learn their continent, country, region, city, latitude and longitude, organization or ISP, and timezone. The API also detects Proxy and Tor users, as well as known spammers and bad bots. Blocking these risks will protect your website, and reduce the need for security strategies like CAPTCHA.

通过使用访客的IP地址,您可以了解其大陆,国家,地区,城市,经纬度,组织或ISP以及时区。 该API还可以检测Proxy和Tor用户,以及已知的垃圾邮件发送者和不良机器人。 阻止这些风险将保护您的网站,并减少对诸如CAPTCHA之类的安全策略的需求。

Let’s look specifically at some ways ipdata can help, and how to implement them on your own website.

让我们具体看一下ipdata可以提供帮助的一些方式,以及如何在自己的网站上实现它们。

重定向访问者并本地化内容 (Redirect Visitors and Localize Content)

When you visit the ipdata website you’ll immediately see what the service is capable of. Everything that can be learned from your own IP address is displayed.

当您访问ipdata网站时,您将立即看到该服务的功能。 将显示从您自己的IP地址中学到的所有内容。

ipdata

That data includes:

该数据包括:

  • Whether you’re in the EU,

    不管你在欧盟
  • Your city,

    您的城市,
  • State or region (and region code),

    州或地区(和地区代码),
  • Country (and country code),

    国家(和国家代码),
  • Continent (and continent code),

    大陆(和洲代码),
  • Latitude and longitude,

    纬度和经度,
  • Postal or zip code,

    邮政编码
  • Country calling code,

    国家/地区电话代码,
  • Your country’s flag emoji,

    您国家的国旗表情符号,
  • Your service provider’s ASN and carrier information,

    您的服务提供商的ASN和运营商信息,
  • Languages,

    语言,
  • Currency (name, code, symbol, plural),

    货币(名称,代码,符号,复数),
  • Time zone (name and abbreviation, offset, daylight savings time, current time),

    时区(名称和缩写,偏移量,夏令时,当前时间),
  • Threat information (Tor, Proxy, anonymous, known attacker, known abuser, threat, bogon).

    威胁信息(Tor,代理,匿名,已知攻击者,已知滥用者,威胁,威胁)。

You can call ipdata’s API on each page request to geolocate your visitors and localize their content. Here’s a handful

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值