Promise.<fetchWordnikResource>
Fetch resources from the wordnik api
Promise.<formatWordnikDefinitions>
Fetch resources from the wordnik api
[Promise.<fetchWordnikResource>](#fetchWordnikResource)
Fetch resources from the wordnik api
Kind: global function
Returns: [Promise.<fetchWordnikResource>](#fetchWordnikResource)
- A promise to the api response.
Param | Type | Description |
---|---|---|
word | string |
The string to search for on wordnik. |
[Promise.<formatWordnikDefinitions>](#formatWordnikDefinitions)
Fetch resources from the wordnik api
Kind: global function
Returns: [Promise.<formatWordnikDefinitions>](#formatWordnikDefinitions)
- A promise to the formatted response
Param | Type | Description |
---|---|---|
word | string |
The searched for on wordnik |
json | Array.<string> |
The json response from fetchWordnikResource |
Kind: global typedef
Properties
Name | Type | Description |
---|---|---|
* | Array.<string> |
Array of definitions pertaining to the word |
Kind: global typedef
Properties
Name | Type | Description |
---|---|---|
* | reply |
Message response to send to channel/user |