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.1.tar.gz (6.3 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2 Python 3

File details

Details for the file yunpian-0.1.1.tar.gz.

File metadata

  • Download URL: yunpian-0.1.1.tar.gz
  • Upload date:
  • Size: 6.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for yunpian-0.1.1.tar.gz
Algorithm Hash digest
SHA256 71e242f1b01ad5685e41b2d0efd3bb3eabb0a8892c8b1ca467bacbf84df10dff
MD5 fa4591949aa91a0c72fbe10964d0d40c
BLAKE2b-256 883eef4b41a0f2662c716f92231730ec3663419df020f51a2e7aef47a72c658f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for yunpian-0.1.1-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 cb5add93a8ae2a9824e644eb41608f032ca2a7f49da630a741a83c9e380276dd
MD5 b52912ac038e5a518909afa43a1cb0cc
BLAKE2b-256 7ed7282d8bbe5c6b3a7af32c1ba6a4acb0a352dfb02be48e0ada11be337a7b62

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