Loading...
Get the Wordnik Word of the day and Random Words.
Requires Companion 5.1 or later, and a Wordnik API key.
Each action fetches from the API and updates its variables. Each one also returns what it fetched as the action result, so that you can store it in a variable and use it in an expression. If the request fails, the action fails, and the module log says why.
The module creates a variable for each value in the most recent response, prefixed wotd_, randomWord_ or randomWords_. For example $(wordnik-api:wotd_word), or $(wordnik-api:randomWords_0.word) for the first of the random words.