当前位置:网站首页>免费的聊天机器人API
免费的聊天机器人API
2022-07-06 00:22:00 【Channing Lewis】
1 青云客
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"]
效果还不错,只是返回有点慢。
2 思知
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']
边栏推荐
- State mode design procedure: Heroes in the game can rest, defend, attack normally and attack skills according to different physical strength values.
- 多线程与高并发(8)—— 从CountDownLatch总结AQS共享锁(三周年打卡)
- 7.5 simulation summary
- LeetCode 斐波那契序列
- Mathematical model Lotka Volterra
- Global and Chinese market of valve institutions 2022-2028: Research Report on technology, participants, trends, market size and share
- QT -- thread
- [Chongqing Guangdong education] Chongqing Engineering Vocational and Technical College
- MySQL global lock and table lock
- JS can really prohibit constant modification this time!
猜你喜欢
云呐|固定资产管理系统主要操作流程有哪些
Upgrade openssl-1.1.1p for openssl-1.0.2k
wx.getLocation(Object object)申请方法,最新版
认识提取与显示梅尔谱图的小实验(观察不同y_axis和x_axis的区别)
Date类中日期转成指定字符串出现的问题及解决方法
FPGA内部硬件结构与代码的关系
Miaochai Weekly - 8
【DesignMode】装饰者模式(Decorator pattern)
Calculate sha256 value of data or file based on crypto++
FFT 学习笔记(自认为详细)
随机推荐
选择致敬持续奋斗背后的精神——对话威尔价值观【第四期】
MDK debug时设置数据实时更新
数据分析思维分析方法和业务知识——分析方法(三)
Pointer - character pointer
MySql——CRUD
Intranet Security Learning (V) -- domain horizontal: SPN & RDP & Cobalt strike
Wechat applet -- wxml template syntax (with notes)
电机的简介
STM32 configuration after chip replacement and possible errors
LeetCode 1189. Maximum number of "balloons"
LeetCode 8. String conversion integer (ATOI)
2022.7.5-----leetcode.729
Power Query数据格式的转换、拆分合并提取、删除重复项、删除错误、转置与反转、透视和逆透视
XML配置文件
[designmode] composite mode
OS i/o devices and device controllers
多线程与高并发(8)—— 从CountDownLatch总结AQS共享锁(三周年打卡)
FFmpeg抓取RTSP图像进行图像分析
FPGA内部硬件结构与代码的关系
Global and Chinese markets of POM plastic gears 2022-2028: Research Report on technology, participants, trends, market size and share