一言接口-v2.0
<table>
<thead>
<tr>
<th>返回一言</th>
<th>详细</th>
</tr>
</thead>
<tbody>
<tr>
<td>接口地址:</td>
<td><code>https://haser.top/independent/api_v2.0/t_v2.0/t_v2.0.php</code></td>
</tr>
<tr>
<td>说明</td>
<td>返回一言</td>
</tr>
<tr>
<td>请求示例</td>
<td><code>https://haser.top/independent/api_v2.0/t_v2.0/t_v2.0.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><script type="text/javascript" src="https://haser.top/independent/api_v2.0/t_v2.0/t_v2.0.php?format=js&charset=utf-8"></script>
<body>标签内内容:
<div id="yiyan"><script>hitokoto()</script></div>
</code></pre>