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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gdrive-watcher-0.1.2.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

gdrive_watcher-0.1.2-py3-none-any.whl (8.4 kB view hashes)

Uploaded Python 3

Supported by

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