11 endpoints sem ná yfir klassísk ljóð frá PoetryDB (Shakespeare, Dickinson, Keats, Poe) og öflug orða- og málverkfæri frá Datamuse. Skoðaðu ljóð eftir höfundi eða titli, leitaðu eftir línum, sæktu handahófskennt ljóð, finndu rím, samheiti, líkt hljómandi orð, sjálfvirkar uppástungur og orðatengsl. Frábært fyrir ritverkfæri, ljóðaforrit, orðaleiki og NLP-verkefni.
Grunnslóð: https://nordapi.ee/api/v1
GET /poetry/random
Sæktu handahófskennt ljóð úr PoetryDB-safni klassískra enskra ljóða. Skilar titli ljóðsins, höfundi, fullum texta (sem línum) og fjölda lína. Inniheldur verk eftir Shakespeare, Dickinson, Keats, Poe, Whitman og fleiri.
curl https://nordapi.ee/api/v1/poetry/random
GET /poetry/collection
Fáðu multiple random poems in one request. Fullkomið til að byggja poetry feeds or discovery eiginleika.
count
valfrjálst
sjálfgefið: 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
Leita að ljóðum sem innihalda ákveðin orð eða setningar í textanum.
q
nauðsynlegt
curl "https://nordapi.ee/api/v1/poetry/search?q=shall+I+compare"
GET /words/similar/:word
Finndu words with similar meanings (synonyms and related words) með Datamuse word-finding engine. Skilar words ranked by relevance score.
curl https://nordapi.ee/api/v1/words/similar/happy
GET /words/rhymes/:word
Finndu words that rhyme með given word. Fullkomið fyrir poetry generators, songwriting verkfæri, and word games.
curl https://nordapi.ee/api/v1/words/rhymes/love
GET /words/sounds/:word
Finndu words that sound similar to the given word (homophones and near-homophones). Gagnlegt fyrir spelling correction and pun generators.
curl https://nordapi.ee/api/v1/words/sounds/flower
GET /words/autocomplete/:prefix
Fáðu word suggestions for a given prefix. Tilvalið fyrir search-as-you-type and autocomplete interfaces.
curl https://nordapi.ee/api/v1/words/autocomplete/prog
GET /words/adjectives/:noun
Finndu adjectives commonly used to describe a given noun. Frábært fyrir creative writing and content generation.
curl https://nordapi.ee/api/v1/words/adjectives/ocean
GET /words/nouns/:adjective
Finndu nouns commonly described by a given adjective. Gagnlegt fyrir word association and language learning verkfæri.
curl https://nordapi.ee/api/v1/words/nouns/beautiful