一言接口文档地址:
https://api.ooomx.com/doc/hitokoto.html
一言接口地址:
https://api.ooomx.com/api/hitokoto
请求参数: ?format=js 或 ?format=json
JS代码实现刷新一次随机输出语句:
<script type="text/javascript" src="https://api.ooomx.com/api/hitokoto?format=js&charset=utf-8"></script>
<div id="hitokoto"><script>hitokoto()</script></div>
=======================================================≠===
毒鸡汤接口文档地址:
https://api.ooomx.com/doc/dujitang.html
毒鸡汤接口地址:
https://api.ooomx.com/api/dujitang
请求参数: ?format=js 或 ?format=json
JS代码实现刷新一次随机输出语句:
<script type="text/javascript" src="https://api.ooomx.com/api/dujitang?format=js&charset=utf-8"></script>
<div id="dujitang"><script>dujitang()</script></div>
=======================================================≠===
舔狗接口文档地址:
https://api.ooomx.com/doc/tiangou.html
舔狗接口地址:
https://api.ooomx.com/api/tiangou
请求参数: ?format=js 或 ?format=text 直接输出则返回图片
JS代码实现刷新一次随机输出语句:
<script type="text/javascript" src="https://api.ooomx.com/api/tiangou?format=js&charset=utf-8"></script>
<div id="tiangou"><script>tiangou()</script></div>