React SMS SDK for Python
Project description
react-sms-sdk-python
React SMS SDK for Python
With this SDK, you can:
-
Send SMS
-
Check your balance
-
Create services
Package Installation
To install tihs package go to https://pypi.org/project/reactsms-sdk-python/ or run:
pip install reactsms-sdk-python==0.2.1
Package Usage
from react_sms_sdk_python.react_sms import ReactSMS
class SMSAPI():
AUTH_KEY = "rs_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
API_KEY = "rs_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
SERVICE_KEY = "xxxxxx"
def __init__(self):
self.sdk = ReactSMS(SMSAPI.AUTH_KEY, SMSAPI.API_KEY, SMSAPI.SERVICE_KEY)
def send_message(self, message:str, phones:list):
return self.sdk.send(message, phones)
def balance(self):
return self.sdk.balance()
def create_service(self, service_name:str, quota_sms:int, active_quota:bool, description:str):
return self.sdk.create_service(service_name, quota_sms, active_quota, description)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file reactsms_sdk_python-0.3.tar.gz.
File metadata
- Download URL: reactsms_sdk_python-0.3.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ce62c839de1427e56fb94ff54cfcaf0182c0a8eef7fb6570f9e1865415331142
|
|
| MD5 |
7f4aba71b4e230a458494a2afbdc16cc
|
|
| BLAKE2b-256 |
688154b9fe858d269cc1a2851c4712520055c9fe81dab730b998fed1b4b7fa2c
|
File details
Details for the file reactsms_sdk_python-0.3-py3-none-any.whl.
File metadata
- Download URL: reactsms_sdk_python-0.3-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9cc7aa2bd5f660f0b7fc2dab4f5d8471d97e19c432b0f6332133e8b02d998656
|
|
| MD5 |
175eced6cab3f77dc096b20890784cc1
|
|
| BLAKE2b-256 |
a938fd7c89f30f632a25f959872adc4f88df39e2f80478d4c5b878ba83bb61b8
|