跳转到主要内容

Python的异步云片API库

项目描述

https://img.shields.io/pypi/v/yunpian.svg https://img.shields.io/travis/mozillazg/yunpian.svg https://img.shields.io/coveralls/mozillazg/yunpian/master.svg Documentation Status https://img.shields.io/pypi/dm/yunpian.svg Join the chat at https://gitter.im/mozillazg/yunpian

Python的异步云片API库

功能

  • TODO

安装

在命令行中

$ pip install yunpian

用法

import aiohttp
from yunpian import SMSClient
from yunpian.contrib.aiohttp import Aiohttp

async with aiohttp.ClientSession() as session:
    c = SMSClient(Aiohttp(session), 'api_key')
    response = await c.single_send('134xxx', '【测试网】您的验证码是 12432')

print(response)
print(response.json())

鸣谢

此包是用 Cookiecuttermozillazg/cookiecutter-pypackage 项目模板创建的。

项目详情


下载文件

下载适合您平台的文件。如果您不确定选择哪个,请了解更多关于 安装包 的信息。

源分发

yunpian-0.1.1.tar.gz (6.3 kB 查看哈希值)

上传时间:

构建分发

yunpian-0.1.1-py2.py3-none-any.whl (6.5 kB 查看哈希值)

上传时间 Python 2 Python 3