JSON
履歴一覧
差分
を表示
現在との差分
を表示
ソース
を表示
JSON
へ行く。
1 (令和 5年 4月 11日 (火) 20:26:55)
2 (令和 5年 4月 11日 (火) 20:58:27)
JSON
†
↑
jqコマンド
†
sahoには入ってないので自力で入れる必要あり。
jq コマンドの Linux への速攻インストール - Qiita
使用例
cat 270000.json |jq -r .[0].timeSeries[0].areas[0].weatherCodes[0] cat wcode.json |jq -r '."100"[1]'
270000.json はこれ →
https://www.jma.go.jp/bosai/forecast/data/forecast/270000.json
wcode.json はここに載ってるのをファイル化したもの →
気象庁JSON ファイルにある weatherCode 一覧 │ TEAM T3A