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"]
Metadata
Release files for sodexo 20191112
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sodexo-20191112.tar.gz | 6.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sodexo-20191112-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.9 kB
Release files / sodexo-20191112.tar.gz
| Download URL | sodexo-20191112.tar.gz |
|---|---|
| Size | 6.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cfe826017dc0a1faeeb970f43ecf39c6d2e480a8350433eec684dd28073207dd
|
|
BLAKE2b-256 checksum How to use checksums |
be6d4c5eb034e72234bdf52afadc05d6b838351d1a0907175c62899464fdc15f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|
Release files / sodexo-20191112-py3-none-any.whl
| Download URL | sodexo-20191112-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
306ad988388106c37f119e6643e99663058fd1467f0d0350ac6fc4a3e8ed5625
|
|
BLAKE2b-256 checksum How to use checksums |
a13ed7ebd5a43545bf4cb027da559f92cc49ea7196540169ec65bd6be6e7d2cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.8
|