https://github.com/dropbox/dropbox_hook
A tool for testing your Dropbox webhook endpoints.
https://github.com/dropbox/dropbox_hook
Last synced: 3 months ago
JSON representation
A tool for testing your Dropbox webhook endpoints.
- Host: GitHub
- URL: https://github.com/dropbox/dropbox_hook
- Owner: dropbox
- License: apache-2.0
- Created: 2014-05-14T19:39:15.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2021-02-08T00:01:59.000Z (over 5 years ago)
- Last Synced: 2025-06-10T03:11:03.411Z (about 1 year ago)
- Language: Python
- Homepage:
- Size: 8.79 KB
- Stars: 23
- Watchers: 19
- Forks: 12
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# dropbox_hook.py
## Setup
This tool requires the [`requests`](http://docs.python-requests.org/en/latest/) and [`click`](http://click.pocoo.org/) libraries. You can install both via pip:
pip install -r requirements.txt
## Usage
Usage: dropbox_hook.py [OPTIONS] COMMAND [ARGS]...
This tool makes it easier to test Dropbox webhooks, particularly on
localhost. It generates fake requests, mimicking what Dropbox itself
sends. Usage:
dropbox_hook.py verify URL
dropbox_hook.py notify URL -s APP_SECRET -a ACCOUNT_ID
For detailed help, try this:
dropbox_hook.py COMMAND --help
Options:
--help Show this message and exit.
Commands:
notify Send a notification request.
verify Send a verification request.