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
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 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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7b5ac056df9c801d44bd3c4d2acbd12a1623bd271bdbfab9f3107a0f42888d83
|
|
| MD5 |
c69e6a1207d84db3fee911ecf0ea2093
|
|
| BLAKE2b-256 |
18f847947f428979bc269a49357d4bb0b46448846b9301d6ae99101db12a1c9d
|
Provenance
The following attestation bundles were made for sigmasms-1.2.1.tar.gz:
Publisher:
python-publish.yml on mrslow/sigmasms
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sigmasms-1.2.1.tar.gz -
Subject digest:
7b5ac056df9c801d44bd3c4d2acbd12a1623bd271bdbfab9f3107a0f42888d83 - Sigstore transparency entry: 174988331
- Sigstore integration time:
-
Permalink:
mrslow/sigmasms@daa54f5e8d7385e1498e67d76c5b98e14661f0a4 -
Branch / Tag:
refs/tags/v1.2.1 - Owner: https://github.com/mrslow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@daa54f5e8d7385e1498e67d76c5b98e14661f0a4 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0812a28236996925bbc46028944d96c70ea11eb8f327067806e97d0ada158ce1
|
|
| MD5 |
ab83265d4cbfd4136b67f0e8160a87c1
|
|
| BLAKE2b-256 |
48baa6800906bfb5c60f743851dc3ea579fc2b8b300227501be40a2774a77409
|
Provenance
The following attestation bundles were made for sigmasms-1.2.1-py3-none-any.whl:
Publisher:
python-publish.yml on mrslow/sigmasms
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
sigmasms-1.2.1-py3-none-any.whl -
Subject digest:
0812a28236996925bbc46028944d96c70ea11eb8f327067806e97d0ada158ce1 - Sigstore transparency entry: 174988332
- Sigstore integration time:
-
Permalink:
mrslow/sigmasms@daa54f5e8d7385e1498e67d76c5b98e14661f0a4 -
Branch / Tag:
refs/tags/v1.2.1 - Owner: https://github.com/mrslow
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@daa54f5e8d7385e1498e67d76c5b98e14661f0a4 -
Trigger Event:
release
-
Statement type: