Widget Traffic/en: различия между версиями
Материал из SmartPlayer
(Новая страница: «Widget Traffic») |
(Новая страница: «== Description == A widget for displaying the current traffic congestion in a specific city. 800px == Settings == === Operation in a Restricted Network === This widget retrieves data from several sources: * https://api.sypexgeo.net/ - used to obtain geolocation (city) based on the IP address of the device where the widget is loaded. * https://api-maps.yandex.ru - fetches traffic data from Yandex Maps. '''''How to check if access to...») |
||
Строка 1: | Строка 1: | ||
<languages/> | <languages/> | ||
== Description == | |||
== | A widget for displaying the current traffic congestion in a specific city. | ||
[[File:Traffic ru.png|800px]] | |||
[[ | == Settings == === | ||
== | Operation in a Restricted Network === This widget retrieves data from several sources: | ||
=== | * https://api.sypexgeo.net/ - used to obtain geolocation (city) based on the IP address of the device where the widget is loaded. | ||
* https://api-maps.yandex.ru - fetches traffic data from Yandex Maps. | |||
* https://api.sypexgeo.net/ - | '''''How to check if access to the resource is available from a restricted network''''' <br> | ||
* https://api-maps.yandex.ru - | To check access, connect a computer to the internal network and run the following command in the terminal: ''curl https://api-maps.yandex.ru''. You should receive a response from the service, which will return data (any data is sufficient), the main thing is that the connection is not dropped due to timeout/forbidden (depending on the specific restricted network settings). | ||
''''' | |||
Текущая версия от 13:13, 28 августа 2024
Description
A widget for displaying the current traffic congestion in a specific city.
Settings == =
Operation in a Restricted Network === This widget retrieves data from several sources:
- https://api.sypexgeo.net/ - used to obtain geolocation (city) based on the IP address of the device where the widget is loaded.
- https://api-maps.yandex.ru - fetches traffic data from Yandex Maps.
How to check if access to the resource is available from a restricted network
To check access, connect a computer to the internal network and run the following command in the terminal: curl https://api-maps.yandex.ru. You should receive a response from the service, which will return data (any data is sufficient), the main thing is that the connection is not dropped due to timeout/forbidden (depending on the specific restricted network settings).