Dependal SDKs

Official libraries for integrating Dependal into your applications.

Node.js

Use Dependal from JavaScript or TypeScript applications.

npm install @dependal/sdk

Example:

import Dependal from "@dependal/sdk";

const client = new Dependal({
  apiKey: "dp-xxxxxxxxxx"
});

await client.send({
  to: "user@example.com",
  from: "Dependal ",
  subject: "Hello",
  html: "

Hello 👋

" });
View on npm

Python

Send transactional email from Python services.

pip install dependal

Example:

from dependal import ApiClient

client = ApiClient(api_key="dp-xxxxxxxxxx")

client.send({
  "to": "user@example.com",
  "from": "Dependal ",
  "subject": "Hello",
  "html": "

Hello 👋

" })
View on PyPI

PHP

Integrate Dependal with PHP applications and frameworks.

composer require dependal/dependal

Example:

use Dependal\Client;

$client = new Client("dp-xxxxxxxxxx");

$client->send([
  "to" => "user@example.com",
  "from" => "Dependal ",
  "subject" => "Hello",
  "html" => "

Hello 👋

" ]);
View on Packagist