Skip to main content

Mysodexo Python client

Project description

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

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-20191114.tar.gz (6.7 kB view details)

Uploaded Source

Built Distribution

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

mysodexo-20191114-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: mysodexo-20191114.tar.gz
  • Upload date:
  • Size: 6.7 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for mysodexo-20191114.tar.gz
Algorithm Hash digest
SHA256 f7bf7c9dc20bd58bbf1d0fa1ef16eb77f23f97ec1c40da31aebc3b167304c1c6
MD5 e12d521189f0d1c2fe57b3599de17a0b
BLAKE2b-256 98acdc641df035435f9edda2bddf50784760dbc976956615884a4562b2560aaa

See more details on using hashes here.

File details

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

File metadata

  • Download URL: mysodexo-20191114-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using 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

File hashes

Hashes for mysodexo-20191114-py3-none-any.whl
Algorithm Hash digest
SHA256 40ad34da2dfe16c8a4b7c3d24044797e83e7e0bb1566e75114bea89c580c8e35
MD5 6fd924cff8f57f008db5ff286f6e251f
BLAKE2b-256 3f5a77eba99178a2fbf04f0629145bdb6bbe380ccd2df7bb0560db309728773b

See more details on using hashes here.

Supported by

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