
Learn Python Programming
By :

In this chapter, we explored the world of APIs. We started with a brief overview of the Web and moved on to FastAPI, which leverages type annotations. Those were introduced in Chapter 12, Introduction to Type Hinting.
We then discussed APIs in generic terms. We saw different ways to classify them, and the purposes and benefits of their use. We also explored protocols and data-exchange formats.
Finally, we delved into the source code, analyzing a small part of the FastAPI project that we wrote for this chapter.
We concluded the chapter with a series of suggestions for the next steps.
The next chapter discusses developing CLI applications with Python.
Join our community’s Discord space for discussions with the authors and other readers:
https://discord.com/invite/uaKmaz7FEC