11 endpoints som omfattar klassisk poetry från PoetryDB (Shakespeare, Dickinson, Keats, Poe) and kraftfullständig word/language verktyg från Datamuse. Browse dikter by author or titel, sök by rader, hämta slumpmässig poetry, hitta rhymes, similar-meaning ord, sound-alikes, autofullständig suggestions, and word associations. Utmärkt för writing verktyg, poetry appar, word spel, and NLP projekt.
Bas-URL: https://nordapi.ee/api/v1
GET /poetry/random
Get a slumpmässig dikt från PoetryDB collection of klassisk English poetry. Returnerar the dikt's titel, author, fullständig text (as rader), and line antal. Features works by Shakespeare, Dickinson, Keats, Poe, Whitman, och mer.
curl https://nordapi.ee/api/v1/poetry/random
GET /poetry/collection
Hämta flera slumpmässiga dikter i en förfrågan. Perfekt för att bygga poesiflöden eller upptäcktsfunktioner.
count
valfri
standard: 5
curl "https://nordapi.ee/api/v1/poetry/collection?count=3"
GET /poetry/title/:title
Search for poems by title. Returns matching poems with full text.
curl https://nordapi.ee/api/v1/poetry/title/Ozymandias
GET /poetry/search
Sök efter dikter som innehåller specifika ord eller fraser i sin text.
q
obligatorisk
curl "https://nordapi.ee/api/v1/poetry/search?q=shall+I+compare"
GET /words/similar/:word
Find ord med similar meanings (synonyms and related ord) med hjälp av the Datamuse word-att hitta engine. Returnerar ord rankade efter relevance poäng.
curl https://nordapi.ee/api/v1/words/similar/happy
GET /words/rhymes/:word
Find ord som rhyme med given word. Perfekt för poetry generatorer, songwriting verktyg, and word spel.
curl https://nordapi.ee/api/v1/words/rhymes/love
GET /words/sounds/:word
Find ord som sound similar till given word (homophones and near-homophones). Användbart för spelling correction and pun generatorer.
curl https://nordapi.ee/api/v1/words/sounds/flower
GET /words/autocomplete/:prefix
Hämta ordförslag för ett givet prefix. Idealiskt för sök-medan-du-skriver och autokompletteringsgränssnitt.
curl https://nordapi.ee/api/v1/words/autocomplete/prog
GET /words/adjectives/:noun
Find adjectives commonly used to describe a given noun. Utmärkt för creative writing and innehåll generation.
curl https://nordapi.ee/api/v1/words/adjectives/ocean
GET /words/nouns/:adjective
Find nouns commonly described by a given adjective. Användbart för word association and language learning verktyg.
curl https://nordapi.ee/api/v1/words/nouns/beautiful