-
Notifications
You must be signed in to change notification settings - Fork 93
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
Use ip-api.com to fetch timezone offsets more accurately? #175
Comments
I get "Access to ip-api.com was denied / You don't have authorization to view this page." when I click that.
… On Dec 18, 2023, at 17:31, Scott Baker ***@***.***> wrote:
I've had really good luck using ip-api.com to fetch timezone offsets. They offer simple newline support:
# Get the TZ offset for the requesting IP
curl http://ip-api.com/line/?fields=offset
Or full featured JSON if needed as well:
curl http://ip-api.com/json/
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
I wonder if it's GeoLocked? Their documentation doesn't say anything about that though. It's really great, simple API. Been around since 2012, so I don't think it's going anywhere. |
Hah, works now, although I did get the error once more. Odd. But yes, I agree this is a better way to go than having our own server for this.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I've had really good luck using ip-api.com to fetch timezone offsets. They offer simple newline support:
Or full featured JSON if needed as well:
The text was updated successfully, but these errors were encountered: