Functions

fetchWordnikResource(word)Promise.<fetchWordnikResource>

Fetch resources from the wordnik api

formatWordnikDefinitions(word, json)Promise.<formatWordnikDefinitions>

Fetch resources from the wordnik api

Typedefs

fetchWordnikResource
formatWordnikDefinitions

fetchWordnikResource(word) ⇒ [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.

formatWordnikDefinitions(word, json) ⇒ [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

fetchWordnikResource

Kind: global typedef
Properties

Name Type Description
* Array.<string> Array of definitions pertaining to the word

formatWordnikDefinitions

Kind: global typedef
Properties

Name Type Description
* reply Message response to send to channel/user