Skip to main content

Package to easily use Byteline REST APIs

Project description

Byteline Python SDK

Website: https://www.byteline.io

This document describes how to call Byteline REST APIs using the Python SDK.

Messaging Service

Messaging service is used to send emails or text messages.

How to send emails?

Installation

pip install byteline-sdk

Usage

To send emails using a template:

Specify the apiKey, templateId from your Byteline console. templateParams are the parameters defined in your template. See details at https://www.byteline.io/email-service.html#templates

import messaging

messaging.send_templated_email({apiKey}, {templateId}, 'myfriend@gmail.com', {templateParams})
To send email using body:

Specify the apiKey from your Byteline console.

import messaging

messaging.send_email({apiKey},'Zoom Party','Let's talk tomorrow evening?','myfriend@gmail.com')

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for byteline-sdk, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size byteline_sdk-1.0.2-py3-none-any.whl (3.1 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size byteline-sdk-1.0.2.tar.gz (2.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page