Word

class freedictionaryapi.types.word.Word(data: dict)[source]

Bases: freedictionaryapi.types.base.ParsedObject

Implements the biggest object of the API JSON response, so it contains all information about word that might be retrieved from API that structured in different parsed objects.

property meanings: List[freedictionaryapi.types.meaning.Meaning]
Returns

list of meanings

Return type

list[Meaning]

property phonetics: List[freedictionaryapi.types.phonetic.Phonetic]
Returns

list of phonetics

Return type

list[Phonetic]

property word: str
Returns

actually word

Return type

str