nasa / sitepod

A Sitemap Generator written in PHP
GNU General Public License v3.0
24 stars 16 forks source link

Consider using IP2Location.io API as a failover #41

Open ip2location opened 3 months ago

ip2location commented 3 months ago

Currently, you're calling ip-api.com for the geolocation. As a failover, please consider using the IP2Location.io API via the endpoint https://api.ip2location.io/. Our service provided 500 queries per day for keyless query, or 30000 queries per month if you sign up our free plan. You can read more on the result returned via our documentation.

lewismc commented 3 months ago

Thank you @ip2location for the suggestion 👍 Please define "failover" in this context. Do you mean if the call to ip-api.com isn't successful for whatever reason then the program would then attempt https://api.ip2location.io/? Thank you