Skip to content

A Python app that fetches live animal data and turns it into a stunning HTML card layout. Discover habitats, diets, and more—instantly.

Notifications You must be signed in to change notification settings

F-Fleron-G/My-Zootopia

Repository files navigation

🦊 My-Zootopia: Explore the Animal Kingdom

My-Zootopia is a Python-powered app that fetches real-time animal data and transforms it into a stunning, card-style HTML page.

Whether you're interested in 🐺 wolves, 🐵 monkeys, or 🐍 snakes, just type a name and watch your custom animal encyclopedia come to life!


🐾 Features

  • 🔍 Search for any animal by name
  • 🌎 View key details like location, type, and diet
  • 🎨 Generates a beautiful HTML page with animal cards
  • 🐙 Shows a friendly fallback message if no data is found

🛠️ Setup Instructions

🦥 Step 1: Clone the Repository

git clone https://github.com/yourusername/My-Zootopia.git
cd My-Zootopia

🦝 Step 2: Install Dependencies

To install this project, simply clone the repository and install the dependencies listed in requirements.txt using:

pip install -r requirements.txt

🕸️ Step 3: Add Your API Key

This project requires an API key for making requests to the API.

After cloning the repository, create a .env file in the root directory with the following content:

API_KEY=your_actual_api_key_here

You can get your API key from API Ninjas.

🐒 How to Use

To use this project, run the following command:

python animals_web_generator.py

Then open the newly generated animals.html file in your browser to see the results!

🐻 Tech Stack

  • 🐍 Python

  • 🐜 Requests (API calls)

  • 🦎 API Ninjas – Animals API

  • 🐛 dotenv for environment variables

  • 🦚 HTML + CSS (templating and styling)

🐨 Contributing

Want to make this zoo even wilder? 🦜 Contributions are welcome!

  1. 🐣 Fork the repo

  2. 🪼 Create a new branch

  3. 🐕 Make your changes

  4. 🦍 Submit a pull request


🐘 GitHub Topics

Add these to your GitHub repository for better visibility and searchability: python animals html biodiversity education open-data api-ninjas

About

A Python app that fetches live animal data and turns it into a stunning HTML card layout. Discover habitats, diets, and more—instantly.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published