Conclusion
Conclusion
You’ve taken a step into a larger world! By learning how to call APIs, you can now build applications that can access data and services beyond the confines of the system they’re running on.
In this lesson, you learned how to:
- Display and use JSON data from API responses.
- Identify and handle communication errors over a network.
You had a crash course in the REST architecture, which is the basis for most APIs. You saw how it divides systems into two categories, clients and servers, and how it treats information online as addressable resources. You learned how these resources can be accessed and manipulated using the methods built into the HTTP protocol, which defines how the web works.
Hopefully, you had fun with the demo, where you accessed different APIs using the Requests library to get information about Star Wars characters, get the current weather for a specific place, and practice updating a database of programming language creators.
If you’ve made it this far, congratulations! You’ve finished the course and should have enough Python under your belt to begin your AI application development journey.