Official Python SDK for the Vendel SMS gateway API
Project description
vendel-sdk
Official Python SDK for the Vendel SMS gateway API.
Install
pip install vendel-sdk
Usage
from vendel_sdk import VendelClient
client = VendelClient("https://app.vendel.cc", "vk_your_api_key")
# Send an SMS
result = client.send_sms(["+1234567890"], "Hello from Vendel!")
print(result["batch_id"])
# Check quota
quota = client.get_quota()
print(f"{quota['sms_sent_this_month']}/{quota['max_sms_per_month']} SMS used")
Webhook verification
from vendel_sdk import verify_webhook_signature
is_valid = verify_webhook_signature(
payload=request.body,
signature=request.headers["X-Webhook-Signature"],
secret="your_webhook_secret",
)
Requirements
- Python >= 3.9
License
MIT
Project details
Release history Release notifications | RSS feed
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 vendel_sdk-0.2.0.tar.gz.
File metadata
- Download URL: vendel_sdk-0.2.0.tar.gz
- Upload date:
- Size: 6.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc005a6588901b1c46384a4e31b307adef70a36f032bd2275dfb000059532c80
|
|
| MD5 |
d9d103e88fc5441a85e0e650822f6ee0
|
|
| BLAKE2b-256 |
7cbcffefc8666f1bdde8f25902169fb26f9a35d3db351c47e79c2b084f9ea8fd
|
Provenance
The following attestation bundles were made for vendel_sdk-0.2.0.tar.gz:
Publisher:
publish.yml on JimScope/vendel-sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vendel_sdk-0.2.0.tar.gz -
Subject digest:
bc005a6588901b1c46384a4e31b307adef70a36f032bd2275dfb000059532c80 - Sigstore transparency entry: 1238286559
- Sigstore integration time:
-
Permalink:
JimScope/vendel-sdk-python@dfb1de9ae5539dadc18fa70b00f1c5e84ef13bbf -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/JimScope
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dfb1de9ae5539dadc18fa70b00f1c5e84ef13bbf -
Trigger Event:
push
-
Statement type:
File details
Details for the file vendel_sdk-0.2.0-py3-none-any.whl.
File metadata
- Download URL: vendel_sdk-0.2.0-py3-none-any.whl
- Upload date:
- Size: 5.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c144007ab6a6f2b0731549812491c02b400e57cc8a53b5de0206fbb24f852894
|
|
| MD5 |
94d147e564ac8b5f2a4833ef78171b08
|
|
| BLAKE2b-256 |
2a7a4a40cdbd4f3940c0e3d2e8b2ced6eda1cc567df7ec5601627e44a9b9845a
|
Provenance
The following attestation bundles were made for vendel_sdk-0.2.0-py3-none-any.whl:
Publisher:
publish.yml on JimScope/vendel-sdk-python
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
vendel_sdk-0.2.0-py3-none-any.whl -
Subject digest:
c144007ab6a6f2b0731549812491c02b400e57cc8a53b5de0206fbb24f852894 - Sigstore transparency entry: 1238286560
- Sigstore integration time:
-
Permalink:
JimScope/vendel-sdk-python@dfb1de9ae5539dadc18fa70b00f1c5e84ef13bbf -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/JimScope
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@dfb1de9ae5539dadc18fa70b00f1c5e84ef13bbf -
Trigger Event:
push
-
Statement type: