An async yunpian API library for Python
Project description
An async yunpian API library for Python
Free software: MIT license
Documentation: https://yunpian.readthedocs.org
Python version: 3.5, 3.6
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.
Project details
Release history Release notifications | RSS feed
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.0.tar.gz
(6.4 kB
view details)
Built Distribution
File details
Details for the file yunpian-0.1.0.tar.gz
.
File metadata
- Download URL: yunpian-0.1.0.tar.gz
- Upload date:
- Size: 6.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 77ad362ac5e3703abd8ee76f9d8d3696b24ff754e5a98dec1b1c9c955fc9e345 |
|
MD5 | 044c1da7298cbf5baa9441954993c6b3 |
|
BLAKE2b-256 | 32ffd0b968b0ebfce094d464f6787e9a240ce2681508ecac3a46c4b8f00b89c7 |
File details
Details for the file yunpian-0.1.0-py2.py3-none-any.whl
.
File metadata
- Download URL: yunpian-0.1.0-py2.py3-none-any.whl
- Upload date:
- Size: 6.4 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5b5b0fe5e7ca3446b32ab0776620d96eb822f8bf164d8cf6b5d5fd071838eaab |
|
MD5 | 4cfbf4714e5130a7d142321b7848d9a5 |
|
BLAKE2b-256 | a90308d73fc98605f978ff6d9157e1b6530eb0059ad92d7d833e8cffd62a1a10 |