Small PhantomJS-based application for Yota.ru personal cabinet.
Copyright (C) 2013 Max Garmash [email protected] @linx56
You need to download and install PhantomJS for your platform.
Then you can issue some commands:
phantomjs yota.js your_login your_password [command] [parameter]
check
or no command - default command, shows current active offer and remaining days.
switch
- activates another offer, parameter is mandatory and must be one of list
command results
list
- list of available parameters for switch
command
phantomjs yota.js your_login your_password switch 5.0
Sometimes script have some timing issues. You can enable debug mode for PhantomJS with --debug=yes
.