byteline-sdk-1.0.2


توضیحات

Package to easily use Byteline REST APIs
ویژگی مقدار
سیستم عامل OS Independent
نام فایل byteline-sdk-1.0.2
نام byteline-sdk
نسخه کتابخانه 1.0.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Devinder Singh
ایمیل نویسنده dsingh@byteline.io
آدرس صفحه اصلی https://github.com/byteline/byteline-py-sdk
آدرس اینترنتی https://pypi.org/project/byteline-sdk/
مجوز -
# Byteline Python SDK Website: [https://www.byteline.io](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](https://console.byteline.io). `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](https://console.byteline.io). ``` import messaging messaging.send_email({apiKey},'Zoom Party','Let's talk tomorrow evening?','myfriend@gmail.com') ```


نیازمندی

مقدار نام
- requests


زبان مورد نیاز

مقدار نام
>=3.6 Python


نحوه نصب


نصب پکیج whl byteline-sdk-1.0.2:

    pip install byteline-sdk-1.0.2.whl


نصب پکیج tar.gz byteline-sdk-1.0.2:

    pip install byteline-sdk-1.0.2.tar.gz