A simple Python program that gets the Wordle solutions from the Wordle API.
To run this program, make sure to have and uv installed on your machine.
You can use uvx to also quickly run this application and try it out.
For this step, make sure that you have uv installed on your machine.
uvx --from git+https://github.com/cr2007/wordle-solutions-bot-python wordle# Clone and enter the repository
git clone https://github.com/cr2007/wordle-solutions-bot-python
cd wordle-solutions-bot-python
# Setup the dependencies for the project
uv sync
# Run the program
wordleuv run main.py # Gets today's Wordle solutionIf you want to get a solution from a particular date, you can pass the date as an argument:
uv run main.py 01-01-2022 # Gets the solution for January 1st, 2022
uv run main.py 2022-03-01 # Gets the solution for March 1st, 2022If you want to write the solution to a file, you can pass the -w argument to save the solutions:
uv run main.py -w # Saves today's solution to a file
uv run main.py 01-01-2022 -w # Saves the solution for January 1st, 2022 to a file
uv run main.py -w 2022-03-01 # Saves the solution for March 1st, 2022 to a file