A
A
Andrey Galko2014-01-31 18:24:37
PHP
Andrey Galko, 2014-01-31 18:24:37

How to parse the weather?

Hello. I need to make a weather parser, but it should be for any city. That is, the city is first checked, and then the weather is parsed for it. What is the question: where, from which service to take the weather? At gismeteo, I can't find a way to check and generally get somehow, for example, the xml of a city. And the same with Yandex. Tell me please!

Answer the question

In order to leave comments, you need to log in

3 answer(s)
M
Max, 2014-01-31
@McDeFF

List of cities here
weather.yandex.ru/static/cities.xml
Weather here
export.yandex.ru/weather-ng/forecasts/{id_city}.xml

K
Konstantin Kitmanov, 2014-02-01
@k12th

open weather map

P
Pavel Osadchuk, 2014-02-02
@xakpc

we take from RP5 rp5.ru/docs/xml/ru?id=5489

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question