π¦ Get Random Words (with pronunciation) for Free using this API
- English
- Dutch
- Spanish
- French
- Chinese
- Japanese
-
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
- 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
- API:
https://random-words-api.vercel.app/word/ - Method:
GET
[
{
"word": "Exactor",
"definition": "One who exacts; extortioner; claimer of rights ",
"pronunciation": "Eksaktor"
}
]- API:
https://random-words-api.vercel.app/word/dutch - Method:
GET
[
{
"word": "Perfect",
"definition": "Perfect",
"pronunciation": "Perfekt"
}
]- Check api.rest file for more details
# Clone the Repo
git clone https://github.com/mcnaveen/random-words-api random-words-api
# Cd into Directory
cd random-words
# Install Dependencies
npm install
# Start the Development Server
npm run devOneClick Deploy on Heroku
OneClick Deploy on Vercel
OR
- Fork the Repo - Login to Vercel (https://vercel.com/dashboard) - Click Import
Project - Give Forked Repo URL - Go Live- To configure the rate limit, edit the
utils/index.jsfile - Look for
limitervariable maxis the maximum number of requests allowed in a given time windowwindowMsis the time window in millisecondsmessageis the message to be returned when the rate limit is exceeded
- Create a new folder in
datawith the full language nameex: english - Add the words in the
words.jsonfile - It should be an array of objects with
id,word, anddefinitionproperties - The
idshould be a unique number for each word - The
wordshould be the word in the language - The
definitionshould be the definition of the word in English - The
pronunciationshould be the pronunciation of the word in the language (Optional)
Make your changes and follow the below instructions. We follow conventional commits.
- Stage all changes
git add .- Commit the changes
yarn commit- Push the changes to GitHub
git push <TO YOUR FORK>| Project Name | Demo/Preview | Source Code | Author |
|---|---|---|---|
| Vue Random Words | Demo | Source | @mskian |
| Speak & Spell Elm | Demo | Source | @gacallea |
| Random Words CLI | Showcase | Source | @mcnaveen |
| Random Words CLI (Deno) | Showcase | Source | @mskian |
- MIT
We don't own any data or word. All belongs to the owner of Website. Use it for educational purpose only.
Thanks goes to these wonderful people (emoji key):
MC Naveen π π» π£ π π‘ π€ π§ π |
jonah-butler π» π |
Santhosh Veer π» π π€ π§ π π |
This project follows the all-contributors specification. Contributions of any kind welcome!