消息服务客户端。

fitelio-ms-client的Python项目详细描述


在菲泰尔.io消息服务客户端

Python Versionwemake-python-styleguideCode style: blackwemake.services

快速启动

安装

pip install fitelio-ms-client

然后您可以发送消息:

^{pr2}$

或者

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

或推送消息

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

先决条件

您需要:

  • python3.8(完整版本请参见pyproject.toml
  • MS Server instance

发展

在本地开发时,我们使用:

  • ^{}插件(required
  • ^{}必需
  • pycharm 2017+或{}

文件

完整的文档可以在这里找到:^{}。在

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java如何在数据库中插入行时自动发送电子邮件?   从进程输出读取的Java问题   java质疑StyledDocument和JTextPane之间的关系,以及接口的正确使用   java错误getPlayer(args[0]);   java如何使Spring引导在重新打包的WAR中包含清单文件?   Java中的除法与模   java使用2d数组和JfreeChart制作散点图   java扩展SonarQube FindBugs插件和自定义FindBugs插件   javaspring:hibernate+ehcache   具有不正确的equals和HashCode实现的java HashMap   java Jaspersoft报告网。旧金山。jasperreports。发动机例外:net。旧金山。jasperreports。发动机填满JRepressionEvalException:计算表达式时出错   java如果输入与其变量不匹配,如何添加错误   在java中使用简单数组[]实现队列   无法启动上下文路径/hsx上的java FAIL应用程序