Phase 1 Project
For my project I decided to make a CLI that gives information on marvel and dc characters. I chose this idea because I’m a huge fan of Marvel and DC . The api that I found had DC, Marvel, Star Wars, and a couple other franchises. So what it does once it starts is it gives a random 5 characters from this API and numbers them. The user then give the input 1 to 5 and it retrieves the name, identity, alter egos, birthplace, and their alignment(if they are good or bad).
Get Abraham Diaz’s stories in your inbox
Join Medium for free to get updates from this writer.
The main thing that I struggled with on this project was working with both a scraper and an API. The API I was working with made it difficult because to access the info of each character I needed to scrape the id of each character from the glossary on the API page that had all 731 characters. From there I was able to use the id number from the character the user selected to use the api link and retrieve the data I want to show.
Even though I had some difficulty making this it really helped me understand everything we learned. It was really fun and frustrating but I’m glad I got it done. It was such a relief once I finished and now I have a better understanding on object oriented programming.





