Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我需要获取某个城市的天气时,我放了这个链接: http ://weather.yahooapis.com/forecastrss?w=713169
但是如何获得所有国家/地区的城市代码(id)?也许是一些xml,rss?
谢谢
看到这个:forecastrss?w=713169 这个w参数是你的WOEID。我认为 WOEID 是雅虎发明的,意思是 WehereOnEarthID。所以做一个谷歌搜索WOEID列表,你会找到答案。
forecastrss?w=713169
w