kiwiz / gkeepapi

An unofficial client for the Google Keep API.
MIT License
1.53k stars 114 forks source link

Forcing Keep to get input updates periodically #121

Closed antoniokhang97 closed 2 years ago

antoniokhang97 commented 2 years ago

Hi there, Firstly, thanks so much for anyone contributing to build this source code. It is tremendously helpful for my personal project that I'm working on. I have a question regarding the Keep's synchronization. Is there a way that I can force keep to be refreshed or get synced every 10 or 20 seconds? It takes like almost one minute to see users' collaboration input updates which is kind of long for my use case scenario. I've tried run "keep.sync()" in a while loop with "time.sleep(20.0)" but could not get the desired result. Any feedback would be appreciated! Thanks,

kiwiz commented 2 years ago

keep.sync should immediately fetch any updates. Can you check if the WebUI has the same delay?