Skip to content

Get your last lessons as calendar entries on macOS using the WebUntis API.

Notifications You must be signed in to change notification settings

laurensk/webuntis-lastlesson

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

LastLesson for WebUntis

This is a small Node.js/AppleScript script to get the last lessons of a school week (daily) in the macOS Calendar as an entry.

Installation and Setup

  1. Clone this repository and install 'webuntis' and 'node-osascript' via npm or yarn.
  2. Open 'app.js' and change the macOS Calendar (macOSCalendarName) name to the correct calendar for you.
  3. Provide school, username, password and server for your school/user account at WebUntis.

Run and Use LastLesson for WebUntis

After you finished the installation and setup process, you can now start using LastLesson for WebUntis.

LastLesson for WebUntis is designed to create an entry for each day starting from Monday:

node app.js "2020-06-29"

Please note that the day of the date must be a Monday.

Note

I wrote this script on a rainy day to get this running/working quickly. There might be issues and bugs.

Feel free to fork this repository and create pull requests - I'll gladly accept them.

About

Get your last lessons as calendar entries on macOS using the WebUntis API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published