chess-autoplan

Automatically adjust plan size depending on current usage

Chess Autoplan

Automatically adjust 4G data plan size depending on the current's month usage.

It selects the smallest plan that has at least 0.5 GB to spare. If the current plan already is the best, no action is taken.

To run:

shards build
CHESS_USERNAME=<123> CHESS_PASSWORD=<zyz> bin/autoplan

You should see something like this:

Current usage is 2.1 GB
The 5 GB Plan is still the best plan

Note that the password must be URI encoded (replace spaces with a plus)

To run test:

crystal spec
Repository

chess-autoplan

Owner
Statistic
  • 0
  • 0
  • 0
  • 0
  • 0
  • over 7 years ago
  • June 18, 2017
License

Links
Synced at

Sat, 21 Dec 2024 21:33:06 GMT

Languages