Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature request] Using IPinfo.io for IP information (IP Geolocation + ASN) #2260

Open
abdullahdevrel opened this issue Sep 20, 2024 · 2 comments · May be fixed by #2277
Open

[Feature request] Using IPinfo.io for IP information (IP Geolocation + ASN) #2260

abdullahdevrel opened this issue Sep 20, 2024 · 2 comments · May be fixed by #2277
Labels
feature request 🙏 I am requesting a feature

Comments

@abdullahdevrel
Copy link

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.

Your py3status version

py3status version 3.59 (python 3.8.10) on sway

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.


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

@abdullahdevrel abdullahdevrel added the feature request 🙏 I am requesting a feature label Sep 20, 2024
@ultrabug
Copy link
Owner

ultrabug commented Dec 3, 2024

Thanks for letting us know @abdullahdevrel . If any user wants this in, they're (or you are) welcome to contribute that ofc.

@abdullahdevrel
Copy link
Author

@ultrabug Thank you for considering the request. Do you want to replace the existing providers? I think our service is superior to both of them: it offers more accurate results, is reliable, has better limits, and is HTTPS/SSL secure.

@lasers lasers linked a pull request Dec 24, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request 🙏 I am requesting a feature
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants