Application Programming Interface (API)#
APIs can be used to provide the data. FastAPI is a library that can generate APIs and documentation based on OpenAPI and JSON Schema. gRPC, on the other hand, is a modern open source RPC framework that uses HTTP/2 and QUIC.
To determine the design of your API, you can follow Zalando’s API Styleguide. Later, you can use Zally to automatically check the quality of your API. You can also define your own rules for Zally, see Rule Development Manual.