yesapi

yesapi-python3-sdk


Keywords
yesapi, api, yes
License
MIT
Install
pip install yesapi==1.0.2

Documentation

yesapi

yesapi-python-sdk

小白接口(YesApi.cn)Python SDK包

文档地址: http://api.okayapi.com/docs.php

用法:

yes = YesApi(api_url='http://xxx.com', app_key='xxxx',
             app_secret='xxxxx')
params = {'s': 'App.Captcha.Create'}
with open('yzm.jpeg', 'wb+') as f:
    rsp = yes.http_get(params=params)
    f.write(rsp.content)