/latindictionary-io

A python API client library for latindictionary.io.

Primary LanguagePythonMIT LicenseMIT

latindictionary-io API Client

Installation

Install package

pip install latindictionary-io

Getting Started

import latindictionary_io

# setup the api client
dictionary = latindictionary_io.Client()

# parse words
print(dictionary.analyze_word('canis'))

# get word usage examples from anchient latin texts
print(dictionary.get_concordance('canis'))

# get english definition
print(dictionary.get_definition('canis'))

# get the word of the day from a specified date
print(dictionary.get_word_of_the_day('2022-01-01'))