A simple Python program that gets the Wordle solutions from the Wordle API.
To run this program, make sure to have Python 3 installed on your machine.
You can install the required packages by running:
pip install -r requirements.txt
python main.py # Gets today's Wordle solution
If you want to get a solution from a particular date, you can pass the date as an argument:
python main.py 01-01-2022 # Gets the solution for January 1st, 2022
python main.py 2022-03-01 # Gets the solution for March 1st, 2022
If you want to write the solution to a file, you can pass the -w
argument to save the solutions:
python main.py -w # Saves today's solution to a file
python main.py 01-01-2022 -w # Saves the solution for January 1st, 2022 to a file
python main.py -w 2022-03-01 # Saves the solution for March 1st, 2022 to a file