擅长:python、mysql、java
<p>您可以将Yahoo Weather API用于<a href="http://weather.yahoo.com/" rel="nofollow">http://weather.yahoo.com/</a>中列出的世界任何城市</p>
<p><strong>如何知道城市的标识?</strong></p>
<ol>
<li><p>搜索您要查找的城市(在我的例子中:<a href="http://weather.yahoo.com/venezuela/anzoategui/lecheria-420107/" rel="nofollow">http://weather.yahoo.com/venezuela/anzoategui/lecheria-420107/</a>)</p></li>
<li><p>查看该页面的源代码(在googlechrome中:right clic>;“查看页面源代码”。对不起,我想说得具体一点)。</p></li>
<li><p>在代码中,搜索:“weather.com/weather/extended“</p></li>
<li><p>城市的标识符是该链接旁边的值,在我的例子中:VEXX0025</p></li>
</ol>
<p>希望这个提示能帮助任何人!在</p>