Get sensor values using an API?

Hi,

I am looking for a way to read sensor values from an external application (runing on the same network) using an API.

I have a rasbery Pi that I want to use for reading sensor values from Homey but I can’t find a way of getting them. I need to ask homey for the values. I though this would be possible using an API but I can’t find a solution.

Any one have an idea how this could be solved?

Thanks for any help!