skip to navigation
skip to content

yunpian 0.1.1

An async yunpian API library for Python

An async yunpian API library for Python

Features

  • TODO

Installation

At the command line:

$ pip install yunpian

Usage

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())

Credits

This package was created with Cookiecutter and the mozillazg/cookiecutter-pypackage project template.

 
File Type Py Version Uploaded on Size
yunpian-0.1.1-py2.py3-none-any.whl (md5) Python Wheel 3.6 2017-08-13 6KB
yunpian-0.1.1.tar.gz (md5) Source 2017-08-13 6KB