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 mysodexo 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 | |
|---|---|---|---|
| mysodexo-20191112.tar.gz | 6.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| mysodexo-20191112-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 14.8 kB
Release files / mysodexo-20191112.tar.gz
| Download URL | mysodexo-20191112.tar.gz |
|---|---|
| Size | 6.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
07030164b1745cad87933e1063d8f0a019de038f40b02ad5a79bea32cdfac695
|
|
BLAKE2b-256 checksum How to use checksums |
8fe09f7a6aed1a1670582873c97f9ae6a4a93e8924688846621cfa4dcfc002ae
|
| 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 / mysodexo-20191112-py3-none-any.whl
| Download URL | mysodexo-20191112-py3-none-any.whl |
|---|---|
| Size | 8.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5dcbdd0c44bf3e0a90319189addf9199209a9cd29897e8a624e2affac8afd259
|
|
BLAKE2b-256 checksum How to use checksums |
24646551bdef973b1b27d5e1de11866870eeefadceb91d7352e9eb97f4082964
|
| 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
|