Get notified about open registration spots for classes at USC.
- 2016/12/7: Script accepts a configurable query via JSON, prints section IDs and whether there is an opening in the class
- Install dependencies (recommended to use venv):
pip install -r requirements.txt
- Configure query in JSON:
// data.json
{
{
"username": "1234567890", // USC ID #
"password": "passcode", // 8 character USC passcode
"query": {
"term": "20171", // 5 digit code
"department": "WRIT", // 4 character code
"course": "340", // 3 digit code
"section": ["65035 R", "65105 R", "65110 R"] // list of section IDs
}
}
}
- Run script:
python app.py data.json