Skip to content

jcarbaugh/django-breakroom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 

Repository files navigation

django-breakroom

django-breakroom is a Django implementation of Watercoolr, a Ruby webhooks application.

Requirements

python >= 2.5

django >= r10650

Installation

To install run

python setup.py install

which will install the application into python's site-packages directory.

Add to INSTALLED_APPS:

'breakroom',

Add to urls.py:

url(r'^path/to/breakroom/', include('breakroom.urls')),

Usage

The following usage examples were taken from the Watercoolr web site.

Create a channel

→ POST /channels
← { 'id': '2d0128d' }

Add subscribers

→ POST /subscribers data={ 'channel':'2d0128d', 'url':'http://api.otherservice.com/your-message-handler' }
← { 'status': 'OK' }

Post messages

you → POST /messages data={ 'channel':'2d0128d', 'message':'hey guys!' }
   us → POST http://api.otherservice.com/your-message-handler data='hey guys!'
   ...for every subscriber...
← { 'status': 'OK' }

About

A Django implementation of Watercoolr, http://watercoolr.nuklei.com/, a Ruby webhooks application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages