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

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sodexo-20221022.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sodexo-20221022-py3-none-any.whl (8.8 kB view details)

Uploaded Python 3

File details

Details for the file sodexo-20221022.tar.gz.

File metadata

  • Download URL: sodexo-20221022.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for sodexo-20221022.tar.gz
Algorithm Hash digest
SHA256 8fbcc1a8a8b12d73cc3d8aea9b21ef4b04de718a843e7528ed660a51f8144ece
MD5 1708b64bc465cd6bbdad3c8782199951
BLAKE2b-256 f7c60016dc274e9ee7e6a532fb60b247b5567f8ad2cb9b2c2ed12063941634f3

See more details on using hashes here.

File details

Details for the file sodexo-20221022-py3-none-any.whl.

File metadata

  • Download URL: sodexo-20221022-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for sodexo-20221022-py3-none-any.whl
Algorithm Hash digest
SHA256 0bde31580c8ff9b48470b1fce56af4ce3bda65c2254c5bf61bc4121f5e1b5ecb
MD5 2cf2c3134b5edcdf5dda5bb4aae4bd31
BLAKE2b-256 d6816604d4daf1d80d4c88078dff7987cf8f409e57556702b2a368df03d87478

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

20221022 This release

2 files

20191114

2 files

20191112

2 files

20191108

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page