Skip to main content

Tool for easy working with SigmaSMS API

Project description

sigmasms

Module provides an interface for https://sigmasms.ru/api/http/.

Usage

from sigmasms import AsyncClient

# instantiate client
client = AsyncClient(username='login', password='password')

# authorize
await client.auth()
print(client.token)

# send message
resp = await client.send_message('TestSender', '+79999999999', 'text', 'sms')
print(resp)

# check message status
msg_id = resp['id']
status = await client.check_status(msg_id)
print(status)

# check balance
balance = await client.get_balance()
print(balance)

# close client 
await client.close()

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

sigmasms-1.2.1.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

sigmasms-1.2.1-py3-none-any.whl (2.4 kB view details)

Uploaded Python 3

File details

Details for the file sigmasms-1.2.1.tar.gz.

File metadata

  • Download URL: sigmasms-1.2.1.tar.gz
  • Upload date:
  • Size: 2.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sigmasms-1.2.1.tar.gz
Algorithm Hash digest
SHA256 7b5ac056df9c801d44bd3c4d2acbd12a1623bd271bdbfab9f3107a0f42888d83
MD5 c69e6a1207d84db3fee911ecf0ea2093
BLAKE2b-256 18f847947f428979bc269a49357d4bb0b46448846b9301d6ae99101db12a1c9d

See more details on using hashes here.

Provenance

The following attestation bundles were made for sigmasms-1.2.1.tar.gz:

Publisher: python-publish.yml on mrslow/sigmasms

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file sigmasms-1.2.1-py3-none-any.whl.

File metadata

  • Download URL: sigmasms-1.2.1-py3-none-any.whl
  • Upload date:
  • Size: 2.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for sigmasms-1.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 0812a28236996925bbc46028944d96c70ea11eb8f327067806e97d0ada158ce1
MD5 ab83265d4cbfd4136b67f0e8160a87c1
BLAKE2b-256 48baa6800906bfb5c60f743851dc3ea579fc2b8b300227501be40a2774a77409

See more details on using hashes here.

Provenance

The following attestation bundles were made for sigmasms-1.2.1-py3-none-any.whl:

Publisher: python-publish.yml on mrslow/sigmasms

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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