Simple command line tool and Rack app for getting your mobile balances if you are a UK Three PAYG customer.
bin/run 07405554445 password123
It will output 3 lines with the following values:
- balance in pennies
- available internet allowance in megabytes
- days until your internet allowance expires
heroku create johnsthreebalance
heroku config:add THREE_PHONE_NUMBER=07405554445 THREE_PASSWORD=password123
git push heroku master
Then navigate to johnsthreebalance.herokuapp.com, you will get three lines, which are described above.
If you get Mechanize::UnsupportedSchemeError, that probably means your
login details are incorrect.