Random Dog Viewer is a Python application that displays a random dog image fetched from the Dog CEO API. The app provides an easy way to view a random dog picture each time you click the "Get Random Dog" button.
- Fetches a random dog image from the Dog CEO API.
- Displays the image in a GUI window using Tkinter.
- Resizes images to a standard size (300x300 pixels) for better visibility.
- Simple, clean, and interactive design.
To run this application, you need the following Python libraries:
requests
(for fetching data from the API)Pillow
(for handling image data)tkinter
(for the graphical user interface, pre-installed with Python)
You can install the required libraries by running:
pip install requests Pillow
-
Clone the repository or download the Python script.
-
Install the required dependencies:
pip install requests Pillow
-
Run the
random_dog_viewer.py
script:python random_dog_viewer.py
-
Click the "Get Random Dog" button to fetch and display a random dog image.
This app uses the Dog CEO API to fetch random dog images.
This project is licensed under the MIT License. See the LICENSE
file for more details.