Skip to main content

Mysodexo Python client

Build Status Coverage Status PyPI version

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 20191114

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mysodexo 20191114
File Size Uploaded Provenance Actions
mysodexo-20191114.tar.gz 6.7 kB Without provenance Details for mysodexo-20191114.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mysodexo 20191114
File Interpreter ABI Platform Actions
mysodexo-20191114-py3-none-any.whl Python 3 none any Details for mysodexo-20191114-py3-none-any.whl

Total release size: 15.4 kB

Release files / mysodexo-20191114.tar.gz

Download URL mysodexo-20191114.tar.gz
Size 6.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f7bf7c9dc20bd58bbf1d0fa1ef16eb77f23f97ec1c40da31aebc3b167304c1c6
BLAKE2b-256 checksum
How to use checksums
98acdc641df035435f9edda2bddf50784760dbc976956615884a4562b2560aaa
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-20191114-py3-none-any.whl

Download URL mysodexo-20191114-py3-none-any.whl
Size 8.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
40ad34da2dfe16c8a4b7c3d24044797e83e7e0bb1566e75114bea89c580c8e35
BLAKE2b-256 checksum
How to use checksums
3f5a77eba99178a2fbf04f0629145bdb6bbe380ccd2df7bb0560db309728773b
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

Security for mysodexo 20191114

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page