Closed pierozek89 closed 1 year ago
Got the same issue. Did you resolve your problem?
https://github.com/kacpi2442/am_bot/pull/24#pullrequestreview-1346218776
try these changes on your script: https://github.com/kacpi2442/am_bot/pull/24/files
@e-potis It worked! Thanks a bunch!
Fixed in #24
Hi, I’m trying to get it work but I always get the same error. Config file is fulfilled with all the information
Error occured: (most recent call last): File "c:\Users\aprya\OneDrive\Pulpit\am_bot-main\watch_script.py", line 365, in refresh toogoodtogo() File "c:\Users\aprya\OneDrive\Pulpit\am_bot-main\watch_script.py", line 173, in toogoodtogo api_response = tgtg_client.get_items( File "C:\Users\aprya\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\tgtg__init.py", line 240, in get_items self.login() File "C:\Users\aprya\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.10_qbz5n2kfra8p0\LocalCache\local-packages\Python310\site-packages\tgtg\init__.py", line 145, in login raise TypeError( TypeError: You must provide at least email or access_token, refresh_token, user_id and cookie