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"]
Release files for sodexo 20191114
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-20191114.tar.gz | 6.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sodexo-20191114-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 15.5 kB
Release files / sodexo-20191114.tar.gz
| Download URL | sodexo-20191114.tar.gz |
|---|---|
| Size | 6.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
123253a6dfc7366f5d1731785aeae604ba7b3dd806ba3c025cad5dee91702804
|
|
BLAKE2b-256 checksum How to use checksums |
ece8e084ee97c6e6e3db972e618c20b8f2ee5317d9e9ae071ced0ea8fec2b574
|
| 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-20191114-py3-none-any.whl
| Download URL | sodexo-20191114-py3-none-any.whl |
|---|---|
| Size | 8.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c917f9abdcca4e6fef92289c9b33d84880363f0d78a72ccf66c3d7f84d3ba7e6
|
|
BLAKE2b-256 checksum How to use checksums |
2a33a1970b02aee4c69ecbd9de19c2b199e5e63cd0f9500f17f87911e8485cb4
|
| 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
|