tomascortes / super-hero-fight

Simulator of a super hero fight, using the api from https://www.superheroapi.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Hero Fight simulator 🦇

Simulator of an epic battle between tho teams made of heroes 🦸‍♀️ and villains 🦹. Made to learn about requesting info to an external API and the use of pydantic

Installation

You need to create a .env file and add the variable

HERO_API_KEY="hero_api_key" 
MAIL_GUN_API_KEY="mailgun_api_key

Install the requirements from the requirments.txt file.

pip install -r requirments

Execution

To run the code, you need to execute:

python main.py

About

Simulator of a super hero fight, using the api from https://www.superheroapi.com/


Languages

Language:Python 100.0%