Python API Client
Installation
Make sure you have Python 3 installed.
pip3 install sms77api
Methods
def __init__(self, api_key: str, sent_with: str = 'Python'):
pass
def analytics(self, params={}):
pass
def balance(self, api_key: str = None):
pass
def contacts(self, action: ContactsAction, params: dict = {}):
pass
def hooks(self, action: HooksAction, params: dict = {}):
pass
def journal(self, typ: JournalType, params: dict = {}):
pass
def lookup(self, typ: LookupType, number: str, json: bool = False):
pass
def pricing(self, format_: PricingFormat = PricingFormat.CSV, country: str = None):
pass
def sms(self, to: str, text: str, params: dict = {}):
pass
def status(self, msg_id: int):
pass
def validate_for_voice(self, number: str, callback: str = None):
pass
def voice(self, to: str, text: str, params: dict = {}):
pass
Example
from sms77api.Sms77api import Sms77api
client = Sms77api("InsertYourSuperSecretApiKeyFromSms77")
print(client.balance())
Support
Need help? Feel free to contact us.
License
Metadata
Release files for sms77api 2.0.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sms77api-2.0.0.tar.gz | 5.9 kB | Details |
Release files / sms77api-2.0.0.tar.gz
| Download URL | sms77api-2.0.0.tar.gz |
|---|---|
| Size | 5.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6f17e354bc14e501b7d2af5355025ee88be14620272474ab7ec420c1ff33a232
|
|
BLAKE2b-256 checksum How to use checksums |
1ca7de6c510087c6d203b9d0eab1145a43cf3f1285dd83055708223d4fdf68be
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.3.0 pkginfo/1.7.0 requests/2.22.0 setuptools/57.0.0 requests-toolbelt/0.9.1 tqdm/4.57.0 CPython/3.8.10
|