GET /poetry/random
Получение случайного стихотворения из коллекции классической английской поэзии PoetryDB. Возвращает название стихотворения, автора, полный текст (в виде строк) и количество строк. Включает произведения Шекспира, Дикинсон, Китса, По, Уитмена и других.
curl https://nordapi.ee/api/v1/poetry/random
{
"data": {
"author": "Edgar Allan Poe",
"line_count": "16",
"lines": [
"Wreathed in myrtle, my sword I'll conceal,",
" Like those champions devoted and brave,",
"When they plunged in the tyrant their steel,",
" And to Athens deliverance gave.",
"",
"Beloved heroes! your deathless souls roam",
" In the joy breathing isles of the blest;",
"Where the mighty of old have their home--",
" Where Achilles and Diomed rest.",
"",
"In fresh myrtle my blade I'll entwine,",
" Like Harmodius, the gallant and good,",
"When he made at the tutelar shrine",
" A libation of Tyranny's blood.",
"",
"Ye deliverers of Athens from shame!",
" Ye avengers of Liberty's wrongs!",
"Endless ages shall cherish your fame,",
" Embalmed in their echoing songs!"
],
"title": "Hymn To Aristogeiton And Harmodius"
},
"success": true
}