A tool to fund WatCard in an easy way
Project description
fund-my-watcard
This is a convenient tool to fund your WatCard easily. I am too lazy to do it by my hand everytime, so I write this tool.
Installation
pip3 install fund-my-watcard
Usage
teachertian@v1040-wn-rt-c-83-249 ~/PycharmProjects/fundmywatcard: watcard
usage: watcard [-h] [-c | -f FUND | -v]
Fund my WatCard: A tool to fund WatCard easily.
optional arguments:
-h, --help show this help message and exit
-c, --config generate the config file
-f FUND, --fund FUND the fund amount to the WatCard
-v, --version show the version of fund-my-watcard
An example of .watcard_config:
{
"userName": "s123zhang",
"password": "1234567",
"ordName": "San Zhang",
"phoneNumber": "123 456 7890",
"address1": "123 Queen Street West",
"address2": "",
"ordPostalCode": "A1B2C3",
"ordCity": "Waterloo",
"ordEmailAddress": "zhangsan@gmail.com",
"paymentMethod": "CC",
"trnCardOwner": "San Zhang",
"trnCardType": "MC",
"trnCardNumber": "1234567890123456",
"trnExpMonth": "01",
"trnExpYear": "25",
"trnCardCvd": "123"
}
Payment Method should be "CC" (Credit Card). Do not support Interac Online.
Card Type can be "MC" (Mastercard), "VI" (Visa), "PV" (VISA Debit), "MD" (Debit Mastercard) or "AM" (AMEX).
Contributing
Please install dev-requirements.txt
instead of requirements.txt
. After that, run dev-init.sh
to install the pre-commit hook to force PEP8 style checking.
Plan
- Tests
- Docker
- Check the balance and fund automatically
- More robust
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fund-my-watcard-0.2.0.tar.gz
(4.4 kB
view hashes)
Built Distribution
Close
Hashes for fund_my_watcard-0.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2f436bf4c0d92e553c69efcfa564c91f75987959ed0e75bc0b203a4473ed06ad |
|
MD5 | 3cd8c20d4ee776856e43c12aaedaefdf |
|
BLAKE2b-256 | 1a7a0c32eaf6343382a6b972f859bd3a2a755179c30a9cbc4b18076f0c973489 |