Skip to content

nitsanshai/cmu-grades

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cmu-grades

Note: If you're just curious about using the Shibboleth/WebISO authentication, take a look at auth.py.

CMU-Grades is a Python app for CMU students which will text you via Twilio whenever you get new grades on Blackboard, Autolab, or Academic Audit (i.e. final grades).

To setup, first you need to install pip and run pip install -r requirements.txt.

Then, to use the provided authorization functions, you need to change your config.py file to look like:

USERNAME = 'ANDREWID'
PASSWORD = 'YOURPASSWORD'
ACCOUNT_SID = 'TWILIO_ACCOUNT_ID'
AUTH_TOKEN = 'TWILIO_AUTH_TOKEN'
PHONE_NUMBER = '+YOUR_PHONE_NUMBER'
TWILIO_NUMBER = '+TWILIO_PHONE_NUMBER'
EMAIL = 'YOUR EMAIL'
EMAIL_PASSWORD = 'YOUR EMAIL PASSWORD'
NAME = 'YOUR NAME'

As you can see, using an automated login requires storing your password. Hence, I do not endorse the use of this API on the grounds of security--storing your password somewhere is bad! But, you know, if you really need automated logins, the option is there. I personally base64 encoded my password so it's not immediately obvious when you open the file.

To install the texting service, run python app.py install_text. Similarly, to install the email service, run python app.py install_email.

To uninstall a service, run python app.py uninstall_text or python app.py uninstall_email.

About

Gets your grades from CMU services

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%