yab | yet another Basic for HAIKU
I want Help Understanding How APIs Work in Python - Printable Version

+- yab | yet another Basic for HAIKU (https://yab.orgfree.com/forum)
+-- Forum: General discussion (https://yab.orgfree.com/forum/forumdisplay.php?fid=8)
+--- Forum: Off topic (https://yab.orgfree.com/forum/forumdisplay.php?fid=9)
+--- Thread: I want Help Understanding How APIs Work in Python (/showthread.php?tid=186)



I want Help Understanding How APIs Work in Python - Aaliyah - 04-23-2025

Hey folks

I am kinda new to Python & started messing around with APIs but honestly I am  confused ?. Also I have seen a bunch of tutorials online but most of them either go way too deep or skip over the basics. I just want to understand the flow of how an API call works in Python. such as what  happens when we use `requests.get()`? & how do we deal with the JSON response properly?

Also, what is the best way to test API responses while learning? Should I use something like Postman or just stick to code?

If someone could explain it such as I am five . Code examples or simple analogies would be amazing. Just trying to wrap my head around it without feeling such as my brain’s gonna melt lol.

Thank you.Smile


Free Web Hosting