fetch-db-operating-status
v1.0.1
Published
Fetch major alerts about the operating status of Deutsche Bahn.
Downloads
1
Maintainers
Readme
fetch-db-operating-status
Fetch major alerts about the operating status of Deutsche Bahn.
Installation
npm install fetch-db-operating-status
Usage
const fetchOperatingStatus = require('.')
fetchOperatingStatus()
.then(console.log)
.catch(console.error)
{
messageId: 9086315,
translations: {
en: {
title: 'Strike is over',
message: 'Minor disruption to rail services can still occur.',
link: 'https://www.bahn.de/p/view/service/aktuell/index.shtml'
},
de: {
title: 'Nach Streikende: Bahnverkehr stabilisiert sich weiter.',
message: 'Für Dienstag, 11.12. regulärer Zugverkehr erwartet. ',
link: 'https://www.bahn.de/p/view/service/aktuell/index.shtml?dbkanal_007=L01_S01_D001_KIN0001_blitzbox-bahndeaktuell-021218_LZ01'
}
}
}
Contributing
If you have a question or need support using fetch-db-operating-status
, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.