kinode-dao / kinode

Kinode OS runtime
https://kinode.org
Apache License 2.0
32 stars 12 forks source link

feature: Using IPinfo.io for IP information (IP Geolocation + ASN) #555

Open abdullahdevrel opened 1 day ago

abdullahdevrel commented 1 day ago

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

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

Describe the solution you'd like

I would recommend using IPinfo's API service.

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

I have not considered any alternatives.

Additional context

None.


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

dr-frmr commented 1 day ago

Thanks for the suggestion. I will add it as a backup option to our little program.