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-20191114.tar.gz
(6.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sodexo-20191114.tar.gz.
File metadata
- Download URL: sodexo-20191114.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
123253a6dfc7366f5d1731785aeae604ba7b3dd806ba3c025cad5dee91702804
|
|
| MD5 |
ba8ce4db3ab497d48acff10988e4e07a
|
|
| BLAKE2b-256 |
ece8e084ee97c6e6e3db972e618c20b8f2ee5317d9e9ae071ced0ea8fec2b574
|
File details
Details for the file sodexo-20191114-py3-none-any.whl.
File metadata
- Download URL: sodexo-20191114-py3-none-any.whl
- Upload date:
- Size: 8.7 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c917f9abdcca4e6fef92289c9b33d84880363f0d78a72ccf66c3d7f84d3ba7e6
|
|
| MD5 |
61d06ebe44ca6cf68742d70828b3b788
|
|
| BLAKE2b-256 |
2a33a1970b02aee4c69ecbd9de19c2b199e5e63cd0f9500f17f87911e8485cb4
|