You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

1.6 KiB

title titleEN date categories tags
呓喵酱的一言API IoTcat's Motto API 2019-07-30 [tech] [api motto]

{% raw %}{% endraw %} 这里是呓喵酱的语录API哦~

{% raw %}{% endraw %}

{% raw %}{% endraw %} Hi~ This is the API of IoTcat's Motto.. {% raw %}{% endraw %}

{% raw %}

{% endraw %}

{% raw %}{% endraw %}

参数

  • lang: (可选)语言 e.g. lang=en(英语)/zh(中文)

请求地址

GET https://api.yimian.xyz/words/

示例

//随机获取一句中文语录
https://api.yimian.xyz/words/
//随机获取一句英文语录
https://api.yimian.xyz/words/?lang=en

返回值(plaintext)

随机一句话

{% raw %}{% endraw %}

{% raw %}{% endraw %}

Parameters

  • lang: (optional) Language setting. e.g. lang=en(English)/zh(Chinese)

Request address

GET https://api.yimian.xyz/words/

Example

//Get a random Chinese quotation
https://api.yimian.xyz/words/
//Get a random English quotation
https://api.yimian.xyz/words/?lang=en

Return value (plaintext)

Random sentence..

{% raw %}{% endraw %}