Skip to main content

An async yunpian API library for Python

Project description

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

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.

Download files

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

Source Distribution

yunpian-0.1.1.tar.gz (6.3 kB view hashes)

Uploaded Source

Built Distribution

yunpian-0.1.1-py2.py3-none-any.whl (6.5 kB view hashes)

Uploaded Python 2 Python 3

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