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.7.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.7-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: lidl-plus-0.1.7.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.7.tar.gz
Algorithm Hash digest
SHA256 f37712234bafa2432306e97634024ecf61cd75ae722aec7b644938063d25cc37
MD5 6057641b79fdbe32661b39c9ecaac11e
BLAKE2b-256 bc301536a4a27ec1741e02cfcaddcfae3c5d08aa33931ef8f60bb8aef3e18071

See more details on using hashes here.

File details

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

File metadata

  • Download URL: lidl_plus-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 5.0 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.7-py3-none-any.whl
Algorithm Hash digest
SHA256 c465e27b75cbdae9580dc3a6732598f3fb6a1a27bf696f0c06f19e9202d9ca58
MD5 9d2b5bf86994a2d4cf6818dab3e747bb
BLAKE2b-256 ec1e39483893c4f5812093d4873bc84a120d1aa1d12c28eb61541ff76e76e817

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