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"]

Release files for sodexo 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 sodexo 20221022
File Size Uploaded
sodexo-20221022.tar.gz 8.0 kB Details

Built distribution (wheel)

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

Total release size: 16.8 kB

Release files / sodexo-20221022.tar.gz

Download URL sodexo-20221022.tar.gz
Size 8.0 kB
Tags Source
SHA-256 checksum
How to use checksums
8fbcc1a8a8b12d73cc3d8aea9b21ef4b04de718a843e7528ed660a51f8144ece
BLAKE2b-256 checksum
How to use checksums
f7c60016dc274e9ee7e6a532fb60b247b5567f8ad2cb9b2c2ed12063941634f3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.9.15

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

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

Release history Release notifications | RSS feed

This release

20221022 This release

2 release files

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