来自Yahoo Weather API的天气预报

来自Yahoo Weather API的天气预报

问题描述:

如何从Yahoo Weather API而不是今天和明天获得3-5天或7天的预报?

How to get 3,5 or 7 day forecasts from Yahoo Weather API instead of just today and tomorrow?

http://weather.yahooapis.com/forecastrss?w=location 给出响应中包含今天和明天的天气预报.

http://weather.yahooapis.com/forecastrss?w=location gives response which has weather forecast of just today and tomorrow.

通过什么方式我们可以在响应中做出更多预测?

In what way we can have more forecasts in the response?

谢谢

API解释所述>只有两个参数: WOEID w(其中并以u表示单位(华氏度或摄氏).没有获取天数的参数.

As stated on the API explanation there are only two parameters: w for the WOEID (where on earth id) and u for the unit (Fahrenheit or Celsius). There are no parameters for the number of days to fetch.

我建议切换到具有更多功能的其他天气API .

I recommend to switch to some other weather API with more features.