Thanks to visit codestin.com
Credit goes to github.com

Skip to content

buggy1985/threebalance

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Simple tool for getting UK Three PAYG phone and internet balances

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published