Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

[Feature Request] Adding IPinfo.io as the default IP geolocation service

未关闭
#472 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
35/100
Issue 类型
功能
描述清晰度
需要澄清
活跃度
停滞
技术栈
python

调研方向

该 issue 没有指出文件、测试或入口点。首先定位当前的 IP 地理定位服务集成及其配置,然后将现有的响应处理与 IPinfo 文档中记录的响应进行比较;完成内容应包括将 IPinfo 设为默认服务,并通过测试覆盖变更后的行为。

由索引模型根据 Issue 内容生成。

描述

enhancement

Is your feature request related to a problem? Please describe.
The current IP geolocation API service does not provide SSL/HTTPS encryption, has rate limits for high-frequency requests, and is based on ISP/ASN-reported location information.

Describe the solution you'd like

I would like to recommend ipinfo.io for IP data.

  • Provides highly accurate IP geolocation backed by our probe network infrastructure. (Blog post and accuracy posts)
  • Free tier access token supports 50,000 requests per month.
  • IPinfo supports HTTPS/SSL encryption on all endpoints.
  • Tokenless access grants 1,000 requests per day.
  • No rate limit for repeated API requests. You can make all the allocated requests in one go.
  • Includes ASN and hostname information. Supports bulk enrichment through a single API endpoint. We also have a comprehensive integration library.

Usage example:

curl https://ipinfo.io/8.8.8.8
{
    "ip": "8.8.8.8",
    "hostname": "dns.google",
    "anycast": true,
    "city": "Mountain View",
    "region": "California",
    "country": "US",
    "loc": "37.4056,-122.0775",
    "org": "AS15169 Google LLC",
    "postal": "94043",
    "timezone": "America/Los_Angeles"
}

Documentation: https://ipinfo.io/developers

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

I have not considered any alternatives.

Additional context
Add any other context or screenshots about the feature request here.

No.


Consider including IPinfo in the project for accurate data and generous free access. Please let me know what you think. Thank you very much.

主要语言
Python
星标
92
派生
76
平均合并
7 小时 21 分钟
30 天内合并 PR
3

环境准备

  • 提供 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

geopython/GeoHealthCheck 的其他 Issue

查看 geopython/GeoHealthCheck 的全部 Issue

相似的 Issue

更多 Python Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。