Skip to content

Check every 10 minutes if a seat opened up in classes of your choosing using API endpoints and python.

Notifications You must be signed in to change notification settings

LaishGlenberg/find-open-seats-python

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 

Repository files navigation

find-open-seats-python

Check every 10 minutes if a seat opened up in classes of your choosing using API endpoints and python. Includes tutorial for running on Raspberry Pi.

How to run on Raspberry Pi:

  1. ssh <user>@<ip> (connect to the pi, use 'ping raspberrypi.local' to find the ip)

    • Can also use: ssh <user>@raspberrypi.local
  2. python3 --version (make sure python is configured)

    • (if not configured)
    • sudo apt update
    • sudo apt install python3
    • sudo apt install python3-pip
  3. git clone https://github.com/weadsy/find-open-seats-python.git (clone the repo)

  4. cd find-open-seats-python (enter the repo)

  5. python3 -m venv venv (create virtual environment)

  6. source venv/bin/activate (activate virtual environment)

  7. pip install requests (install request library)

  8. tmux (optional, start a tmux session if you want the script to keep running after you disconnect from ssh. Can also use 'screen')

  9. python check_classes.py (run the script)

tmux attach -t 0 (reattach to the session, use 'tmux ls' to see running sessions).

tmux kill-session -t 0 (end the session)

About

Check every 10 minutes if a seat opened up in classes of your choosing using API endpoints and python.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages