Skip to main content

Ombala SDK Python

SDK Python para a API Ombala — envio de SMS em Angola.

Instalação

pip install ombala

Uso

from ombala import Ombala

client = Ombala("Token a9eb6ea6-5777-4848-a9ed-8cbffc74a503")

# Enviar SMS
client.messages.send(
    message="Olá, tudo bem?",
    from_="MINHALOJA",
    to="921939411",
)

# Listar mensagens
client.messages.list(page=1)

# Ver saldo
client.credits.balance()

API

Mensagens

Método Descrição
messages.send(message, from_, to, schedule?) Enviar SMS
messages.list(page?) Listar mensagens
messages.get(message_id, id?) Obter mensagem por ID
messages.delete(message_id) Apagar registo de envio
messages.list_recipients(page?) Listar destinatários
messages.list_by_date_range(start, end, page?) Listar mensagens por intervalo de datas
messages.list_by_recipient(phone_number?, page?) Listar mensagens de um número

Remetentes

Método Descrição
senders.create(name) Criar remetente
senders.list() Listar remetentes
senders.list_approved() Listar remetentes aprovados
senders.list_pending() Listar remetentes pendentes
senders.delete(sender_id) Apagar remetente

Créditos

Método Descrição
credits.balance() Mostrar saldo
credits.recharges() Histórico de carregamentos

Release files for ombala 0.1.3

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

Source distribution (sdist)

Source distribution for ombala 0.1.3
File Size Uploaded
ombala-0.1.3.tar.gz 5.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ombala 0.1.3
File Interpreter ABI Platform
ombala-0.1.3-py3-none-any.whl Python 3 none any Details

Total release size: 10.7 kB

Release files / ombala-0.1.3.tar.gz

Download URL ombala-0.1.3.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
a66c3ef0d05d0ad869a89b4bfbafff1ec30f74c4d72d861ec972c7c01caabe79
BLAKE2b-256 checksum
How to use checksums
4e61acbdfd12cd0456a1f923dcf8f134b85f87c1c26064d473f519de3fdc71b6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release files / ombala-0.1.3-py3-none-any.whl

Download URL ombala-0.1.3-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5611572536870e03987979156cff710cba34418b9b91d0d74f636f9eb4aeed1c
BLAKE2b-256 checksum
How to use checksums
2ef5bfe9f8bbf9c93619f9c1cffa8eb90bf5b76d747903d6bd738a2fb6372a19
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

0.1.3 This release

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

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