Skip to content

Desktop notifier for canvas assignments and information

Notifications You must be signed in to change notification settings

jack-ary/canvas-reminder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 

Repository files navigation

canvas-reminder

Desktop notifier for canvas assignments and information. This program will send a desktop notification telling you what assignments are due the day that the program is run. I have my program scheduled to run every day in the morning when I know I will be on my computer. See step 5 for scheduling the program to run as a task.

Notes:

  1. If an assignment is due before the time that you run the program, it will not be a part of the notification, evening though that assignment was still due 'today,' because its due date has already passed. The program does however account for assignments that are marked as 'all_day', and they will appear on the desktop notification the day that they are due.
  2. The command prompt will briefly open as part of running the program as a task, but you don't have to use it, and it will automatically close when the task has been executed.
  3. The canvas API uses times in UTC, so this program converts those times to the time zone used by the machine the code is run on, in order to determine due dates.

Implementation:

  1. Install the correct libraries with the command line:

pip install canvas api

pip install plyer

pip install python-dateutil

  1. Obtain your canvas user-id, the five-digit number at the end of your canvas URL

https://canvas.schoolname.edu/about/12345

  1. Obtain your API access key from your canvas profile settings under 'approved integrations'

  2. Paste your canvas URL, API access key, and user-id into main.py

  3. To schedule when your Windows computer will run the program, you must put it in a task (you must use task scheduler, not task manager). Follow these steps.

References:

Canvas API documentation

Sending desktop notifications

Using the Canvas API

Converting UTC times

About

Desktop notifier for canvas assignments and information

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages