Skip to main content

Lidl Plus api

Project description

This python package is unofficial and is not related in any way to Lidl. It was developed by reversed engineered requests and can stop working at anytime!

Python Lidl Plus API

Installation

pip install lidl-plus

Generate refresh token

Prerequisites

You need to install Google Chrome and some additional python packages to generate.

pip install lidl-plus[auth]

Commandline-Tool

You can use the commandline tool lidl-plus to generate a Lidl Plus refresh token once on a device with Google Chrome.

$ lidl-plus auth
Enter your lidl plus username (phone number): +4915784632296
Enter your lidl plus password: 
Enter your language (DE, EN, ...): DE
Enter your country (de, at, ...): de
Enter your verify code: 590287
------------------------- refresh token ------------------------
2D4FC2A699AC703CAB8D017012658234917651203746021A4AA3F735C8A53B7F
----------------------------------------------------------------

Python

from lidlplus import LidlPlusApi

lidl = LidlPlusApi(language="DE", country="de")
lidl.login(phone="+4915784632296", password="password", verify_token_func=lambda: input("Insert code: "))
print(lidl.refresh_token)

Usage

Get tickets

from lidlplus import LidlPlusApi

lidl = LidlPlusApi("DE", "de", refresh_token="XXXXXXXXXX")
for ticket in lidl.tickets():
    print(lidl.ticket(ticket["id"]))

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

lidl-plus-0.1.5.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

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

lidl_plus-0.1.5-py3-none-any.whl (4.9 kB view details)

Uploaded Python 3

File details

Details for the file lidl-plus-0.1.5.tar.gz.

File metadata

  • Download URL: lidl-plus-0.1.5.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for lidl-plus-0.1.5.tar.gz
Algorithm Hash digest
SHA256 992a884aaf81e7f3d20fa6381b7848da48d7d8624518524f722c2e5a2bf24dd1
MD5 8afb0dfd3464b3814c3ddbdb13e96bbe
BLAKE2b-256 f059f48f6d0077ac08dc90f3f6ee026f155f0a17fcdcc5707872990c2a6d2f2d

See more details on using hashes here.

File details

Details for the file lidl_plus-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: lidl_plus-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 4.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for lidl_plus-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 2db45ea06e066ce39e7d09763deed3212635b4c7957070ae117cf07ec8368b7e
MD5 f40f32fd33e6057e026c37d26c3f2f96
BLAKE2b-256 d94532fb9ac689a4cfb64d8f8e382289fdeefe70b3fff699ef8c2996f46a8ebe

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