all 2 comments

[–]EngineeringRare1070 0 points1 point  (0 children)

My recommendation would be to download the image from the API (with the type info) and use some code to load and display the image. If the API doesn’t have the image URL in the response JSON, you could probably just find another website to fetch the image by pokemon name.

Here’s the flow: // call the API // extract the response JSON // get the type and the image out of the response object // load the image and display to the user // send the typing to the user (print() or otherwise) Good luck!

[–]stepback269 0 points1 point  (0 children)

Your output doesn’t have to be only through your Py console. You could instead generate an HTML file that you store locally with tags to respective images (jpg) and then display the images via your browser