GET /xkcd/random
从跨越近二十年的 2,900+ 部漫画完整档案中获取随机 xkcd 漫画。返回漫画标题、编号、图片 URL、alt 文字(隐藏的悬停文字)和发布日期。适用于「给我惊喜」功能、随机内容推送、休息时间娱乐小组件和解闷应用功能。
curl https://nordapi.ee/api/v1/xkcd/random
{
"data": {
"alt": "Ooh, another one. Uh ... the ability to alter any coefficients of friction at will during sporting events.",
"date": "2012-07-25",
"img": "https://imgs.xkcd.com/comics/eyelash_wish_log.png",
"link": "",
"num": 1086,
"title": "Eyelash Wish Log",
"transcript": "((The panel appears to be the log from a 'wish bureau'.))\n\nEyelash Wish Log\n Wish Bureau ID #:\n 21118378\n Date range:\n Jan-Apr 2012\n[[The 'Wisher' is black hat guy.]]\nWisher\n\nDate Wish\nJan 09 That wishing on eyelashes worked\nJan 12 A pony\nJan 15 Unlimited wishes\nJan 19 Revocation of rules prohibiting unlimited wishes\nJan 20 A finite but arbitrarily large number of wishes\nJan 28 The power to dictate the rules governing wishes\nFeb 05 Unlimited eyelashes\nFeb 06 That wish-granting entities be required to interpret wishes in accordance with the intent of the wisher\nFeb 08 That wish-granting entities be incapable of impatience\nFeb 12 Unlimited breadsticks\nFeb 12 Veto power over others' wishes\nFeb 19 Veto power over others' wishes and all congressional legislation\nFeb 23 The power to override any veto\nFeb 27 The power to see where any shortened url goes without clicking\nFeb 29 The power to control the direction news anchors are looking while they talk\nMar 07 The power to introduce arbitrary error into Nate Silver's predictions\nMar 15 A house of stairs\nMar 23 A universe which is a replica of this one sans rules against meta-wishes\nMar 29 Free transportation to and from that universe\nApr 02 A clear explanation of how wish rules are structured and enforced\nApr 07 The power to banish people into the TV show they're talking about\nApr 08 Zero wishes\nApr 15 Veto power over clocks\nApr 22 A Pokéball that works on strangers' pets\n\n{{Title text: Ooh, another one. Uh ... the ability to alter any coefficients of friction at will during sporting events.}}"
},
"success": true
}