To view the meaning of a specific word, enter the word at the root endpoint. GoogleDict API v2 now supports extended definitions on a given word.
Eg. https://dict.niweera.gq/hello
, will give you the Google dictionary definition of hello:
{ "word": "hello", "definition": "used as a greeting or to begin a telephone conversation."}
Eg. https://dict.niweera.gq/v2/hello
, will give you the Google dictionary definition of hello:
{ "word": "hello", "definition": {"exclamation": ["used as a greeting or to begin a telephone conversation."],"noun": ["an utterance of ‘hello’; a greeting."],"verb": ["say or shout ‘hello’."] } }
Location | Endpoint |
---|---|
v1 Root path | https://dict.niweera.gq/ |
v2 Root path | https://dict.niweera.gq/v2 |
Method | Endpoint | Query | Description | Examples |
---|---|---|---|---|
GET | / | {word} | Give JSON response with the definitions of the {word} . | hello |
GET | /v2 | {word} | Give JSON response with the definitions of the {word} . | hello |
Method | Endpoint | Query | Description | Examples |
---|---|---|---|---|
GET | / | {word anotherWord} | The API will only refer the first word given. All following words will be ignored. Please use only a single word in the query. | hell fire |
GET | /v2 | {word anotherWord} | The API will only refer the first word given. All following words will be ignored. Please use only a single word in the query. | hell fire |
WordHunter application is under development. It provides possible words for given set of characters.
Nipuna Weerasekara – @Niweera – [email protected]
Distributed under the MIT license. See LICENSE
for more information.
https://github.com/Niweera/googledict
Fork it (https://github.com/Niweera/googledict/fork)
Create your feature branch (git checkout -b feature/fooBar
)
Commit your changes (git commit -am 'Add some fooBar'
)
Push to the branch (git push origin feature/fooBar
)
Create a new Pull Request
Without the insights from this repo googleDictionaryAPI by meetDeveloper, the development of GoogleDict Dictionary API service would be impossible...