使用 斐斐打码 对验证码进行打码
Project description
斐斐云打码
使用 斐斐打码 对验证码进行打码。一次封装简单使用
如何使用
引入
pip install yundama
实例化
from yundama.Yundama import Yundama
yundama = Yundama(app_id="你的pd_id", app_key="你的pd_key")
查询余额
yundama.get_balance()
提交需要验证的图片
img = open('../data/image.png', 'rb')
yundama.get_code_result(img.read(), '验证码类型')
退款
yundama.refund('订单id')
充值
yundama.recharge('充值卡号', '充值卡密')
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
yundama-0.1.3.tar.gz
(2.8 kB
view hashes)