post message to HipChat http gateway ikasan
.
see: https://github.com/studio3104/ikasan
Add this line to your application's requirements.txt:
-e git://github.com/studio3104/python-ikasan-client#egg=ikasanclient
And then execute:
$ pip install -r requirements.txt
Or install it yourself as:
$ pip install -e git://github.com/studio3104/python-ikasan-client#egg=ikasanclient
from ikasanclient import IkasanClient
# ikasan server: http://localhost:4979
ikasan = IkasanClient('localhost')
# ikasan server: http://localhost
ikasan = IkasanClient('localhost', 80)
ikasan.notice('#channel', 'message', **{ 'color': 'random', 'message_format': 'text' })
ikasan.privmsg('#chennel', 'message', **{ 'color': 'random', 'message_format': 'text' })
- Fork it ( http://github.com/studio3104/python-ikasan-client/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
- support https
- write more tests