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 20191112

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

Built distribution (wheel)

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

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

Security for mysodexo 20191112

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