Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Suggestion] Add the ability to request a random word #196

Open
Logboy2000 opened this issue Feb 3, 2024 · 1 comment
Open

[Suggestion] Add the ability to request a random word #196

Logboy2000 opened this issue Feb 3, 2024 · 1 comment

Comments

@Logboy2000
Copy link

Logboy2000 commented Feb 3, 2024

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)

@glordicus
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants