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) #404

Open
abdullahdevrel opened this issue Aug 16, 2024 · 1 comment

Comments

@abdullahdevrel
Copy link

Is your feature request related to a problem? Please describe.

The current implementation of the GeoIP plugin requires users to bring their own token to use it. The API platform also has rate limitations that are not scalable.

GEOIP_URL = os.environ.get('GEOIP_URL') or app.config.get(
'GEOIP_URL', 'http://api.ipstack.com')
GEOIP_ACCESS_KEY = os.environ.get(
'GEOIP_ACCESS_KEY') or app.config.get('GEOIP_ACCESS_KEY', None)

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.
  • 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.
  • Includes ASN and hostname information. Supports bulk enrichment through a single API endpoint. We also have a comprehensive integration library.

Describe alternatives you've considered

I have not considered any other alternatives.

Additional context

IPinfo API does not provide country flag data

GEOIP_URL = os.environ.get('GEOIP_URL') or app.config.get(

Please, let me know what you think. Thanks!

@hyberdk
Copy link

hyberdk commented Aug 19, 2024

Hi Abdullah,

This repo is used for plugin contributions. you are more than welcome to do a PR either extends this plugin to support both ipstack and your ipinfo backends, but also to create a new plugin for ipinfo and do a PR for that.

Esben

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants