GET /xkcd/random
Hae satunnainen xkcd-sarjakuva koko yli 2 900 sarjakuvan arkistosta, joka kattaa lähes kaksi vuosikymmentä. Palauttaa sarjakuvan otsikon, numeron, kuva-URL-osoitteen, alt-tekstin (piilotettu hover-teksti) ja julkaisupäivän. Täydellinen 'yllätä minut' -toiminnoille, satunnaisille sisältösyötteille, taukoviihteen pienoissovelluksille ja tylsyyttä torjuville sovellustoiminnoille.
curl https://nordapi.ee/api/v1/xkcd/random
{
"data": {
"alt": "Although ... who else can't wait for them to incorporate that Wiimote head-tracking stuff into games? Man, the future's gonna be *awesome*.",
"date": "2008-10-03",
"img": "https://imgs.xkcd.com/comics/flash_games.png",
"link": "",
"num": 484,
"title": "Flash Games",
"transcript": "[[On the left side of the panel, is a massive TV screen, large speakers, and similar devices, all connected to a \"Game Station 20,000\" console. A man, however, is over on the right side of the panel, on a modestly-sized computer.]]\nMan: Ooh, I think I've got it figured out! Okay, one more hour.\n<<Beep>> <<Plunk>>\nCaption: The most powerful gaming systems in the world still can't match the addictiveness of tiny in-browser Flash games.\n{{title text: Although ... who else can't wait for them to incorporate that Wiimote head-tracking stuff into games? Man, the future's gonna be *awesome*.}}"
},
"success": true
}