fetch-jr-delays
v1.0.1
Published
JRを含む日本の鉄道の遅延情報を取得します
Downloads
5
Readme
fetch-jr-delays
鉄道コムの運行情報サイト更新状況のフィードから、遅延が発生している路線を取得します。
Installation
Using npm:
$ npm install fetch-jr-delays
Usage
const fetchJrDelays = require('fetch-jr-delays')
;(async () => {
const delays = await fetchJrDelays()
console.log(delays)
})()
API
fetchJrDelays()
- returns: <Promise<Array<?Object>>>
name
<string>company
<string>lastUpdated
<number>link
<string>