Skip to main content

Messaging service client.

Project description

Fitel.io Messaging Service Client

Python Version wemake-python-styleguide Code style: black wemake.services

Quickstart

Install

pip install fitelio-ms-client

Then you can send messages:

from fms.client import FMSClient

FMSClient().send_message(recipients=["<phone1>", "<phone2>"], text="Congratulation! You have sent first SMS")

or

from fms.client import FMSClient

FMSClient().send_message(recipients=["<phone>"], text="Congratulation! You have sent first SMS", provider="twilio")

or Push message

from fms.client import FMSClient

FMSClient().send_message(recipients=["<token1>", "<token2>"], text="Congratulation! You have sent first Push message", 
                         method="push")

Prerequisites

You will need:

  • python3.8 (see pyproject.toml for full version)
  • MS Server instance

Development

When developing locally, we use:

Documentation

Full documentation is available here: docs/.

Project details


Download files

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

Source Distribution

fitelio-ms-client-0.1.9.tar.gz (9.3 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page