An open API service indexing awesome lists of open source software.

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.

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.