{"id":22903273,"url":"https://github.com/neeraj1240/dictionaryapi","last_synced_at":"2025-04-01T07:22:25.145Z","repository":{"id":263095591,"uuid":"889336845","full_name":"neeraj1240/DictionaryAPI","owner":"neeraj1240","description":"A simple Node.js-based API that provides dictionary functionalities, including word meanings, random word generation, and random word with meaning.","archived":false,"fork":false,"pushed_at":"2025-01-05T05:38:38.000Z","size":9544,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-07T04:38:51.276Z","etag":null,"topics":["developer-tools","dictionary","dictionary-api","express","language-tools","nodejs","nodejs-api","rest-api","vocabulary-learning"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/neeraj1240.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-16T05:28:47.000Z","updated_at":"2025-01-05T05:38:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"c77f4dc7-5af8-483e-93f4-3344204c0e03","html_url":"https://github.com/neeraj1240/DictionaryAPI","commit_stats":null,"previous_names":["neeraj1240/dictionaryapi-","neeraj1240/dictionaryapi"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neeraj1240%2FDictionaryAPI","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neeraj1240%2FDictionaryAPI/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neeraj1240%2FDictionaryAPI/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/neeraj1240%2FDictionaryAPI/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/neeraj1240","download_url":"https://codeload.github.com/neeraj1240/DictionaryAPI/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246598597,"owners_count":20803056,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["developer-tools","dictionary","dictionary-api","express","language-tools","nodejs","nodejs-api","rest-api","vocabulary-learning"],"created_at":"2024-12-14T02:35:31.289Z","updated_at":"2025-04-01T07:22:25.126Z","avatar_url":"https://github.com/neeraj1240.png","language":"JavaScript","readme":"# Dictionary API\n\nA simple Node.js-based API that provides dictionary functionalities, including word meanings and random word generation.\n\n---\n\n\n## ✨ Features\n\n- 🔍 Fast word lookup with detailed meanings\n- 🎲 Random word generation capabilities\n- 📝 Comprehensive word definitions\n- ⚡ Lightweight and efficient\n- 🛡️ Built-in input validation\n- 🚀 Easy to integrate\n- 💻 Developer-friendly responses\n\n---\n\n\n## Live API\n\nThe API is live and deployed on Render. You can access it via the following URL:\n\n**API URL**: https://dictionaryapi-mee0.onrender.com/meaning/dictionary\n\n---\n\n## API Endpoints\n\n### 1. Get Word Meaning\n- **URL**: `/meaning/:word`\n- **Method**: `GET`\n- **Description**: Returns the meaning of the specified word.\n- **Examples**:\n  - **Request**: `/meaning/hello`\n    ```json\n    {\n      \"word\": \"hello\",\n      \"meaning\": \"A greeting or expression of goodwill.\"\n    }\n    ```\n  - **Error (Invalid Input)**: `/meaning/123`\n    ```json\n    {\n      \"error\": \"Invalid input. Please enter a valid word.\"\n    }\n    ```\n  - **Error (Word Not Found)**: `/meaning/nonexistentword`\n    ```json\n    {\n      \"error\": \"Word not found\"\n    }\n    ```\n\n---\n\n### 2. Get a Random Word\n- **URL**: `/randomWord`\n- **Method**: `GET`\n- **Description**: Returns a random word.\n- **Example**:\n  - **Response**:\n    ```json\n    {\n      \"word\": \"serendipity\"\n    }\n    ```\n\n---\n\n### 3. Get a Random Word with Meaning\n- **URL**: `/randomWordWithMeaning`\n- **Method**: `GET`\n- **Description**: Returns a random word along with its meaning.\n- **Example**:\n  - **Response**:\n    ```json\n    {\n      \"word\": \"serendipity\",\n      \"meaning\": \"The occurrence of events by chance in a happy or beneficial way.\"\n    }\n    ```\n\n---\n\n### 4. Handle Missing Word Input\n- **URL**: `/meaning/`\n- **Method**: `GET`\n- **Description**: Informs the user to provide a word when no word is entered.\n- **Example**:\n  - **Response**:\n    ```json\n    {\n      \"error\": \"Please provide a word to search for its meaning.\"\n    }\n    ```\n\n---\n\n## Installation\n\n1. Clone the repository:\n   ```bash\n   git clone https://github.com/your-username/Dictionary-API.git\n   cd Dictionary-API\n\n\n---\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneeraj1240%2Fdictionaryapi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fneeraj1240%2Fdictionaryapi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fneeraj1240%2Fdictionaryapi/lists"}