See http://odorik.readthedocs.io/en/latest/ for module documentation.
See http://www.odorik.cz/w/api for API documentation.
Use pip to install:
pip install odorik
The module comes with handy command line utility:
$ odorik balance
balance: 123.45
$ odorik mobile-data --phone 00420789123456
bytes_total: 111593707
bytes_down: 87039672
bytes_up: 24554035
price: 0
$ odorik send-sms 00420789123456 "Ahoj, jak se mas?"
$ odorik summary
Pepa
id: 716000
public_number: 00420789789789
call_count: 58
sms_count: 42
bytes_total: 145921813
data_price: 0.01
call_price: 24.28
sms_price: 12.31
price: 36.59
Franta
id: 717000
public_number: 00420789123456
call_count: 11
sms_count: 0
bytes_total: 0
data_price: 0
call_price: 2.20
sms_price: 0
price: 2.20
See http://odorik.readthedocs.io/en/latest/command.html for more information.