Coder Social home page Coder Social logo

mcnaveen / random-words-api Goto Github PK

View Code? Open in Web Editor NEW
167.0 6.0 59.0 303 KB

๐Ÿฆ„ Get Random Words (with pronunciation) for Free using this API

Home Page: https://random-words-api.vercel.app/word

License: MIT License

JavaScript 99.82% Procfile 0.18%
randomwords random-words random-word random-word-generator words-api random-english-word english-words hacktoberfest

random-words-api's Introduction

Random Words API

All Contributors

build-test

๐Ÿฆ„ Get Random Words (with pronunciation) for Free using this API

๐Ÿš€ API

  • Free API - https://random-words-api.vercel.app/word

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

  • Get Pronunciation for a Word - https://random-words-api.vercel.app/pronounce/

  • PWA Demo - Check Here

๐ŸŽ› Route Options

  • Base URL: https://random-words-api.vercel.app/word
- /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"
  }
]

๐ŸŒ Sample Dutch Response

  • API: https://random-words-api.vercel.app/word/dutch
  • Method: GET
[
  {
    "word": "Perfect",
    "definition": "Perfect",
    "pronunciation": "Perfekt"
  }
]

๐ŸŒ Sample Pronunciation Request

  • API: https://random-words-api.vercel.app/pronounce
  • Method: POST
POST http://localhost:3000/pronounce
Content-Type: application/json

{
  "word": "This is amazing"
}

๐Ÿ“ฃ Sample Pronunciation Response

{
  "pronunciation": "this is amasink"
}

๐Ÿ’ก Learn New word

โœจ Installation (Development)

# Clone the Repo
git clone https://github.com/mcnaveen/Random-Words-API random-words

# Cd into Directory
cd random-words

# Install Dependencies
yarn install

# Start the Development Server
yarn start

๐Ÿ”€ Deploying to Heroku

OneClick Deploy on Heroku

Deploy

๐Ÿ”€ Deploying to Vercel

OneClick Deploy on Vercel

Deploy with Vercel

OR

- Fork the Repo - Login to Vercel (https://vercel.com/dashboard) - Click Import
Project - Give Forked Repo URL - Go Live

โ“ How to Contribute?

Make your changes and follow the below instructions. We follow conventional commits.

โœ๏ธ Commit

  • Stage all changes
git add .
  • Commit the changes
yarn commit
  • Push the changes to GitHub
git push <TO YOUR FORK>

โš› USED BY

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

โ˜‘ License

  • MIT

โš  Disclaimer

We don't own any data or word. All belongs to the owner of Website. Use it for educational purpose only.

Contributors โœจ

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!

random-words-api's People

Contributors

allcontributors[bot] avatar dependabot[bot] avatar diogo405 avatar jonah-butler avatar mcnaveen avatar mskian avatar renovate-bot avatar renovate[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

random-words-api's Issues

Action Required: Fix Renovate Configuration

There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.

Location: renovate.json
Error type: The renovate configuration file contains some invalid settings
Message: Invalid configuration option: node

API is not working

Fetching the URL: https://random-words-api.vercel.app/word and I've been getting the following message:
"Something Went Wrong - Enter the Correct API URL"

Just wondering if there is a request limit or if it went down?

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

github-actions
.github/workflows/buildtest.yml
  • actions/checkout v3.0.2
  • actions/setup-node v3.4.1
.github/workflows/codeql-analysis.yml
  • actions/checkout v3
  • github/codeql-action v2
  • github/codeql-action v2
  • github/codeql-action v2
npm
package.json
  • axios ^1.1.3
  • cheerio ^1.0.0-rc.12
  • express ^4.18.2
  • node-pronounce ^0.0.4
  • random-array-item ^0.0.2
  • random-useragent ^0.5.0
  • all-contributors-cli ^6.20.0
  • gacp ^3.0.3
  • nodemon ^2.0.19

  • Check this box to trigger a request for Renovate to run again on this repository

Something Went Wrong - Enter the Correct API URL

Dear Dev,

Firstly, thanks for your work on this API.

Since today, I have thie error when calling the API : "Something Went Wrong - Enter the Correct API URL". It occurs when I call from my javascript or Postman, and event in Firefox Browser directly. Everything was working fine prior today.

I hop you have any advice to fix the situation
Thank you by advance,
Regards

image
image

less of an an issue, more of a query

Is there a way for me to get a word of some specific length? Say, I pass "5" as an argument and I receive a 5 letter word.

Now, I could check for the length of the word in the response and re-call the API if the length of the word is not equal to the length I want, but that would slow down both, the process and the API, right?

Dutch API Endpoint returns error

Merging PR #67 Introduced a route conflict for Dutch API endpoint and returns "Something Went Wrong - Enter the Correct API URL"

Current route
https://random-words-api.vercel.app/word

Expected route
https://random-words-api.vercel.app/dutch

If you can work on this issue. Please do and send a PR.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.