Hi. Please help with HTTP request to get JSON answer from Yandex weather service.
Here is API.
Here is where you can get free key.
API says:
he locality is indicated using the latitude (lat parameter) and longitude (lon parameter). If these parameters have invalid values, the response will contain data for Moscow.
GET https://api.weather.yandex.ru/v1/informers?
& lat=<latitude>
& lon=<longitude>
& [lang=<response language>]
X-Yandex-API-Key: <key value>
Request headers:
X-Yandex-API-Key
The key you received when enabling the Yandex.Weather API.
How to do this request using openHAB httpgetrequest
or curl
?