mysodexo

Mysodexo Python client

MIT License

Downloads
183
Stars
11
Committers
1

Mysodexo Python client

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("[email protected]", "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"]
Package Rankings
Top 20.89% on Pypi.org
Badges
Extracted from project README
Tests Coverage Status PyPI version