From the SDK v3 disc, we can receive push notifications from Google Drive whenever the file has been modified. I'm currently working on a Drive app in Python, and I would like to receive such notifications. Do I really need a web server for this, or can I implement this, perhaps with a socket or something similar?
I know that I can get the changes by polling the changes.list method , but I want to avoid this due to the large number of API calls. Maybe the best way to get information if the file has changed?
EDIT . I grabbed my web traffic and saw that the original Google Drive client for Windows was using push notifications. Thus, in some way, it should be possible to receive push notifications in a desktop application, but is it possible something like Google magic that we cannot use with the current API
source
share