1 Star 0 Fork 41

傲天雪/微信PC客户端

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
robot.py 398 Bytes
一键复制 编辑 原始数据 按行查看 历史
经济适用坟 提交于 2018-08-31 15:56 +08:00 . 第一次提交
import urllib
import urllib2,json
def getResultFromRobot(text,userid):
url='http://www.tuling123.com/openapi/api'
value={"key": u"ef065a8120674119a005035f98df21d5","info":text,"userid":userid}
request=urllib2.Request(url=url,headers={'Content-Type':'text/json'},data=json.dumps(value))
res=urllib2.urlopen(request)
result = json.loads(res.read())
return result
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Python
1
https://gitee.com/WesleySwh/wechat_pc_client.git
git@gitee.com:WesleySwh/wechat_pc_client.git
WesleySwh
wechat_pc_client
微信PC客户端
master

搜索帮助