freeDictionaryAPI icon indicating copy to clipboard operation
freeDictionaryAPI copied to clipboard

[Suggestion] Add the ability to request a random word

Open Logboy2000 opened this issue 2 years ago • 1 comments

I currently use a separate 'random word' API and will run into issues where your API doesn't have one of their words and vice versa.

It would be highly appreciated if you could add an endpoint that returns a random word from your list so this is no longer an issue. e.g. (https://api.dictionaryapi.dev/api/v2/random/en)

Logboy2000 avatar Feb 03 '24 21:02 Logboy2000

The project includes the wordlist in the meta/wordlist file, each word is on a separate line. If you choose a random line and read it, you will get a random word that matches to the API. Hope that helps.

glordicus avatar Apr 25 '24 04:04 glordicus