NiiV3AU / IPinfo

Small Python GUI build with Customtkinter, that reveals your current IPv4 Adresse, Geolocation (Country Code) and Country Flag.
0 stars 0 forks source link

[Suggestion] Using IPinfo.io for IP information (IP Geolocation + ASN) #2

Open abdullahdevrel opened 6 months ago

abdullahdevrel commented 6 months ago

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

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

Free IP databases: https://ipinfo.io/products/free-ip-database


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

NiiV3AU commented 6 months ago

What a coincidence that your URL is called the same as my project, I came up with the name in a few seconds and left it as is, if a renaming is desired from your end I'm happy to do so. I would add a dropdown menu to the GUI by adding different IP api endpoints. The only problem is that you need an api key, which means that the end users have to create an account with the free plan to retrieve the IP data. My goal was to have a simple application that displays the data with one click and not an application that requires registration. If I have overlooked such a free/without registration api endpoint, please let me know and I will add your api to my project.

NiiV3AU commented 6 months ago

(Didn't ment to close it)

abdullahdevrel commented 6 months ago

Thank you very much for your reply @NiiV3AU

if a renaming is desired from your end I'm happy to do so

No need at all. Please do keep using IPinfo, there is absolutely no problem.

The only problem is that you need an api key

We do not need an API key. In fact, we have one of the most generous no-key API accesses out there with 1,000 requests per day.

Just try it out:

https://ipinfo.io/8.8.8.8

It is as simple as it gets :)

Let me know what you think. Thanks!

NiiV3AU commented 6 months ago

Thanks for the reply. I just released a new version, Im going to look into it tomorrow and release a new version with 4 apis to choose from.