GET /xkcd/random
Obtenga una tira de xkcd al azar del archivo completo de más de 2.900 tiras a lo largo de casi dos décadas. Devuelve el título, número, URL de la imagen, texto alternativo (el texto oculto al pasar el ratón) y la fecha de publicación de la tira. Perfecto para funciones de "sorpréndeme", feeds de contenido aleatorio, widgets de entretenimiento para los descansos y funciones para combatir el aburrimiento.
curl https://nordapi.ee/api/v1/xkcd/random
{
"data": {
"alt": "Ingress: Foursquare With Space Noises.",
"date": "2012-12-05",
"img": "https://imgs.xkcd.com/comics/location.png",
"link": "",
"num": 1143,
"title": "Location",
"transcript": "[[A man is sitting at a desk typing at his computer while a man and a woman look over his shoulder.]]\nMan: (typing) Hey, party tonight? We'd all love to come see your new place!\nPC Screen: Wait, what?\n\n[[The other side of the conversation: a guy typing on a laptop at a table.]]\nLaptop Screen: We want to hang out!\nGuy: (typing) We're not, like, good friends.\nLaptop Screen: I know, but we were thinking about it and we really like you! \n\n[[The three people again. The man behind the man in the chair is clasping his hands in anticipation.]]\nMan: (typing) You should have us over tonight! For, like, an hour. It'll be fun!\nPC Screen: Well, uh, sure. \n\n[[A black panel with white outlines and letters. A view of the guy's house from above. Four green explosions are seen in the house's yard.]]\n\n{{Title text: Ingress: Foursquare With Space Noises.}}"
},
"success": true
}