・指定した緯度経度の雨の強さを取得できるAPIです。 ・現在時刻の降水強度実測値から、60分後までの降水強度予測値を取得できます。
curl -s 'https://map.yahooapis.jp/weather/V1/place?coordinates=139.69,35.69&appid=YOUR_APPID&output=json' | jq { "ResultInfo": { "Count": 1, "Total": 1, "Start": 1, "Status": 200, "Latency": 0.002806, "Description": "", "Copyright": "(C) Yahoo Japan Corporation." }, "Feature": [ { "Id": "201711031800_139.69_35.69", "Name": "地点(139.69,35.69)の2017年11月03日 18時00分から60分間の天気情報", "Geometry": { "Type": "point", "Coordinates": "139.69,35.69" }, "Property": { "WeatherAreaCode": 4410, "WeatherList": { "Weather": [ { "Type": "observation", "Date": "201711031800", "Rainfall": 0 }, { "Type": "forecast", "Date": "201711031810", "Rainfall": 0 }, { "Type": "forecast", "Date": "201711031820", "Rainfall": 0 }, { "Type": "forecast", "Date": "201711031830", "Rainfall": 0 }, { "Type": "forecast", "Date": "201711031840", "Rainfall": 0 }, { "Type": "forecast", "Date": "201711031850", "Rainfall": 0 }, { "Type": "forecast", "Date": "201711031900", "Rainfall": 0 } ] } } } ] }
curl -s 'https://map.yahooapis.jp/weather/V1/place?coordinates=139.69,35.69&appid=YOUR_APPID&output=json' | jq '.Feature[].Property.WeatherList.Weather[] | [.Type,.Date, .Rainfall] | @tsv' -r observation 201711031805 0 forecast 201711031815 0 forecast 201711031825 0 forecast 201711031835 0 forecast 201711031845 0 forecast 201711031855 0 forecast 201711031905 0
「Weather Hacks」では、WebサービスとRSSフィード、ブログ向けお天気プラグイン、iCalフィードなどのデータを提供しています。
curl -s 'http://weather.livedoor.com/forecast/webservice/json/v1?city=130010' | jq { "pinpointLocations": [ { "link": "http://weather.livedoor.com/area/forecast/1310100", "name": "千代田区" }, ... { "link": "http://weather.livedoor.com/area/forecast/1330800", "name": "奥多摩町" } ], "link": "http://weather.livedoor.com/area/forecast/130010", "forecasts": [ { "dateLabel": "今日", "telop": "晴のち曇", "date": "2017-11-03", "temperature": { "min": null, "max": null }, "image": { "width": 50, "url": "http://weather.livedoor.com/img/icon/5.gif", "title": "晴のち曇", "height": 31 } }, { "dateLabel": "明日", "telop": "曇時々晴", "date": "2017-11-04", "temperature": { "min": { "celsius": "13", "fahrenheit": "55.4" }, "max": { "celsius": "22", "fahrenheit": "71.6" } }, "image": { "width": 50, "url": "http://weather.livedoor.com/img/icon/9.gif", "title": "曇時々晴", "height": 31 } }, { "dateLabel": "明後日", "telop": "晴時々曇", "date": "2017-11-05", "temperature": { "min": null, "max": null }, "image": { "width": 50, "url": "http://weather.livedoor.com/img/icon/2.gif", "title": "晴時々曇", "height": 31 } } ], "location": { "city": "東京", "area": "関東", "prefecture": "東京都" }, "publicTime": "2017-11-03T17:00:00+0900", "copyright": { "provider": [ { "link": "http://tenki.jp/", "name": "日本気象協会" } ], "link": "http://weather.livedoor.com/", "title": "(C) LINE Corporation", "image": { "width": 118, "link": "http://weather.livedoor.com/", "url": "http://weather.livedoor.com/img/cmn/livedoor.gif", "title": "livedoor 天気情報", "height": 26 } }, "title": "東京都 東京 の天気", "description": { "text": " 上空の気圧の谷が西日本にあって、東へ進んでいます。また、低気圧が日\n本海にあって、東へ進んでいます。\n\n【関東甲信地方】\n 関東甲信地方は、晴れや曇りとなっています。\n \n 3日は、はじめ晴れる所もありますが、上空の気圧の谷の影響で、曇りと\nなる所が多いでしょう。\n\n 4日は、寒冷前線が通過し、一時的に冬型の気圧配置となるため、曇りや\n晴れで雨の降る所がある見込みです。長野県や関東北部山沿いの標高の高い\n所では、午後は次第に雪に変わるでしょう。\n\n 関東近海では、4日にかけて、うねりを伴い波がやや高いでしょう。\n\n【東京地方】\n 3日は、はじめ晴れますが、夜には曇りとなるでしょう。\n 4日は、曇り時々晴れで、夕方から夜のはじめ頃は雨の降る所がある見込\nみです。", "publicTime": "2017-11-03T16:44:00+0900" } }
curl -s 'http://weather.livedoor.com/forecast/webservice/json/v1?city=130010' | jq '.forecasts[] | [.dateLabel, .date, .telop, .temperature.max.celsius, .temperature.min.celsius] | @tsv' -r 今日 2017-11-03 晴のち曇 明日 2017-11-04 曇時々晴 22 13 明後日 2017-11-05 晴時々曇
NHK放送センター(東京・渋谷)の施設を公開し、ステージショーやワークショップ、参加型の展示など、番組の"本物"を体験したり、キャラクターたちと交流できるイベントです(入場無料)。