Skip to main content
Join the official 2020 Python Developers SurveyStart the survey!

A Python library for sending messages to Thunderpush server.

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for thunderclient, version 1.0.1
Filename, size File type Python version Upload date Hashes
Filename, size thunderclient-1.0.1.tar.gz (3.1 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page