_____ ______ _____ _______ _ _ ____ ____ _ __ _____ ____ _____ _____
| __ \ | ____| / ____||__ __|| | | | / __ \ / __ \ | |/ / / ____| / __ \ | __ \ / ____|
| |__) || |__ | (___ | | | |__| || | | || | | || ' / | (___ | | | || |__) || | __
| _ / | __| \___ \ | | | __ || | | || | | || < \___ \ | | | || _ / | | |_ |
| | \ \ | |____ ____) | | | | | | || |__| || |__| || . \ ____) |_| |__| || | \ \ | |__| |
|_| \_\|______||_____/ |_| |_| |_| \____/ \____/ |_|\_\|_____/(_)\____/ |_| \_\ \_____|
REST Hooks are a lightweight subscription layer on top of your existing REST API.
The real-time web is already here, but REST APIs haven't kept up. Many major players have already standardized upon subscription webhooks. REST Hooks are a way to consolidate that momentum and push it to a broarder audience.
For more information, code examples, libraries, and company profiles check out http://resthooks.org.
http://resthooks.org an initiative by Zapier 2013-2017.
Clone the repo and hop into the correct directory.
git clone [email protected]:zapier/resthooks.git && cd resthooks
Next, you'll want to make a virtual environment (we recommend using virtualenvwrapper but you could skip this) and then install dependencies:
mkvirtualenv resthooks -p python2.7
pip install -r requirements.txt
Now you can run the server!
foreman run web
# or
python resthooks.py