YourTrend
API e-mail i SMTP Kampanie Automatyzacje SMS Web push Komunikatory Zjednoczona skrzynka odbiorcza Bezpieczna poczta Analiza
ENUKRUDEESFRITPLPTHIZH
Zaloguj się Rozpocznij za darmo
SDK · Python

YourTrend SDK for Python

The Python SDK is a single dependency-free file. Download it, include it, and send email, SMS and push via the YourTrend REST API.

Zainstaluj

shell
curl -O https://yourtrend.online/sdk/yourtrend.py

Wyślij e-mail

python
from yourtrend import YourTrend

yt = YourTrend("YOUR_API_KEY")

res = yt.send_email(
    "noreply@yourdomain.com",
    "user@example.com",
    "Hello from YourTrend",
    "<h1>Hi!</h1>",
)

print(res["status"])  # 202

Methods: sendEmail, sendSms, push (web push) and validateEmail. Each returns the HTTP status and the response body.

FAQ

Any external dependencies?

No. The Python SDK is a single standard-library file, no package manager required.

Where do I get an API key?

In the dashboard → API keys. Issue a key with only the scopes it needs.

Zacznij wysyłać w ciągu kilku minut

Darmowe na start. Rozwijaj się, gdy rośniesz. Twoi klienci otrzymują każdą wiadomość.

Ta strona została znaleziona w wyniku wyszukiwania

Prawdziwe zapytania wyszukiwania, które przyciągają ludzi tutaj — wyróżnione otwierają odpowiadającą stronę.