Skip to content

titov-vv/lidl-plus-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

lidl-plus-login

A Python script to get AuthToken for Lidl Plus API given your valid username and password.
Having this token you may utilize Lidl Plus API and query your receipts, coupons etc.

How to use

Required imports are listed in the beginning of the script.
You may simply run the script if you have dependencies satisfied:
python lidl-plus-login.py

Script has Portugal country and language hardcoded, you may easily change it to another country (you need to replace 'PT' with other relevant value)

Result

You will get following JSON result after successful login:

data =  {
    "id_token":"xxx..xxx",
    "access_token":"yyy..yyy",
    "expires_in":1200,
    "token_type":"Bearer",
    "refresh_token":"ZZZ..ZZZ",
    "scope":"openid profile lpprofile lpapis offline_access"
}

Acknowledgments

The script was inspired by LidlApi by Koen Zomers and lidlplus-php-client

About

Script to get authrization token for Lidl Plus account

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages