This project allows you to fetch random cat images using TheCatAPI and manage your favorite cats. The app retrieves breed information, displays random cat images, and allows you to add cats to your favorites list. Simply provide your API key and enjoy images of cats!
Follow the steps below to get the project up and running.
-
Clone the repository:
git clone https://github.com/eXegiMonumentum/Apis_exercises.git
-
Install the required libraries: Make sure you have Python 3.x installed. To install the required dependencies, run:
pip install -r requirements.txt
-
Get your API key: Visit TheCatAPI to get your API key. When you run the application for the first time, it will prompt you for your key.
-
Run the application: To start the application, run the following command:
python cats_api.py
You can now enjoy random cat images and manage your favorites!