Metrocard补充脚本
metrocard-topup的Python项目详细描述
Metrocard加油站
用一个脚本填充你的Metrocard
用法
- 在
克隆回购
在 - 在
安装要求来自
在requirements.txt
- 在
从Mozilla安装
在geckodriver
- 在
在
在src/
内创建一个名为credentials.py
的文件
> cat src/credentials.py
#!/usr/bin/env python3
# Metrocard credentials
# Your metrocard number in string format
metrocard_number = ""
# Your metrocard password in string format
metrocard_password = ""
# Credit card credentials
# Your credit card number in string format
credit_card_number = ""
# Your credit card name in string format
credit_card_name = ""
# Your credit card expiry month in int format
credit_card_expiry_month =
# Your credit card expiry year in string format
credit_card_expiry_year = ""
# Your credit card cvc in string format
credit_card_cvc = ""
# Email credentials
email_username = ""
email_password = ""
免责声明
你有责任保护你的credentials.py
的安全
- 项目
标签: