NHNCloudSMS
This is a Python library for interacting with the NHN Cloud SMS service.
Current version: 0.1.7
Installation
To use this library, you need to have Python installed. You can install the required dependencies using pip:
pip install -U nhncloud-sms
Usage
Initialization
First, you need to initialize the NHNCloudSMS class with your NHN Cloud app key, secret key, and sender phone number.
from nhncloud_sms import NHNCloudSMS
sms_service = NHNCloudSMS(
app_key='your_app_key',
secret_key='your_secret_key',
sender_phone_number='your_sender_phone_number'
)
Sending SMS
To send a single SMS, use the send_sms method:
response = sms_service.send_sms('recipient_phone_number', 'Your message here')
print(response)
Sending Bulk SMS
To send bulk SMS, use the send_bulk_sms method:
recipient_numbers = ['recipient1_phone_number', 'recipient2_phone_number']
response = sms_service.send_bulk_sms(recipient_numbers, 'Your bulk message here')
print(response)
Scheduling SMS
To schedule an SMS, use the schedule_sms method:
response = sms_service.schedule_sms('recipient_phone_number', 'Your scheduled message here', 'schedule_time')
print(response)
Getting SMS Status
To get the status of a sent SMS, use the get_sms_status method:
response = sms_service.get_sms_status('request_id')
print(response)
Getting Sent SMS List
To get a list of sent SMS messages within a specific date range, use the get_sent_sms_list method:
response = sms_service.get_sent_sms_list('start_date', 'end_date')
print(response)
Make sure to replace placeholders (like 'your_app_key', 'your_secret_key', etc.) with actual values before using the library.
Contact
Please contact dev@runners.im
Metadata
Release files for nhncloud-sms 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| nhncloud-sms-0.1.7.tar.gz | 4.6 kB | Without provenance | Details for nhncloud-sms-0.1.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| nhncloud_sms-0.1.7-py3-none-any.whl | Python 3 | none | any | Details for nhncloud_sms-0.1.7-py3-none-any.whl |
Total release size: 10.6 kB
Release files / nhncloud-sms-0.1.7.tar.gz
| Download URL | nhncloud-sms-0.1.7.tar.gz |
|---|---|
| Size | 4.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
bf54031b6495fed5874c955d9079dcd3858768f14327f1c079b692b0d8d3ff28
|
|
BLAKE2b-256 checksum How to use checksums |
1deab7687a8b36ced2bf5daeae4efbe21bd3af2bde3d0fbd057d340fb02cc118
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.8.18
|
Release files / nhncloud_sms-0.1.7-py3-none-any.whl
| Download URL | nhncloud_sms-0.1.7-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5901f921c0d4aab051f9166e9b85fa6d37ae192226f2d883593ca5fcd9d3ea47
|
|
BLAKE2b-256 checksum How to use checksums |
976cad694a505b0213d885c14198527b4be86eafd9fbc43e6ae7ccbb26f9861a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.8.18
|
Security for nhncloud-sms 0.1.7
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.