Expand description
気象情報。 気象庁の非公式 API へアクセスする。
- office-code: 気象台のコード。北海道以外は概ね都道府県ごと。
- class10-code: 一次細分区域。天気予報を行う区分。
- class20-code: 二次細分区域。天気予報を行う区分。
https://www.jma.go.jp/jma/kishou/know/saibun/
参考 https://github.com/misohena/el-jma/blob/main/docs/how-to-get-jma-forecast.org
Structs§
- AiReadable
Weather - Area
- Area
Array Element - Date
Data 🔒Elem - Forecast
- JmaArea
Def 🔒 - JmaOffice
Info - Overview
Forecast - Temp
Precip Average - Time
Series
Enums§
Constants§
- JMA_
AREA_ 🔒JSON - https://www.jma.go.jp/bosai/common/const/area.json
- JMA_
TELOPLS_ 🔒JSON - https://www.jma.go.jp/bosai/forecast/
Statics§
Functions§
- edit_
distance 🔒 - https://ja.wikipedia.org/wiki/%E3%83%AC%E3%83%BC%E3%83%99%E3%83%B3%E3%82%B7%E3%83%A5%E3%82%BF%E3%82%A4%E3%83%B3%E8%B7%9D%E9%9B%A2
- edit_
distance_ 🔒normalized - fill_
by_ 🔒element - office_
list 🔒 - office_
name_ to_ code - offices
- url_
forecast - office_code から forecast URL を得る。
- url_
overview_ forecast - office_code から overview_forecast URL を得る。
- weather_
code_ 🔒map - weather_
code_ to_ string - weather_
to_ ai_ readable - AI にも読みやすい JSON に整形する。