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
mysodexo-20191114.tar.gz
(6.7 kB
view hashes)
Built Distribution
Close
Hashes for mysodexo-20191114-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 40ad34da2dfe16c8a4b7c3d24044797e83e7e0bb1566e75114bea89c580c8e35 |
|
MD5 | 6fd924cff8f57f008db5ff286f6e251f |
|
BLAKE2b-256 | 3f5a77eba99178a2fbf04f0629145bdb6bbe380ccd2df7bb0560db309728773b |