Giter Club home page Giter Club logo

course-monitor's Introduction

UBC Course Availability Notifier

The Course Availability Notifier is a Python script that allows users to receive notifications via Discord when a specific course for the University of British Columbia, Vancouver becomes available. This script automates the process of checking the availability of a course and sends real-time updates to a designated Discord server.

Multiple courses can be monitored simultaneously. The script runs periodically, at an interval that can be customized, and a notification is sent whenever the course has seats available.

Prerequisites

To use the Course Availability Notifier, ensure you have the following:

  • Python: Make sure you have Python 3.6 or later installed on your system.
  • Discord Account: You will need a Discord account and a server with or channel where notifications will be sent.
  • Dependencies: Install the required Python packages by running pip install for the several modules used.

Deployment

  • To deploy this project create a discord server to receive the notifications, navigate to integrations, add a webhook, and paste the webhook URL in main.py (line 12)
discord = Discord(url="<web hook url>")
  • Add however many courses in the suitable format in the dictionary in the file main.py (line 17)
  courses = {"Department Abbreviation": "Course Number"}
  • The restriction for the course monitoring can be changed in main.py (line 42)
if term == "1" and type == "Lecture" and status == '':

course-monitor's People

Contributors

parthsanan avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.