Constructs a new WordnikAPI instance.
The API key to use.
Gets the API key.
The API key.
Get the audio metadata for a word.
The word to get audio metadata for.
Whether to use the canonical form of the word (e.g. "cats" -> "cat").
The limit of audio metadata to get.
The audio metadata for the word, or null if the word is not found.
Get definitions for a word.
The word to get definitions for.
The limit of definitions to get.
The part of speech to get definitions for.
The source dictionary to get definitions for.
Whether to use the canonical form of the word (e.g. "cats" -> "cat").
Whether to include tags in the response.
The definitions for the word, or null if the word is not found.
Get the etymologies for a word.
The word to get etymologies for.
Whether to use the canonical form of the word (e.g. "cats" -> "cat").
The etymologies for the word, or null if the word is not found.
Get examples of a word's usage.
The word to get examples for.
Whether to include duplicate examples.
Whether to use the canonical form of the word (e.g. "cats" -> "cat").
The number of examples to skip.
The limit of examples to get (max 50).
The examples for the word, or null if the word is not found.
Get the frequency of a word.
The word to get the frequency of.
Whether to use the canonical form of the word (e.g. "cats" -> "cat").
The start year to get the frequency of.
The end year to get the frequency of.
The frequency of the word, or null if the word is not found.
Get the word's hyphenation.
The word to get the hyphenation of.
Whether to use the canonical form of the word (e.g. "cats" -> "cat").
The source dictionary to get the hyphenation of.
The limit of hyphenations to get.
The word's hyphenation.
Get word phrases
The word to get the phrases of.
Whether to use the canonical form of the word (e.g. "cats" -> "cat").
The limit of phrases to get.
The word's phrases.
Get the word's Pronunciation.
The word to get the pronunciation of.
Whether to use the canonical form of the word (e.g. "cats" -> "cat").
The source dictionary to get the pronunciation of.
The type of pronunciation to get.
The limit of pronunciations to get.
The word's Pronunciation.
Get a random word.
Only return words with dictionary definitions
Only return words with the specified part of speech.
Only return words without the specified part of speech.
Minimum corpus frequency for terms
Maximum corpus frequency for terms
Minimum dictionary count
Maximum dictionary count
Minimum word length
Maximum word length
Get random words.
Only return words with dictionary definitions
Only return words with the specified part of speech.
Only return words without the specified part of speech.
Minimum corpus frequency for terms
Maximum corpus frequency for terms
Minimum dictionary count
Maximum dictionary count
Minimum word length
Maximum word length
Sort by
Sort order
Limit
Random words, or an empty array if no words were found.
Get related words.
The word to get related words for.
Whether to use the canonical form of the word (e.g. "cats" -> "cat").
The relationship types to get.
The limit of related words to get per relationship type.
The related words or null if an error occurred.
Get the scrabble score of a word. You may want to lowercase the word before passing it in.
The word to get the scrabble score of.
The scrabble score of the word, or null if the word is not found.
Get the top example of a word.
The word to get the top example of.
Whether to use the canonical form of the word (e.g. "cats" -> "cat").
The top example of the word, or null if the word is not found.
Get the word of the day.
the Date to get the word of the day for, a string in the format yyyy-MM-dd, or undefined to get the word of the day for today.
Make an API call to the Wordnik API.
The endpoint to call.
The parameters to pass to the endpoint.
The base URL to use (optional).
Generated using TypeDoc
Defines the WordnikAPI class.