API文档


一言

<table> <thead> <tr> <th>返回一言</th> <th>详细</th> </tr> </thead> <tbody> <tr> <td>接口地址:</td> <td><code>https://haser.top/api/yiy/yiy.php</code></td> </tr> <tr> <td>说明</td> <td>返回一言</td> </tr> <tr> <td>请求示例</td> <td><code>https://haser.top/api/yiy/yiy.php</code></td> </tr> <tr> <td>备用地址</td> <td><code>无</code></td> </tr> </tbody> </table> <hr /> <table> <thead> <tr> <th>返回格式:</th> </tr> </thead> <tbody> <tr> <td>String</td> </tr> </tbody> </table> <table> <thead> <tr> <th>请求方式:</th> </tr> </thead> <tbody> <tr> <td>GET</td> </tr> </tbody> </table> <blockquote> <h4>请求参数 说明</h4> </blockquote> <table> <thead> <tr> <th>名称</th> <th>必填</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>null</td> <td>null</td> <td>null</td> <td>null</td> </tr> </tbody> </table> <blockquote> <h4>返回参数 说明</h4> </blockquote> <table> <thead> <tr> <th>名称</th> <th>类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td>文本</td> <td>String</td> <td>返回的一言文字</td> </tr> </tbody> </table> <h3>返回示例 :</h3> <pre><code>少年征战,终将为王。</code></pre> <h3>HTML示例 :</h3> <pre><code>&lt;script type="text/javascript" src="https://haser.top/api/yiy/yiy.php?format=js&amp;charset=utf-8"&gt;&lt;/script&gt; &lt;div id="yiyan"&gt;&lt;script&gt;hitokoto()&lt;/script&gt;&lt;/div&gt; </code></pre>

页面列表

ITEM_HTML