Skip to content

A simple app to provide a webhook url and a signal that you can hook into.

Notifications You must be signed in to change notification settings

overcastsoftware/oc-incoming-webhook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Incoming webhook signal

A simple app to provide a webhook url and a signal that you can hook into.

Examples

The following snippet show how to connect the webhook to a method using django's signal mechanism. Note that path must be set to "send-signal" in the hook object instead of an absolute path to a script.

#!python
from oc_incoming_webhook.signals import web_hook_signal

def process_web_hook(sender, **kwargs):
    for key, value in kwargs.iteritems():
        print key, value

web_hook_signal.connect(process_web_hook)   

About

A simple app to provide a webhook url and a signal that you can hook into.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages