Mysodexo Python client
Project description
Mysodexo Python client
A Python client for the Mysodexo reverse engineered API.
Install & Usage
Install it with pip.
pip install mysodexo
Then use the command line client.
mysodexo --balance
Or the library.
from mysodexo import api
session, account_info = api.login("foo@bar.com", "password")
dni = account_info["dni"]
cards = api.get_cards(session, dni)
card = cards[0]
card_number = card["cardNumber"]
card_details = api.get_detail_card(session, card_number)
card_details["cardBalance"]
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
sodexo-20191112.tar.gz
(6.4 kB
view hashes)
Built Distribution
Close
Hashes for sodexo-20191112-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 306ad988388106c37f119e6643e99663058fd1467f0d0350ac6fc4a3e8ed5625 |
|
MD5 | d710a78c2d96b8908f59bbb78870a864 |
|
BLAKE2b-256 | a13ed7ebd5a43545bf4cb027da559f92cc49ea7196540169ec65bd6be6e7d2cf |