Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Web hooks in Python: Any particular library?

I wanted to implement web hooks in python. Both at server end and client end. Is there any particular library for implementing web hooks? Or does django or twisted python handle this?

like image 429
G.A. Avatar asked May 29 '10 15:05

G.A.


People also ask

What is webhooks in Python?

A webhook can be thought of as a type of API that is driven by events rather than requests. Instead of one application making a request to another to receive a response, a webhook is a service that allows one program to send data to another as soon as a particular event takes place.

How do you get webhooks?

With webhooks, it's generally a three-step process: Get the webhook URL from the application you want to send data to. Use that URL in the webhook section of the application you want to receive data from. Choose the type of events you want the application to notify you about.


1 Answers

You should probably mention that "web hooks" is a specific concept -- as explained at webhooks.org -- to avoid getting generic answers about the web, as I see you already have. It's hardly a popular or widespread concept, so the answerers' utter confusion is not surprising but easily predictable.

On your question, I know of Hookah (from the webhooks.org site) and durian (web hooks for Django). There are specific ones, such as TracWebHooks for adding web hooks to the issue tracking service Trac, but I gather you're looking for something more general.

like image 68
Alex Martelli Avatar answered Oct 07 '22 01:10

Alex Martelli