ahivert / tgtg-python

Unofficial client for TooGoodToGo API
GNU General Public License v3.0
372 stars 70 forks source link

Manual login polling #306

Open SuperLanceur opened 3 months ago

SuperLanceur commented 3 months ago

Right now, when we call the login function, it starts to poll automatically each 5 seconds. Would it be possible to have a function that instead returns the polling_id, and another one that takes it as a parameter and returns the login response?