所有可能的Google天气API"条件"列表

How*_*opa 13 google-api weather-api

任何人都知道谷歌API会推出的所有天气条件?

我必须将我的图标与预测相匹配,我找不到条件列表.

Ben*_*eno 10

我发现这个列表看起来比我见过的任何其他列表更完整

http://dennisdel.com/content/conditions.xml(不适用于任何人(2016年1月))

<conditions>
 <type>PARTLY SUNNY</type>
 <type>SCATTERED THUNDERSTORMS</type>
 <type>SHOWERS</type>
 <type>SCATTERED SHOWERS</type>
 <type>RAIN AND SNOW</type>
 <type>OVERCAST</type>
 <type>LIGHT SNOW</type>
 <type>FREEZING DRIZZLE</type>
 <type>CHANCE OF RAIN</type>
 <type>SUNNY</type>
 <type>CLEAR</type>
 <type>MOSTLY SUNNY</type>
 <type>PARTLY CLOUDY</type>
 <type>MOSTLY CLOUDY</type>
 <type>CHANCE OF STORM</type>
 <type>RAIN</type>
 <type>CHANCE OF SNOW</type>
 <type>CLOUDY</type>
 <type>MIST</type>
 <type>STORM</type>
 <type>THUNDERSTORM</type>
 <type>CHANCE OF TSTORM</type>
 <type>SLEET</type>
 <type>SNOW</type>
 <type>ICY</type>
 <type>DUST</type>
 <type>FOG</type>
 <type>SMOKE</type>
 <type>HAZE</type>
 <type>FLURRIES</type>
 <type>LIGHT RAIN</type>
 <type>SNOW SHOWERS</type>
 <type>ICE/SNOW</type>
 <type>WINDY</type>
 <type>SCATTERED SNOW SHOWERS</type>
</conditions>
Run Code Online (Sandbox Code Playgroud)

编辑 这里有一个新的基于原始列表:https:
//gist.github.com/806934

它会从列表中删除它们

<type>ICE/SNOW</type>
<type>WINDY</type>
<type>SCATTERED SNOW SHOWERS</type>
Run Code Online (Sandbox Code Playgroud)

并补充:

<type>HAIL</type>
Run Code Online (Sandbox Code Playgroud)

无论如何,使用它们可能都不会受到伤害


Cod*_*Tao 5

有人提到了这一点:http://www.blindmotion.com/? p = 73虽然它可能不完整,因为它不是谷歌发布的东西.它可能覆盖了大约99%的案例,除非谷歌员工随机增强和发布到天气API.

编辑:

blindmotion.com出现下降,互联网档案库页面的内容:http://web.archive.org/web/20111001141159/http://www.blindmotion.com/2009/03/google-weather-api-images /.(注意,从2009年开始)

https://gist.github.com/bzerangue/806934(由Vijay提供,在下面的答案中列出)可能是更新的列表


Kyl*_*yle 5

这个链接对我而言是破碎的.这是我在另一个论坛上找到的列表:

"Clear 
Cloudy 
Fog
Haze 
Light Rain
Mostly Cloudy 
Overcast 
Partly Cloudy
Rain 
Rain Showers 
Showers
Thunderstorm 
Chance of Showers 
Chance of Snow 
Chance of Storm 
Mostly Sunny
Partly Sunny 
Scattered Showers 
Sunny"
Run Code Online (Sandbox Code Playgroud)