fes-calendar
v1.0.0
Published
Queries the Friedrich-Ebert-Stiftung (FES) event calendar
Downloads
1
Maintainers
Readme
fes-calendar
Queries the Friedrich-Ebert-Stiftung (FES) event calendar website for events.
Installation
npm install fes-calendar
Usage
const calendar = require('fes-calendar')
const events = calendar(startDate, endDate).then(…)
Returns a Returns a Promise that resolves in a list of events in the time period between given startDate
and endDate
(required). All texts are markdown-formatted.
{
id: '212212',
title: 'Politik um 12',
description: 'This is a description text.',
mail: '[email protected]',
'contact-person': 'Peter Testperson',
'contact-address': 'FIS NRW, Charles Place 22, 44444 Borsteln',
start: '2017-06-30T18:00:00.000Z', // JS Date()
end: '2017-06-31T09:00:00.000Z' // JS Date(), optional
location: 'Blubdorf',
fee: 0, // in EUR
info: 'keine Plätze mehr',
childcare: false,
attachments: '[FE6_www.pdf](https://www.fis.di/oas6_www.pdf)\n[FGHS](https://www.fis.di/oblunk.pdf)',
organization: {
name: 'Friedrich-Ebert-Stiftung',
id: 'fes'
}
}
// …
Contributing
If you found a bug or want to propose a feature, feel free to visit the issues page.