Implement API using FastAPI
This patch introduces an API (through FastAPI, synergising with the existing Pydantic dependency) allowing it to be served as a HTTP API.
This patch introduces an API (through FastAPI, synergising with the existing Pydantic dependency) allowing it to be served as a HTTP API.