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("", "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)

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 hashes)

Uploaded source

Built Distribution

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

Uploaded py3

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