0

Yahoo Weather API から気温を取得したいのですが、次のコードを使用しています。

http://query.yahooapis.com/v1/public/yql?q=select * from weather.forecast where location%3D"48906"&format=json

温度を取得したいだけで、他には何もありません。

4

1 に答える 1

0

温度を取得したいだけで、他には何もありません。

2 段階のプロセスです。リクエストを作成し、結果を処理して温度を取得する必要があります。

参照してください: http://tutorialzine.com/2012/05/weather-forecast-geolocation-jquery/

http://www.onextrapixel.com/2011/08/22/adding-weather-to-your-site-with-jquery-and-yql/

于 2014-02-18T02:06:47.360 に答える