Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/007gzs/aliyun-python-sdk-dysmsapi
https://github.com/007gzs/aliyun-python-sdk-dysmsapi
Last synced: 14 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/007gzs/aliyun-python-sdk-dysmsapi
- Owner: 007gzs
- License: apache-2.0
- Created: 2018-03-27T10:20:27.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-03-27T10:22:19.000Z (almost 7 years ago)
- Last Synced: 2024-11-08T10:29:29.566Z (2 months ago)
- Language: Python
- Size: 79.1 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# SDK 使用说明
---------
## 概述
* 该python SDK包含MNS、SMS功能,同时兼容python2.6+、python3.0+## 文档概述
├── aliyunsdkdybaseapi #原aliyunsdkdybaseapi库
│ └── request
├── aliyunsdkdysmsapi #原aliyunsdkdysmsapi库
│ ├── __init__.py
│ └── request
├── const.py #配置key、secret等参数
├── demo_sms_api.py #通过mns获取队列回执
├── demo_sms_query.py #短信发送状态查询
├── demo_sms_send.py #短信发送
├── mns_python_sdk #原mns_python_sdk
│ ├── bin
│ ├── mns
│ ├── sample
│ ├── sample.cfg
│ ├── sample.py
│ └── setup.py
└── setup.py## SDK使用
* 注:`如果使用python2,则将文中python替换为python2;如果使用python3,则将文中python替换为python3`
### 短信发送或查询状态
* 安装依赖:在最顶层目录执行:python setup.py install
* 短信发送执行demo程序:python demo_sms_send.py
* 查询状态执行demo程序:python demo_sms_query.py### 通过mns获取队列回执
* 安装依赖1:在最顶层目录执行:python setup.py install
* 安装依赖2:进入目录mns_python_sdk,执行:python setup.py install
* 最顶层目录执行demo执行:python demo_sms_api.py