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] Integration of IPinfo's API #7

Open
abdullahdevrel opened this issue Sep 19, 2023 · 0 comments
Open

[Feature Request] Integration of IPinfo's API #7

abdullahdevrel opened this issue Sep 19, 2023 · 0 comments

Comments

@abdullahdevrel
Copy link

I am the DevRel of IPinfo.io. If it would be possible, please consider IPinfo's API service for the project. The features of IPinfo's API service:

  • 1,000 requests/day without a token.
  • 50,000 requests/month with a free tier access token.
  • SSL / HTTPS support even for non-token access.
  • Provides nearly identical JSON payload to the existing API service, so migration would not be too difficult.
  • Greater accuracy of location information backed by IPinfo's probe network infrastructure.
  • Dedicated community open source projects and IP data.

Integrating IPinfo's API will allow users to make a higher amount of requests and get more precise geolocation information. Also the existing provider does not support HTTPS/SSL Encryption on the free tier, while we do.

IPinfo's API

🔗 Documentation: https://ipinfo.io/developers

Without token → 1,000 Requests/Day

curl ipinfo.io/67.59.111.80
{
  "ip": "67.59.111.80",
  "hostname": "067-059-111-080.arctic.net",
  "city": "Madrid",
  "region": "Madrid",
  "country": "ES",
  "loc": "40.4165,-3.7026",
  "org": "AS40760 TelAlaska",
  "postal": "28004",
  "timezone": "Europe/Madrid",
  "readme": "https://ipinfo.io/missingauth"
}

With free tier token → 50,000 requests/month

curl ipinfo.io/170.156.138.52?token=<YOUR_TOKEN>
{
  "ip": "170.156.138.52",
  "city": "West Sacramento",
  "region": "California",
  "country": "US",
  "loc": "38.5927,-121.5325",
  "postal": "95605",
  "timezone": "America/Los_Angeles"
}

More accurate geolocation information

Consider the IP address: 67.59.111.80 (IPinfo.io)

As of writing the post, based on ping information, the IP address is located in Madrid, Spain.

image

However, your existing API service provider locates it in Alaska, which is 8,073.7 kilometers away.

Please let us know what you think. If you would like, we can write the PR.

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

1 participant