I made an Free API to get random words and Generate pronunciation on the go

mcnaveen

MC Naveen

Posted on December 20, 2020

I made an Free API to get random words and Generate pronunciation on the go

The Story

From long time I want to learn a new word everyday. But I'm not fond of reading or going through the dictionary every single day. I wanted to do something technical.

So I created this API.

Tech Stack

  • NodeJS with Cheerio, Express
  • Compromise-pronounce for generating pronunciation

GitHub logo mcnaveen / Random-Words-API

🦄 Get Random Words (with pronunciation) for Free using this API

Random Words API

All Contributors

build-test

🦄 Get Random Words (with pronunciation) for Free using this API

🌍 Languages

  • English
  • Dutch
  • Spanish
  • French
  • Chinese
  • Japanese

🚀 API

  • English Random Words - https://random-words-api.vercel.app/word

  • Dutch Random Words - https://random-words-api.vercel.app/word/dutch

  • Spanish Random Words - https://random-words-api.vercel.app/word/spanish

  • French Random Words - https://random-words-api.vercel.app/word/french

  • Chinese Random Words - https://random-words-api.vercel.app/word/chinese

  • Japanese Random Words - https://random-words-api.vercel.app/word/japanese

  • Turkish Random Words - https://random-words-api.vercel.app/word/turkish

  • PWA Demo - Check Here

🎛 Route Options (English Only)

  • Base URL: https://random-words-api.vercel.app/word/english
- /noun
- /sentence
- /question
- /adjective
- /idiom
- /verb
- /letter
- /paragraph
- /vocabulary
- /1-word-quotes
- /2-word-quotes
- /3-word-quotes
- /affirmation

🌐 Sample API Response

  • API: https://random-words-api.vercel.app/word/
  • Method: GET
[
  {
    "word": "Exactor",
    "definition": "One who exacts; extortioner; claimer of rights  ",
    "pronunciation": "Eksaktor"
  }
]
Enter fullscreen mode Exit fullscreen mode

🌐 Sample Dutch Response

  • API: https://random-words-api.vercel.app/word/dutch
  • Method: GET
[
  {
    "word": "Perfect"
    "definition"
Enter fullscreen mode Exit fullscreen mode

It fetches the word from the web and generate pronunciation on the go.

Feel free to use it. PRs are welcome.

Thanks to @mskian for Progressive Web App.
https://wordsonrandom.netlify.app/

💖 💪 🙅 🚩
mcnaveen
MC Naveen

Posted on December 20, 2020

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related