S
S
sim31r2016-06-05 16:03:53
Programming
sim31r, 2016-06-05 16:03:53

How to get weather data?

Is there a ready solution to get current outdoor temperature data? So far, the simplest thing I’ve come up with is to parse the Gismeteo, Yandex weather site, openweathermap.org with a python script (but this solution may stop working when changing the site design). Ideally, I would like multiple data sources.
It is necessary to control the microclimate in the room, so as not to install outdoor temperature sensors in every house or building, the temperature of the coolant is formed based on the outdoor temperature. Climate controllers are gradually moving online, and temperature sensors sometimes need to be pulled over 100 meters and the place can be unsuccessful ("vandal" or periodically illuminated by the sun to unrealistic readings).
Actually, the question boils down to the fact that perhaps there is a site that gives ready-made data and which does not need to be parsed. And perhaps there is a ready-made solution, a program / script that pulls weather data and presents it in a convenient form.
Something similar has already been discussed here
Parsing the weather - C #
But the solution has not been published.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
K
Konstantin Nagibovich, 2016-06-05
@nki

Why parse when you can use the weather sites API .

S
st_rapon, 2016-06-05
@st_rapon

openweathermap.org/API
Using the API of this site, you can get weather data.

A
Alexander Mamaev, 2016-06-06
@virtual_universe

Get the API:
These are the most popular services.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question