HMI integrated API

Hello

I want to build a hmi that can take reading from hive Os rest api and give commands.
But idont know how to connect it