赞
踩
http://api.qingyunke.com/
调用方法:
def qingyunke(self, msg):
url = 'http://api.qingyunke.com/api.php?key=free&appid=0&msg={}'.format(urllib.parse.quote(msg))
html = requests.get(url)
return html.json()["content"]
效果还不错,只是返回有点慢。
https://www.ownthink.com
调用方法:
def ownthink(self, msg):
url = 'https://api.ownthink.com/bot?spoken={}'.format(urllib.parse.quote(msg))
html = requests.get(url)
return html.json()["data"]['info']['text']
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。