I have created a python (FLASK) api and want to create an addon related to that

I have created a Python- flask API that takes in json file to give result (an ML algo runs in background). I want to create an addon that exposes this restapi in homeassistant. Can someone direct me to the correct document or help me build one?

I would appreciate it.

Hi, did you got more information?

What you like do know?

I found this git https://github.com/robmarkcole/hassio-addons/tree/master/hello_flask thats help me.