Giter Site home page Giter Site logo

jvniorrr / course-availability-csus Goto Github PK

View Code? Open in Web Editor NEW
3.0 1.0 1.0 11 KB

Quick script I made to check the availability of courses at Sacramento State. Notifies a user if a section becomes available. Script made using the CSUS Scheduler API.

Python 100.00%

course-availability-csus's Introduction

CSUS Course Availability

Quick script used to check available courses from Sacramento State University. Will periodically check the CSUS Course API and will notify a user if a section opens up.

Setup

  1. Download python https://www.python.org/downloads/
  2. Clone the repository to your local machine.
  3. Once you have cloned the repository, change directories (cd) into the cloned repository.
  4. Create a virtual env for your project.
    • WIN: python3 -m venv venv -> venv\Scripts\activate.bat
    • MAC: python3 -m venv venv -> source venv\bin\activate
  5. Once you have your environment setup, install the required dependencies. pip3 install -r requirements.txt
  6. Edit the config.json file with the course, and term you are looking for. If you would like to recieve SMS notifications from twilio, setup an account and set the properties accordingly in config.json. Else just set the utilize value to false.
    • If you are using twilio navigate to https://console.twilio.com/, setup a plan for a phone number and retrieve your Account SID and Token. Insert the SID and token into a .env file as below.
      • .env Setup
  7. Run the script and await a notification. python3 main.py
  8. Best of Luck!! >:)

course-availability-csus's People

Contributors

jvniorrr avatar

Stargazers

 avatar Victor Severin avatar brian avatar

Watchers

 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.