Skip to main content

Mysodexo Python client

Tests 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 20221022

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 20221022
File Size Uploaded Provenance Actions
mysodexo-20221022.tar.gz 7.5 kB Without provenance Details for mysodexo-20221022.tar.gz

Built distribution (wheel)

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

Total release size: 16.3 kB

Release files / mysodexo-20221022.tar.gz

Download URL mysodexo-20221022.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
76719424b2904493f2389dcd0d910c6ee44414ba20f8acc4e69f621f648b1795
BLAKE2b-256 checksum
How to use checksums
9cd3007ce0e7ca58c9bd69d2bb2ee882bb27e915715306931f1bb09c79e6bbcb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Release files / mysodexo-20221022-py3-none-any.whl

Download URL mysodexo-20221022-py3-none-any.whl
Size 8.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6b30b3271e597aa17316e94af02547b0c5e7233a16403355da6516fd9703c8dd
BLAKE2b-256 checksum
How to use checksums
e54da6fad26db2344d988bd259d2022b3822629a5767a23aa9d7cc2438080e89
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

Security for mysodexo 20221022

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