11 endpoints spanning classic poetry de PoetryDB (Shakespeare, Dickinson, Keats, Poe) et powerful word/language tools de Datamuse. Parcourez poems by author ou title, rechercher by lines, obtenir random poetry, trouver rhymes, similar-meaning words, sound-alikes, autocomplete suggestions, et word associations. Idéal pour les writing tools, poetry apps, word games, et NLP projects.
URL de base: https://nordapi.ee/api/v1
GET /poetry/random
Obtenez a random poem de le PoetryDB collection of classic English poetry. Renvoie le poem's title, author, full text (as lines), et line count. Features works by Shakespeare, Dickinson, Keats, Poe, Whitman, et plus encore.
curl https://nordapi.ee/api/v1/poetry/random
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
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
Rechercher for poems containing specific words or phrases in their text.
q
requis
curl "https://nordapi.ee/api/v1/poetry/search?q=shall+I+compare"
GET /words/similar/:word
Trouvez des mots de sens similaire (synonyms et related words) en utilisant le Datamuse word-finding engine. Renvoie words ranked by relevance score.
curl https://nordapi.ee/api/v1/words/similar/happy
GET /words/rhymes/:word
Trouvez des mots qui riment avec le given word. Idéal pour les poetry generators, songwriting tools, et word games.
curl https://nordapi.ee/api/v1/words/rhymes/love
GET /words/sounds/:word
Trouvez des mots qui sonnent de manière similaire to le given word (homophones et near-homophones). Utile pour les spelling correction et pun generators.
curl https://nordapi.ee/api/v1/words/sounds/flower
GET /words/autocomplete/:prefix
Obtenir word suggestions for a given prefix. Idéal pour search-as-you-type and autocomplete interfaces.
curl https://nordapi.ee/api/v1/words/autocomplete/prog
GET /words/adjectives/:noun
Trouver adjectives commonly used to describe a given noun. Idéal pour creative writing and content generation.
curl https://nordapi.ee/api/v1/words/adjectives/ocean
GET /words/nouns/:adjective
Trouver nouns commonly described by a given adjective. Utile pour word association and language learning tools.
curl https://nordapi.ee/api/v1/words/nouns/beautiful