A
A
Anatolii2020-02-16 20:32:08
Python
Anatolii, 2020-02-16 20:32:08

How are sites with the search for time in the city defined?

Hello. I am writing a little helper for a friend, ran into a problem. How to display the exact time in a specific city. I rummaged through the Internet in search of a free API, but it wasn’t there (at least I didn’t find it). Prescribe manually all the time zones and cities - nonsense. Actually the question is:
- How are the sites that show the exact time at the point you need arranged?
- Is it possible to use / pull out a certain functionality (namely, the time at the point at my request) from the site?
PS Newbie, you can throw stones, but the main thing is to help :)
PSS Thanks in advance :)
Lang: Python

Answer the question

In order to leave comments, you need to log in

2 answer(s)
G
granty, 2020-02-16
@granty

There was already a topic Is there a time API? .
They can add (didn't use it myself):
- https://worldtimeapi.org/
- Dater , codes are on github It's
better to avoid API services that are not updated - now it's fashionable to cancel the transition to winter / summer time. All countries must be constantly monitored.
If you need widgets / informers for the site
- https://yandex.ru/time/
- https://time.is/widgets

K
ksnk, 2020-02-16
@ksnk

geohelper.info/ru/documentation/rules
isn't it? Subscribe if it suits you.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question