Skip to main content

A Python wrapper for the Sms77.io SMS gateway.

Project description

Sms77 Logo

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

MIT

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

sms77api-2.0.0.tar.gz (5.9 kB view details)

Uploaded Source

File details

Details for the file sms77api-2.0.0.tar.gz.

File metadata

  • Download URL: sms77api-2.0.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using 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

File hashes

Hashes for sms77api-2.0.0.tar.gz
Algorithm Hash digest
SHA256 6f17e354bc14e501b7d2af5355025ee88be14620272474ab7ec420c1ff33a232
MD5 0c179af001b8209faddd1c828472262c
BLAKE2b-256 1ca7de6c510087c6d203b9d0eab1145a43cf3f1285dd83055708223d4fdf68be

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page