GET /poetry/collection
Obtenir plusieurs poèmes aléatoires en une seule requête. Idéal pour créer des flux de poésie ou des fonctionnalités de découverte.
count
optionnel
par défaut: 5
Number of poems (1-10)
| Nom | Requis | Par défaut | Description |
|---|---|---|---|
count |
Non | 5 | Number of poems (1-10) |
curl "https://nordapi.ee/api/v1/poetry/collection?count=3"
{
"data": [
{
"author": "John Keats",
"line_count": "33",
"lines": [
"Season of mists and mellow fruitfulness,",
"Close bosom-friend of the maturing sun;",
"Conspiring with him how to load and bless",
"With fruit the vines that round the thatch-eaves run;",
"To bend with apples the mossed cottage-trees,",
"And fill all fruit with ripeness to the core;",
"To swell the gourd, and plump the hazel shells",
"With a sweet kernel; to set budding more,",
"And still more, later flowers for the bees,",
"Until they think warm days will never cease,",
"For Summer has o'er-brimmed their clammy cell.",
"",
"Who hath not seen thee oft amid thy store?",
"Sometimes whoever seeks abroad may find",
"Thee sitting careless on a granary floor,",
"Thy hair soft-lifted by the winnowing wind;",
"Or on a half-reaped furrow sound asleep,",
"Drowsed with the fume of poppies, while thy hook",
"Spares the next swath and all its twined flowers;",
"And sometimes like a gleaner thou dost keep",
"Steady thy laden head across a brook;",
"Or by a cider-press, with patient look,",
"Thou watchest the last oozings, hours by hours.",
"",
"Where are the songs of Spring? Ay, where are they?",
"Think not of them, thou hast thy music too,---",
"While barred clouds bloom the soft-dying day,",
"And touch the stubble-plains with rosy hue;",
"Then in a wailful choir, the small gnats mourn",
"Among the river sallows, borne aloft",
"Or sinking as the light wind lives or dies;",
"And full-grown lambs loud bleat from hilly bourn;",
"Hedge-crickets sing; and now with treble soft",
"The redbreast whistles from a garden-croft,",
"And gathering swallows twitter in the skies."
],
"title": "Ode To Autumn"
},
{
"author": "George Gordon, Lord Byron",
"line_count": "12",
"lines": [
"LUCIETTA, my deary,",
"That fairest of faces!",
"Is made up of kisses;",
"But, in love, oft the case is",
"Even stranger than this is--",
"There's another, that's slyer,",
"Who touches me nigher,--",
"A Witch, an intriguer,",
"Whose manner and figure",
"Now piques me, excites me,",
"Torments and delights me--",
" _Cætera desunt_."
],
"title": "Lucietta. a Fragment"
},
{
"author": "Henry Wadsworth Longfellow",
"line_count": "14",
"lines": [
"As a fond mother, when the day is o'er,",
"Leads by the hand her little child to bed,",
"Half willing, half reluctant to be led,",
"And leave his broken playthings on the floor,",
"Still gazing at them through the open door,",
"Nor wholly reassured and comforted",
"By promises of others in their stead,",
"Which though more splendid, may not please him more;",
"So Nature deals with us, and takes away",
"Our playthings one by one, and by the hand",
"Leads us to rest so gently, that we go",
"Scarce knowing if we wish to go or stay,",
"Being too full of sleep to understand",
"How far the unknown transcends the what we know."
],
"title": "Nature"
}
],
"success": true
}