Python API client for Lidl Connect
Project description
LidlConnect.py
A Python library for accessing your Lidl Connect account through the Self-Care API.
Features
- 📱 View your current data, minutes, and SMS usage
- 💰 Check your account balance and payment history
- 📅 View tariff details and package validity dates
- 🧾 Access invoice and voucher history
- 🔄 Automatic session management with proper login/logout
Installation
Install directly from PyPI:
pip install LidlConnect.py
Quick Start
from LidlConnect import LidlConnect
# Initialize with PUK (preferred method)
client = LidlConnect(identifier="069012345678", puk="12345678")
# Or initialize with password
# client = LidlConnect(identifier="069012345678", password="yourPassword")
# Login and initialize connection
if not client.initialize():
print("Failed to initialize client")
exit(1)
# Get remaining data
data_info = client.get_remaining_data()
print(f"Data: {data_info['remaining']}/{data_info['total']} GiB")
# Check minutes
minutes_info = client.get_remaining_minutes()
print(f"Minutes: {minutes_info['remaining']}/{minutes_info['total']} minutes")
# Get EU roaming data
eu_data_info = client.get_remaining_eu_data()
print(f"EU Data: {eu_data_info['remaining']}/{eu_data_info['total']} GiB")
# Access account information
print(f"User: {client.user_name}")
print(f"Balance: €{client.balance if client.balance is not None else 'N/A'}")
print(f"Package valid until: {client.tariff_package_valid_to}")
# View payment history
client.print_invoices()
# Logout when done (automatic on program exit, but explicit is better)
client.logout()
Documentation
For complete documentation of all features and methods, please refer to the API documentation.
Requirements
- Python 3.6+
requestslibrarybeautifulsoup4library
Supported Services
This library currently supports the Austrian Lidl Connect service (https://selfcare.lidl-connect.at). It's designed to work with accounts that have at least one active tariff package.
License
MIT License
Disclaimer
This is an unofficial library and is not affiliated with, maintained, authorized, endorsed, or sponsored by Lidl or any of its affiliates (like Drei).
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file lidlconnect_py-0.1.0.tar.gz.
File metadata
- Download URL: lidlconnect_py-0.1.0.tar.gz
- Upload date:
- Size: 10.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16f986f043dd0daa2f9385b9ba9ad810b4f7952e18262870fa7a26b531f7bd9e
|
|
| MD5 |
51eea8d07721a111b5a613ca86fd9389
|
|
| BLAKE2b-256 |
048bb0e20dfe83a7352a36e7742c73bb0f7e08c25ad5964aa8fecf7457ab8c26
|
Provenance
The following attestation bundles were made for lidlconnect_py-0.1.0.tar.gz:
Publisher:
python-publish.yml on MarcUs7i/LidlConnect.py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lidlconnect_py-0.1.0.tar.gz -
Subject digest:
16f986f043dd0daa2f9385b9ba9ad810b4f7952e18262870fa7a26b531f7bd9e - Sigstore transparency entry: 219450784
- Sigstore integration time:
-
Permalink:
MarcUs7i/LidlConnect.py@acb4f6de088e26dd29b00504bae42964014446fd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/MarcUs7i
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@acb4f6de088e26dd29b00504bae42964014446fd -
Trigger Event:
release
-
Statement type:
File details
Details for the file lidlconnect_py-0.1.0-py3-none-any.whl.
File metadata
- Download URL: lidlconnect_py-0.1.0-py3-none-any.whl
- Upload date:
- Size: 15.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
50765c0826a7748239e38843335f402f5a18c18814fc767b6c938e03edca82b7
|
|
| MD5 |
e38b24e15da4d3e266a9ead6e032cb45
|
|
| BLAKE2b-256 |
19e58ea34aad00b60d19d585c3897b0bc25b8613c232f956ce6dae9e9eebd011
|
Provenance
The following attestation bundles were made for lidlconnect_py-0.1.0-py3-none-any.whl:
Publisher:
python-publish.yml on MarcUs7i/LidlConnect.py
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
lidlconnect_py-0.1.0-py3-none-any.whl -
Subject digest:
50765c0826a7748239e38843335f402f5a18c18814fc767b6c938e03edca82b7 - Sigstore transparency entry: 219450785
- Sigstore integration time:
-
Permalink:
MarcUs7i/LidlConnect.py@acb4f6de088e26dd29b00504bae42964014446fd -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/MarcUs7i
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@acb4f6de088e26dd29b00504bae42964014446fd -
Trigger Event:
release
-
Statement type: