Yahoo Weather API から気温を取得したいのですが、次のコードを使用しています。
http://query.yahooapis.com/v1/public/yql?q=select * from weather.forecast where location%3D"48906"&format=json
温度を取得したいだけで、他には何もありません。
温度を取得したいだけで、他には何もありません。
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/