Skip to main content

Metrocard Topup Script

Project description

Metrocard-Topup

Tops up your Metrocard with a single script

Usage

  • Clone the repo

  • Install requirements from requirements.txt

  • Install geckodriver from Mozilla

  • Create a file inside src/ called 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 = ""

Disclaimer

You are responsible for keeping your credentials.py safe

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

metrocard_topup-0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file metrocard_topup-0.1-py3-none-any.whl.

File metadata

  • Download URL: metrocard_topup-0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.42.1 CPython/3.7.3

File hashes

Hashes for metrocard_topup-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a5b68980aabfdc164d7b911a2ca065fafb580fc68598608e3b8163616cbbf4f8
MD5 4e9c53925dacef7357a4ee6ce42c0e12
BLAKE2b-256 804aec1bb386f26b3fd4bbea501c8c405aafaa7c31f96ac47bdcbf16e1f72615

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page