An open API service indexing awesome lists of open source software.

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

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 master

Then 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.