Random Poem

Retrieve a random poem by many famous authors. You can filter poem's by length (number of lines).

GET
https://api.apileague.com/retrieve-random-poem
Example Request and Response
GET
https://api.apileague.com/{{ examples.getRandomPoem }}
{
    "title": "Purpose",
    "author": "Amos Russel Wells",
    "poem": "Deeply and long the sap must flow\nEre the merest layer of elm can grow.\n\nMany a wave's recurrent shock\nIs needed to smooth the tiniest rock.\n\nThousands of leaves must fade and fall\nTo make the mold by the garden wall.\n\nThus, as the patient seasons roll,\nSlowly is fashioned a human soul.\n\nPurpose and failure and purpose still,\nSteadily moved by a quiet will,—\n\nLayer on layer in sturdy way,\nHardly seen the growth of a day,—\n\nTimes of failure and fear and fall,\nBut one strong tendency through it all,—\n\nGod and purpose and sun by sun\nReach the stars before they are done!\nFor I know the plans I have for you,” declares the Lord, “plans to prosper you and not to harm you, plans to give you hope and a future"
}
cURL
Java
Javascript
Python
Go
C#
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}
 {{ codeCopyText }}