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 details)
Built Distribution
File details
Details for the file sodexo-20221022.tar.gz
.
File metadata
- Download URL: sodexo-20221022.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8fbcc1a8a8b12d73cc3d8aea9b21ef4b04de718a843e7528ed660a51f8144ece |
|
MD5 | 1708b64bc465cd6bbdad3c8782199951 |
|
BLAKE2b-256 | f7c60016dc274e9ee7e6a532fb60b247b5567f8ad2cb9b2c2ed12063941634f3 |
File details
Details for the file sodexo-20221022-py3-none-any.whl
.
File metadata
- Download URL: sodexo-20221022-py3-none-any.whl
- Upload date:
- Size: 8.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0bde31580c8ff9b48470b1fce56af4ce3bda65c2254c5bf61bc4121f5e1b5ecb |
|
MD5 | 2cf2c3134b5edcdf5dda5bb4aae4bd31 |
|
BLAKE2b-256 | d6816604d4daf1d80d4c88078dff7987cf8f409e57556702b2a368df03d87478 |