Skip to main content

QvaTel Python Library

Esta librería proporciona una interfaz de Python para interactuar con la API de SMS de QvaTel

Funciones

  • Enviar mensajes SMS.
  • Obtener el estado de los mensajes.
  • Consultar el balance de la cuenta.

Requisitos

  • Python 3.6 o superior.
  • Una cuenta de QvaTel con un API token de SMS.

Instalación

Instala la librería usando pip:

pip install qvatel-sms-api

Uso

Aquí hay un ejemplo básico de cómo usar la librería para enviar un SMS, obtener el estado de un mensaje y consultar el balance de la cuenta:

from qvatel.client import QvaTelClient

# Inicializa el cliente con tu API token
client = QvaTelClient('your_api_token_here')

# Envía un SMS
destination = '+5352942387'
message = 'Hola mundo desde QvaTel'
response = client.send_sms(destination, message)
print(response)

# Obtiene el estado de un mensaje
message_id = 'your_message_id_here'
status = client.get_message_status(message_id)
print(status)

# Obtiene el balance de la cuenta
balance = client.get_account_balance()
print(balance)

Contribuciones

Las contribuciones son bienvenidas. Por favor, abre un issue si encuentras un bug o tienes una solicitud de función.

ko-fi

Metadata

Release files for qvatel-sms-api 1.0.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qvatel-sms-api 1.0.7
File Size Uploaded Provenance Actions
qvatel_sms_api-1.0.7.tar.gz 2.4 kB Without provenance Details for qvatel_sms_api-1.0.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for qvatel-sms-api 1.0.7
File Interpreter ABI Platform Actions
qvatel_sms_api-1.0.7-py3-none-any.whl Python 3 none any Details for qvatel_sms_api-1.0.7-py3-none-any.whl

Total release size: 5.2 kB

Release files / qvatel_sms_api-1.0.7.tar.gz

Download URL qvatel_sms_api-1.0.7.tar.gz
Size 2.4 kB
Tags Source
SHA-256 checksum
How to use checksums
de766fae8a2b3f9a3b8a0618d3b02959fb9f486a61228e4bbd016082e6b39368
BLAKE2b-256 checksum
How to use checksums
8bc98ff09369088fb10eadf50649781ddd2c9b1f27d857e7f740b7835d1ea787
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / qvatel_sms_api-1.0.7-py3-none-any.whl

Download URL qvatel_sms_api-1.0.7-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
793deeeb8e2c1d3265c8819cf3e9788efbf9ec00d62485077fa93ea5b4601410
BLAKE2b-256 checksum
How to use checksums
869efcc5ddc098a0e8c2606ea5c1d3be4f83367fe96c64eaffd7ae69838e098d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Security for qvatel-sms-api 1.0.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.7 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page