theotarr / latindictionary-io

A python API client library for latindictionary.io.

Home Page:https://latindictionary.io/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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'))

About

A python API client library for latindictionary.io.

https://latindictionary.io/

License:MIT License


Languages

Language:Python 100.0%