Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Exposes a Zenduty schedule as an ICS calendar

Notifications You must be signed in to change notification settings

shieldwed/zenduty-calendar

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zenduty-calendar

Exposes a Zenduty schedule as an ICS calendar. Multiple endpoints are possible:

/calendar/:teamUUID/:scheduleUUID/:memberEmail

Return the specific zenduty team schedule as an ICS calendar. Only keep events where the given member is part of. The ":team" and ":schedule" parts need to be UUIDs of the corresponding zenduty team and schedule. The passed ":member" needs to be an email address of the zenduty user for whom events should be retained.

/myschedule

Returns a combined ICS calendar from all zenduty schedules where the logged in user (ZENDUTY_USERNAME env variable) is part of. Only events for the logged in user will be retained.

/myschedule/:member

Similar to the above endpoint, but the the combined schedule will be created for the given ":member" which needs to be an email address of a zenduty user.

Configuration

The following environment variables can be configured:

  • PORT: Port for the application to listen on
  • ZENDUTY_USERNAME: Zenduty username (ics is only supported with user credentials)
  • ZENDUTY_PASSWORD: Zenduty password

About

Exposes a Zenduty schedule as an ICS calendar

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 90.2%
  • HTML 7.0%
  • Dockerfile 2.8%