Word of The Hour API
Word of The Hour is a platform for learning words in multiple languages.
This is the official Python API for Word of The Hour.
How does it work?
First, you need to import the Python module using the following code:
from woth_api import WothAPI.
Then, you can simply call
woth_data = WothAPI.fetch() to retrieve the data for the current word from the Word of The Hour servers.
Finally, you can access the retrieved data using the
You can access the current word using
You can access the array of current definitions using
You can access the dictionary of current translations using
Translations and Corrections
New translations and data corrections come from the r/Word_of_The_Hour language crowdsourcing project.
The MIT License applies to the Python Code provided within this repository.
We offer no guarantees regarding performance or the data retrieved by this API.
If you choose to incorporate this code into your applications, then we ask that you consider limiting how many
WothAPI.fetch() calls that you make. For example, an application should not need to call
WothAPI.fetch() more than once per hour.