Skip to content

Queries the Friedrich-Ebert-Stiftung (FES) event calendar.

License

Notifications You must be signed in to change notification settings

juliuste/fes-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fes-calendar

Queries the Friedrich-Ebert-Stiftung (FES) event calendar website for events.

npm version Build Status Greenkeeper badge dependency status license chat on gitter

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: 'paula.blub@fis.di',
	'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.

About

Queries the Friedrich-Ebert-Stiftung (FES) event calendar.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published