Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 834 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 834 Bytes

yota-script

Small PhantomJS-based application for Yota.ru personal cabinet.

Copyright (C) 2013 Max Garmash [email protected] @linx56

Usage

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]

Available commands:

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

Sample

phantomjs yota.js your_login your_password switch 5.0

Limitations && problems

Sometimes script have some timing issues. You can enable debug mode for PhantomJS with --debug=yes.