hookee is a utility that provides command line webhooks, on demand! Dump useful request data to the
console, process requests and responses, customize response data, and configure
hookee and its routes
further in any number of ways through custom plugins.
hookee is available on PyPI and can be installed
pip install hookee
conda install -c conda-forge hookee
hookee is now installed.
hookee makes it easy to get webhooks on the fly right from the console. Simply start it with:
With its default configuration, this will start a server on port 5000, open a
pyngrok, and mount a URL at
/webhook. Sending any request to
/webhook endpoint will dump the request and response data to the console.
hookee can be configured in a number of ways to quickly and easily tweak request and response data. For example,
here we are customizing the response body from
/webhook using the
hookee --response "<Response>Ok</Response>" --content-type application/xml
To see the ways
hookee can be tweaked right from the console, view its documented args and commands like this:
For more advanced usage, including how
hookee default configuration can be changed, extended through plugins,
and more, see its official documentation is available at http://hookee.readthedocs.io.
If you would like to get involved, be sure to review the Contribution Guide.
Want to contribute financially? If you've found
hookee useful, a donation would
also be greatly appreciated!