yab | yet another Basic for HAIKU

Full Version: I want Help Understanding How APIs Work in Python
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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
Hello Aaliyah,you are in a yab forum. This have nothing to do with python.

Please look under https://discuss.haiku-os.org/t/haiku-pya...-api/14001

Regards lorglas
Free Web Hosting