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
Metadata
Release files for OnPage-HUB-API-Client 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| OnPage_HUB_API_Client-0.1.1-py2.7.egg | Legacy Egg format | - | - | Details for OnPage_HUB_API_Client-0.1.1-py2.7.egg |
| OnPage_HUB_API_Client-0.1.1-py2-none-any.whl | Python 2 | none | any | Details for OnPage_HUB_API_Client-0.1.1-py2-none-any.whl |
| OnPage HUB API Client-0.1.1.win32.exe | Details for OnPage HUB API Client-0.1.1.win32.exe |
Total release size: 216.3 kB
Release files / OnPage_HUB_API_Client-0.1.1-py2.7.egg
| Download URL | OnPage_HUB_API_Client-0.1.1-py2.7.egg |
|---|---|
| Size | 7.6 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
9efbcc5c3485e348ed8eff4ba8e4045014ca5e19e27c4248f58e202617df5cac
|
|
BLAKE2b-256 checksum How to use checksums |
4bccbfdc3a083f2868ae659a698c63d251edf46beb63d5315372f8d9ff381970
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / OnPage_HUB_API_Client-0.1.1-py2-none-any.whl
| Download URL | OnPage_HUB_API_Client-0.1.1-py2-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 2 |
|
SHA-256 checksum How to use checksums |
e4708ff4f5bff009d983411d47344c7d41d1977aa5ee24cb0effbd79d7bc087b
|
|
BLAKE2b-256 checksum How to use checksums |
151a9f0c8faebae04e78c734e6a0e60650cf0148b1723d0970ef53b97fa209bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / OnPage HUB API Client-0.1.1.win32.exe
| Download URL | OnPage HUB API Client-0.1.1.win32.exe |
|---|---|
| Size | 202.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
863889b4d960b994a204869a04123c8a7ab0c13d2b99c6de4431469b076f76c4
|
|
BLAKE2b-256 checksum How to use checksums |
470f0d77b1ed11a2900ac56a8a0090777d63dc54a87c7c0d33ca0aa3331293c2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for OnPage-HUB-API-Client 0.1.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.