Skip to main content

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')

Release files for byteline-sdk 1.0.2

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

Source distribution (sdist)

Source distribution for byteline-sdk 1.0.2
File Size Uploaded
byteline-sdk-1.0.2.tar.gz 2.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for byteline-sdk 1.0.2
File Interpreter ABI Platform
byteline_sdk-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.1 kB

Release files / byteline-sdk-1.0.2.tar.gz

Download URL byteline-sdk-1.0.2.tar.gz
Size 2.0 kB
Tags Source
SHA-256 checksum
How to use checksums
3a517703f0810aeb61595013178bbe6096ffd15e6b24e5ea8fd3c371057a8fc1
BLAKE2b-256 checksum
How to use checksums
44f226f72dbf1e3afb438fba79b40ebc2ef753bd75be4c49aadc383a5ef1bf8b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

Release files / byteline_sdk-1.0.2-py3-none-any.whl

Download URL byteline_sdk-1.0.2-py3-none-any.whl
Size 3.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5db98352ea0d061fb4504bfeed702ef72df9033c87517c4bf7c622b02337b1d2
BLAKE2b-256 checksum
How to use checksums
f0291a5ec72a2a52c398bd9844010e44b4f21eceda3e30cae1dd0bffcf38b4df
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.1.3 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.7.3

Release history Release notifications | RSS feed

This release

1.0.2 This release

2 release files

1.0.1

2 release files

1.0.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