8000 GitHub - Armour/upass-sfu: 🚌 Python script to auto renew monthly UPass for SFU student
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Armour/upass-sfu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

upass-sfu

PRs Welcome License: MIT Template from jarvis

This script helps SFU students renew their U-Pass monthly.

How To Run

1. Update your SFU username and password in config.json

{
  "username": "username",
  "password": "password",
  "ifttt_event": "optional",
  "ifttt_key": "optional"
}

In the json file, ifttt config is optional. If ifttt is provided, the script will trigger corresponding ifttt actions when request fails.

2. Run the following command

python3 upass.py

The script renews your U-Pass.

Automation

In Unix-like systems, use crontab to run this script automatically and periodically. The following command is an example of how to setup crontab for this script:

0 0 20 * * /path/to/python3 /path/to/upass.py

An alternative method to automatically renew your U-Pass is to create a desktop App or an iOS App, which I may implement in the future.

Contribution

See CONTRIBUTING.md

License

MIT License

About

🚌 Python script to auto renew monthly UPass for SFU student

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages

0