04-23-2025, 06:23 AM
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.
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.
