https://github.com/bagilevi/threebalance
Simple tool for getting UK Three PAYG phone and internet balances
https://github.com/bagilevi/threebalance
Last synced: 3 months ago
JSON representation
Simple tool for getting UK Three PAYG phone and internet balances
- Host: GitHub
- URL: https://github.com/bagilevi/threebalance
- Owner: bagilevi
- Created: 2012-12-05T22:54:53.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2012-12-05T22:55:06.000Z (over 12 years ago)
- Last Synced: 2025-01-13T04:41:47.593Z (4 months ago)
- Language: Ruby
- Size: 96.7 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simple command line tool and Rack app for getting your mobile balances
if you are a UK Three PAYG customer.# Command line usage
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# Deploying to Heroku
heroku create johnsthreebalance
heroku config:add THREE_PHONE_NUMBER=07405554445 THREE_PASSWORD=password123
git push heroku masterThen navigate to johnsthreebalance.herokuapp.com, you will get three
lines, which are described above.# Troubleshooting
If you get `Mechanize::UnsupportedSchemeError`, that probably means your
login details are incorrect.