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.

Files for yunpian, version 0.1.1
Filename, size File type Python version Upload date Hashes
Filename, size yunpian-0.1.1-py2.py3-none-any.whl (6.5 kB) File type Wheel Python version 3.6 Upload date Hashes View hashes
Filename, size yunpian-0.1.1.tar.gz (6.3 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page