This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| from datetime import datetime, timezone, timedelta | |
| username = 'email@example.com' | |
| password = 'hunter42' | |
| header = { | |
| 'DevInfo': 'Android 12;Xiamoi vayu;Android 12', | |
| 'AppTag': 'v=1.2.70(112);n=eyfo;p=android', | |
| 'User-Agent': 'okhttp/3.5.0' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import hashlib | |
| # your LibreLinkUp-region (login-requests gives hint when credentials are ok) | |
| region = 'de' | |
| # your username | |
| email = 'your_librelinkup_email@example.com' | |
| # your password | |
| password = 'your_librelinkup_password' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import datetime | |
| headers = { | |
| 'Authorization': 'Basic bW9iaWxlLWFwcDpxdG03cmpVTUJwWHgyY0tQNDNYc1g5Nzk=', | |
| 'Platform': 'Android', | |
| 'Time-Zone': 'Europe/Berlin', | |
| 'User-Agent': 'okhttp/4.10.0', | |
| 'Version-Code': '107', | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import requests | |
| import hashlib | |
| # use a dedicated follower-account as there can only be one valid access_token per user | |
| # and you will get logged out of the app | |
| password = 'hunter42' | |
| username = 'sibionicsfollower@example.com' | |
| # login in and acquire access token | |
| req = requests.post("https://cgm-ce.sisensing.com/auth/app/user/login", |