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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
byteline-sdk-1.0.2.tar.gz
(2.0 kB
view details)
Built Distribution
File details
Details for the file byteline-sdk-1.0.2.tar.gz
.
File metadata
- Download URL: byteline-sdk-1.0.2.tar.gz
- Upload date:
- Size: 2.0 kB
- Tags: Source
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
3a517703f0810aeb61595013178bbe6096ffd15e6b24e5ea8fd3c371057a8fc1
|
|
MD5 |
5e56ff3e629904408033af5b12cbfa55
|
|
BLAKE2b-256 |
44f226f72dbf1e3afb438fba79b40ebc2ef753bd75be4c49aadc383a5ef1bf8b
|
File details
Details for the file byteline_sdk-1.0.2-py3-none-any.whl
.
File metadata
- Download URL: byteline_sdk-1.0.2-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using 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
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 |
5db98352ea0d061fb4504bfeed702ef72df9033c87517c4bf7c622b02337b1d2
|
|
MD5 |
43a974f320acf3e621caa74ecfc8866a
|
|
BLAKE2b-256 |
f0291a5ec72a2a52c398bd9844010e44b4f21eceda3e30cae1dd0bffcf38b4df
|