Skip to main content

qcloudapi3是为了让Python3开发者能够在自己的代码里更快捷方便的使用腾讯云的API而开发的SDK工具包。

Project description

qcloudapi3是为了让Python3开发者能够在自己的代码里更快捷方便的使用腾讯云的API而开发的Python库。

Example

>>> from qcloudapi3 import QcloudApi
>>> _module = 'wenzhi'
>>> action = 'TextSentiment'
>>> config = {
>>>     'Region': 'gz',
>>>     'secretId': '123',
>>>     'secretKey': '000',
>>>     'method': 'post'
>>> }
>>> params = {
>>>     "content": "所有人都很差劲。",
>>> }
>>> service = QcloudApi(_module, config)
>>> print('URL:\n' + service.generateUrl(action, params))
>>> print(service.call(action, params))
URL:
https://wenzhi.api.qcloud.com/v2/index.php
{"code":0,"message":"","codeDesc":"Success","positive":0.048611093312502,"negative":0.95138889551163}

Install

pip install qcloudapi3

Author

Yixian Du

Download files

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

Files for qcloudapi3, version 0.3.0
Filename, size File type Python version Upload date Hashes
Filename, size qcloudapi3-0.3.0-py2.py3-none-any.whl (10.8 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size qcloudapi3-0.3.0.tar.gz (5.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page