← Sprog og poesi

Digtsamling

GET /poetry/collection

Hent flere tilfældige digte i én forespørgsel. Perfekt til opbygning af poesifeeds eller opdagelsesfunktioner.

Parametre

count valgfri standard: 5

Number of poems (1-10)

Eksempelforespørgsler

Grundlæggende brug
curl "https://nordapi.ee/api/v1/poetry/collection?count=3"

Livesvar

{
  "data": [
    {
      "author": "Alexander Pope",
      "line_count": "13",
      "lines": [
        "IMMITATION OF ENGLISH POETS. WALLER",
        "",
        "Fair charmer, cease! nor make your voice's prize,",
        "A heart resign'd, the conquest of your eyes:",
        "Well might, alas! that threaten'd vessel fail,",
        "Which winds and lightning both at once assail.",
        "We were too blest with these enchanting lays,",
        "Which must be heavenly when an angel plays:",
        "But killing charms your lover's death contrive,",
        "Lest heavenly music should be heard alive.",
        "Orpheus could charm the trees, but thus a tree,",
        "Taught by your hand, can charm no less than he:",
        "A poet made the silent wood pursue,",
        "This vocal wood had drawn the poet too."
      ],
      "title": "Of a Lady Singing to Her Lute"
    },
    {
      "author": "Henry Wadsworth Longfellow",
      "line_count": "32",
      "lines": [
        "As a pale phantom with a lamp",
        "Ascends some ruin's haunted stair,",
        "So glides the moon along the damp",
        "Mysterious chambers of the air.",
        "",
        "Now hidden in cloud, and now revealed,",
        "As if this phantom, full of pain,",
        "Were by the crumbling walls concealed,",
        "And at the windows seen again.",
        "",
        "Until at last, serene and proud",
        "In all the splendor of her light,",
        "She walks the terraces of cloud,",
        "Supreme as Empress of the Night.",
        "",
        "I look, but recognize no more",
        "Objects familiar to my view;",
        "The very pathway to my door",
        "Is an enchanted avenue.",
        "",
        "All things are changed. One mass of shade,",
        "The elm-trees drop their curtains down;",
        "By palace, park, and colonnade",
        "I walk as in a foreign town.",
        "",
        "The very ground beneath my feet",
        "Is clothed with a diviner air;",
        "While marble paves the silent street",
        "And glimmers in the empty square.",
        "",
        "Illusion! Underneath there lies",
        "The common life of every day;",
        "Only the spirit glorifies",
        "With its own tints the sober gray.",
        "",
        "In vain we look, in vain uplift",
        "Our eyes to heaven, if we are blind;",
        "We see but what we have the gift",
        "Of seeing; what we bring we find."
      ],
      "title": "Moonlight"
    },
    {
      "author": "Edgar Allan Poe",
      "line_count": "53",
      "lines": [
        "Lo! Death has reared himself a throne",
        "In a strange city lying alone",
        "Far down within the dim West,",
        "Where the good and the bad and the worst and the best",
        "Have gone to their eternal rest.",
        "There shrines and palaces and towers",
        "(Time-eaten towers and tremble not!)",
        "Resemble nothing that is ours.",
        "Around, by lifting winds forgot,",
        "Resignedly beneath the sky",
        "The melancholy waters lie.",
        "",
        "No rays from the holy Heaven come down",
        "On the long night-time of that town;",
        "But light from out the lurid sea",
        "Streams up the turrets silently--",
        "Gleams up the pinnacles far and free--",
        "Up domes--up spires--up kingly halls--",
        "Up fanes--up Babylon-like walls--",
        "Up shadowy long-forgotten bowers",
        "Of sculptured ivy and stone flowers--",
        "Up many and many a marvellous shrine",
        "Whose wreathed friezes intertwine",
        "The viol, the violet, and the vine.",
        "",
        "Resignedly beneath the sky",
        "The melancholy waters lie.",
        "So blend the turrets and shadows there",
        "That all seem pendulous in air,",
        "While from a proud tower in the town",
        "Death looks gigantically down.",
        "",
        "There open fanes and gaping graves",
        "Yawn level with the luminous waves;",
        "But not the riches there that lie",
        "In each idol's diamond eye--",
        "Not the gaily-jewelled dead",
        "Tempt the waters from their bed;",
        "For no ripples curl, alas!",
        "Along that wilderness of glass--",
        "No swellings tell that winds may be",
        "Upon some far-off happier sea--",
        "No heavings hint that winds have been",
        "On seas less hideously serene.",
        "",
        "But lo, a stir is in the air!",
        "The wave--there is a movement there!",
        "As if the towers had thrust aside,",
        "In slightly sinking, the dull tide--",
        "As if their tops had feebly given",
        "A void within the filmy Heaven.",
        "The waves have now a redder glow--",
        "The hours are breathing faint and low--",
        "And when, amid no earthly moans,",
        "Down, down that town shall settle hence,",
        "Hell, rising from a thousand thrones,",
        "Shall do it reverence."
      ],
      "title": "The City in the Sea"
    }
  ],
  "success": true
}