Skip to main content

A utility to watch changes in a google drive folder.

Project description

gdrive-watcher is a library for watching file updates to a google drive folder.

Set the environment variable for your google service account:

export GOOGLE_APPLICATION_CREDENTIALS=".json"

In the service account JSON file, look for "client_email". Add this email address to the folder you like to watch, or its parent folder.

Example usage:

python -m gdrive_watcher

or for debugging,

python gdrive_watcher/poll.py 

Note: there may be a timing issue if your timezone is different from the timezone of your google drive account.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page