Skip to main content

Mysodexo Python client

Project description

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

Project details


Download files

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

Source Distribution

mysodexo-20221022.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for mysodexo-20221022.tar.gz
Algorithm Hash digest
SHA256 76719424b2904493f2389dcd0d910c6ee44414ba20f8acc4e69f621f648b1795
MD5 6ab620dbda4ced9f103622c26cc0e842
BLAKE2b-256 9cd3007ce0e7ca58c9bd69d2bb2ee882bb27e915715306931f1bb09c79e6bbcb

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mysodexo-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 mysodexo-20221022-py3-none-any.whl
Algorithm Hash digest
SHA256 6b30b3271e597aa17316e94af02547b0c5e7233a16403355da6516fd9703c8dd
MD5 2ee7025847d9054a120bbe9f642410a2
BLAKE2b-256 e54da6fad26db2344d988bd259d2022b3822629a5767a23aa9d7cc2438080e89

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page