请求地址:https://api.mu-jie.cc/stray-birds 请求方式:GET 返回格式:JSON, TEXT
请求参数
参数名称
是否必填
参数类型
参数说明
type
否
string
返回的类型,可填text或json,默认:json
请求示例 https://api.mu-jie.cc/stray-birds?type=json
返回示例 JSON
{
"num": 23,
"en": "“We, the rustling leaves, have a voice that answers the storms, but who are you so silent?”“I am a mere flower.”",
"cn": "“我们,萧萧的树叶,都有声响回答那暴风雨,但你是谁呢,那样地沉默着?”“我不过是一朵花。"
}
TEXT:
“You are the big drop of dew under the lotus leaf, I am the smaller one on its upper side, ” said the dew drop to the lake.
露珠对湖水说道:“你,是在荷叶下面的大露珠,我是在荷叶上面的较小的露珠。”
JSON返回参数
参数名称
参数类型
参数说明
num
int
诗句序号,与书籍对应
en
string
诗句英文
cn
string
诗句中文
2.从诗集区间中随机
请求地址:https://api.mu-jie.cc/stray-birds/range 请求方式:GET 返回格式:JSON, TEXT