Skip to content

A Python library for interacting with Thunderpush server API.

License

Notifications You must be signed in to change notification settings

jbowen7/python-thunderclient

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Thunderpush client for Python

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'))

About

A Python library for interacting with Thunderpush server API.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%