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-20221022.tar.gz
(8.0 kB
view hashes)
Built Distribution
Close
Hashes for sodexo-20221022-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bde31580c8ff9b48470b1fce56af4ce3bda65c2254c5bf61bc4121f5e1b5ecb |
|
MD5 | 2cf2c3134b5edcdf5dda5bb4aae4bd31 |
|
BLAKE2b-256 | d6816604d4daf1d80d4c88078dff7987cf8f409e57556702b2a368df03d87478 |