{"id":21458044,"url":"https://github.com/imshawan/thewordsapi-backend","last_synced_at":"2025-07-19T08:02:05.580Z","repository":{"id":132573190,"uuid":"391865826","full_name":"imshawan/theWordsAPI-Backend","owner":"imshawan","description":"TheWordsAPI is a free English-English dictionary API developed for educational purposes.","archived":false,"fork":false,"pushed_at":"2021-09-01T16:21:45.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T04:15:25.404Z","etag":null,"topics":["api","api-rest","backend","curl","dictionary","dictionary-api","dictionaryapi","english-dictionary","express","javascript","node","nodejs","rest-api","theword","thewordsapi"],"latest_commit_sha":null,"homepage":"https://thewords.netlify.app","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/imshawan.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":"2021-08-02T08:14:55.000Z","updated_at":"2021-09-18T19:12:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"36f62c3e-b6d2-4626-be6e-fdd510ee1f32","html_url":"https://github.com/imshawan/theWordsAPI-Backend","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/imshawan/theWordsAPI-Backend","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imshawan%2FtheWordsAPI-Backend","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imshawan%2FtheWordsAPI-Backend/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imshawan%2FtheWordsAPI-Backend/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imshawan%2FtheWordsAPI-Backend/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/imshawan","download_url":"https://codeload.github.com/imshawan/theWordsAPI-Backend/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/imshawan%2FtheWordsAPI-Backend/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265904194,"owners_count":23846673,"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":["api","api-rest","backend","curl","dictionary","dictionary-api","dictionaryapi","english-dictionary","express","javascript","node","nodejs","rest-api","theword","thewordsapi"],"created_at":"2024-11-23T06:17:26.700Z","updated_at":"2025-07-19T08:02:05.547Z","avatar_url":"https://github.com/imshawan.png","language":"JavaScript","readme":"# theWordsAPI - BackEnd\n\nTheWordsAPI is a free English-English dictionary API developed for educational purposes.\n\n### theWordsAPI - Frontend Link\n[https://github.com/imshawan/theWords-Frontend](https://github.com/imshawan/theWords-Frontend/)\n\n\u003e  **Important Note:** Only dummy database (100 entries each) is provided with this source code, please prepare your own database for deployment purposes.\n\n## Testing\n\n```bash\nnpm test\n```\n\n## Local Run\n\n```bash\nnpm install \u0026\u0026 npm start\n```\n## API Usage :: Methods supported -\u003e ['GET']\n\n### API URLS \n\n[https://the-words.herokuapp.com/api/v2/definitions/en-US/entries/](https://the-words.herokuapp.com/api/v2/definitions/en-US/entries/)\n\n[https://the-words.herokuapp.com/api/v2/audio/en-US/entries/](https://the-words.herokuapp.com/api/v2/audio/en-US/entries/)\n\n\n### To fetch definations\n\nUsing Curl:\n```\ncurl https://the-words.herokuapp.com/api/v2/definitions/en-US/entries/hello\n   -H \"Accept: application/json\" \n```\nUsing Python\n\n```python \nURL = f\"https://the-words.herokuapp.com/api/v2/definitions/en-US/entries/hello\"\nHEADERS={'Accept': 'application/json'}\nresponse = requests.get(URL, headers=HEADERS)\nprint(response.text)\n```\n\nResponse:\n\n```\n{\n    \"id\": 27833,\n    \"word\": \"hello\",\n    \"meanings\": [\n        {\n            \"partOfSpeech\": \"noun\",\n            \"definitions\": [\n                {\n                    \"definition\": \"An utterance of “hello”; a greeting.\",\n                    \"synonyms\": [\n                        \"greeting\",\n                        \"welcome\",\n                        \"salutation\",\n                        \"saluting\",\n                        \"hailing\",\n                        \"address\",\n                        \"hello\",\n                        \"hallo\"\n                    ],\n                    \"example\": \"she was getting polite nods and hellos from people\"\n                }\n            ]\n        },\n        {\n            \"partOfSpeech\": \"intransitive verb\",\n            \"definitions\": [\n                {\n                    \"definition\": \"Say or shout “hello”; greet someone.\",\n                    \"example\": \"I pressed the phone button and helloed\"\n                }\n            ]\n        },\n        {\n            \"partOfSpeech\": \"exclamation\",\n            \"definitions\": [\n                {\n                    \"definition\": \"Used as a greeting or to begin a phone conversation.\",\n                    \"example\": \"hello there, Katie!\"\n                }\n            ]\n        }\n    ]\n}\n```\n\n### To fetch pronunciation data\n\nUsing Curl:\n```\ncurl https://the-words.herokuapp.com/api/v2/audio/en-US/entries/hello\n   -H \"Accept: application/json\" \n```\nUsing Python\n\n```python \nURL = f\"https://the-words.herokuapp.com/api/v2/audio/en-US/entries/hello\"\nHEADERS={'Accept': 'application/json'}\nresponse = requests.get(URL, headers=HEADERS)\nprint(response.text)\n```\n\nResponse:\n```\n{\n    \"id\": 22998,\n    \"word\": \"hello\",\n    \"contents\": [\n        {\n            \"pronunciation\": \"he-loh, huh-, hel-oh\",\n            \"audio\": \"https://static.sfdict.com/audio/lunawav/H01/H0178500.ogg\"\n        }\n    ]\n}\n```\n\n## Deployment\n\nAfter signing up on Heroku, create a new app, and proceed to download Heroku CLI\n\n```bash \nheroku login -i\nheroku builds:create -a \u003cname_of_your_app\u003e\n```\n## About\n\nCopyright (c) 2021 Shawan Mandal.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimshawan%2Fthewordsapi-backend","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fimshawan%2Fthewordsapi-backend","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fimshawan%2Fthewordsapi-backend/lists"}