Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 683 Bytes

README.md

File metadata and controls

27 lines (22 loc) · 683 Bytes

lambda-waterLevelTrendAPI

Overview

現在の降水量の傾向を返します。
データは10分毎に更新されます。
データは30分前の傾向データになります。

Request

Method : GET
Endpoint : /production/water-level-trend/{country}/{prefectures}/{river}
PathParameter :

  1. {country} : 国名を指定 ex)japan, taiwan
  2. {prefectures} : 都道府県を指定 ex)tokyo, taipei
  3. {river} : 河川名を指定 ex)arakawa, danshui

Response

以下の Json を返します。

{
  "timestamp": "2017-08-12T12:50:00",
  "trend": "↑"
}

timestamp : 分析時点の日時(UTC)
trend : 降雨量の傾向(↑、↓、→)