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.

Project details


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)

Uploaded Source

Built Distribution

yunpian-0.1.0-py2.py3-none-any.whl (6.4 kB view details)

Uploaded Python 2 Python 3

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

Hashes for yunpian-0.1.0.tar.gz
Algorithm Hash digest
SHA256 77ad362ac5e3703abd8ee76f9d8d3696b24ff754e5a98dec1b1c9c955fc9e345
MD5 044c1da7298cbf5baa9441954993c6b3
BLAKE2b-256 32ffd0b968b0ebfce094d464f6787e9a240ce2681508ecac3a46c4b8f00b89c7

See more details on using hashes here.

File details

Details for the file yunpian-0.1.0-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for yunpian-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 5b5b0fe5e7ca3446b32ab0776620d96eb822f8bf164d8cf6b5d5fd071838eaab
MD5 4cfbf4714e5130a7d142321b7848d9a5
BLAKE2b-256 a90308d73fc98605f978ff6d9157e1b6530eb0059ad92d7d833e8cffd62a1a10

See more details on using hashes here.

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