Small sample project that demonstrate ping++ integration with Python Flask.
基本上抄了这里(https://github.com/lijinma/a-real-pingplusplus-pingxx-pingpp-example)的代码和ping++ python SDK的代码
git clone
virtualenv venv
. ./venv/bin/activate
pip install -r requirements.txt
- 设置环境变量
PINGXX_API_ID, PINGXX_SK
python paywithflask.py
- 浏览
http://localhost:8888