skip to navigation
skip to content

thunderclient 1.0.1

A Python library for sending messages to Thunderpush server.

A Python library for sending messages to the Thunderpush server.

Install

pip install thunderclient

Example

from thunderclient import Thunder

c = Thunder('key', 'secretkey', 'localhost', 8080)

print(c.get_user_count())
print(c.get_users_in_channel('test'))
print(c.send_message_to_user('test', {'msg': 'hello!'}))
print(c.send_message_to_channel('test', {'msg': 'hello!'}))
print(c.is_user_online('test'))
print(c.disconnect_user('test'))
 
File Type Py Version Uploaded on Size
thunderclient-1.0.1.tar.gz (md5) Source 2015-10-05 3KB