This is a pre-production deployment of Warehouse, however changes made here WILL affect the production instance of PyPI.
Project Description
=====================
OnPage HUB API CLIENT
=====================

OnPage HUB API CLIENT allows to send Pages to the OnPage Pagers. For more information visit
http://www.onpage.com. To use this script you have to change ENTERPRISE_NAME, TOKEN and <RECIPIENT_PAGER_NUMBER> Pager
numbers to real values.

You can send Page using your own Python script or using CLI script from here:

https://github.com/onsetinc/onpage_hub_api_cli_py

Sample of usage your own Python script to send Page from your own Python script:

```python
from random import randint
import sys


from onpage_hub_api_client.Message import Message
from onpage_hub_api_client.OnPageHubApi import OnPageHubApi

if __name__ == "__main__":

message = Message()

# CHANGE THIS WITH UNIQUE MESSAGE ID
message.messageId = randint(200, 10000)

message.subject = 'YOUR_SUBJECT_HERE'
message.body = 'YOUR_MESSAGE_HERE'
message.sender = 'SENDER_EMAIL_ADDRESS'
message.recipients = ['RECIPIENT_PAGER_NUMBER_1', 'RECIPIENT_PAGER_NUMBER_2', ..., 'RECIPIENT_PAGER_NUMBER_N']

try:
hubApi = OnPageHubApi('https://nps.onpage.com/hub-api?wsdl', 'ENTERPRISE_NAME', 'TOKEN')

result = hubApi.sendPage([message])

print result

except Exception as ex:
type, value, traceback = sys.exc_info()
error_description = '%s\n%s\n%s\n%s' % (type, value, traceback, ex)
print error_description
```

If everything is configured right the output of the script has to be something like:

Message 170315170855-8836 accepted by OnPage

and recipients will receive it immediately.


For more information contact support@onsettechnology.com
Release History

Release History

0.1.1

This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0.1

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

0.1.0

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
OnPage_HUB_API_Client-0.1.1-py2.7.egg (7.6 kB) Copy SHA256 Checksum SHA256 2.7 Egg Mar 30, 2015
OnPage_HUB_API_Client-0.1.1-py2-none-any.whl (5.9 kB) Copy SHA256 Checksum SHA256 2.7 Wheel Mar 30, 2015
OnPage HUB API Client-0.1.1.win32.exe (202.8 kB) Copy SHA256 Checksum SHA256 any Windows Installer Mar 30, 2015

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting