Skip to content

juliuste/websozicms-calendar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

websozicms-calendar

Queries a WebSoziCMS website for events.

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

Installation

npm install websozicms-calendar

Usage

const calendar = require('websozicms-calendar')

const events = calendar('http://cool-organization.com').then()

You need to provide the base URL of the WebSoziCMS website you want to query as a single parameter. Returns a Promise that resolves in a list of events which looks like this:

{
	location: 'Zum wilden Troll, Meister-Eder-Platz 8, 48484 Blubdorf', // optional
	start: '2017-03-03T18:30:00.000Z', // Date() Object
	end: '2017-03-03T21:00:00.000Z', // Date() Object, optional
	title: 'Monthly meeting',
	organization: {
		id: 'spdbutzwest',
		name: 'SPD Butz-West'
	}
}

Contributing

If you found a bug or want to propose a feature, feel free to visit the issues page.

About

Queries a WebSoziCMS website calendar.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published