TheRealDarkCoder / minigames

http://testserver2.darkcoder.xyz/
1 stars 4 forks source link

Random word generator API needed #6

Open TheRealDarkCoder opened 3 years ago

TheRealDarkCoder commented 3 years ago

Pull Request #5 implements PHP-curl module to get the questions of hangman from a public API server. But we need to find a suitable API server which gives the project a freedom of use with reasonable limits and reputable uptime. It can be changed anytime of course but it's a good idea to commit to production only with a stable API.

So please find a suitable API which generates random words. It can be Wikidata or any public dictionary etc.

athulmr commented 3 years ago

So please find a suitable API which generates random words

Found and API which provides random words

https://random-word-api.herokuapp.com/word?number=10

Response

["microbes","damped","keelsons","chabuk","unpretending","interoffice","tories","seizure","muckrakes","huddles"]
TheRealDarkCoder commented 3 years ago

@athulmr The same API has been shown in PR #5 however the owner recommends to host it ourselves for production purposes.