Skip to content

A script to notify you every hour of your Telkom (KE) balance

License

Notifications You must be signed in to change notification settings

omushpapa/telkombalance

Repository files navigation

Telkom Balance

Get notification every hour on your airtime balance, data bundle balance and extras as acquired from the customer portal.

Usage

Install requirements

$ pip install -r requirements.txt

Edit config file

Edit the sample defaults.ini appropriately:

  1. Rename it to defaults.ini

  2. Change the value of driverspath to the location of the downloaded drivers

  3. Enter the file name of the driver (either at chromedrivername or firefoxdrivername)

  4. Fill in your login credentials in the credentials section

Add a cron job (*NIX-based OS)

$ crontab -e

Paste this:

1 */1 * * * /usr/bin/python3 /path/to/balance.py > /path/to/log-file.log

Windows

Run (and keep it running*)

python3 C:\path\to\schedule.py

Meta

Thanks to Telkom KE

License MIT

Have fun...

*I will find a better way ;))

PS: This repo is in no way associated with Telkom KE and will definitely be affected by changes in their customer portal.

About

A script to notify you every hour of your Telkom (KE) balance

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages