Can I connect to a 3rd party API?

We have some proprietary data on our databases, but also data that we consume from 3rd party APIs, any idea on how to conect them to Cube?

For example I have a portolio of assets positions those in postgresql, but historcal price for this assets came from a 3rd party API, would be awesome to let Cube calculate avg return for the past month by querying both sources and performing the calculations…

Thanks

Hi @zegoverno !
Could you elaborate on what APIs are you interested in? Cube supports connection to many DBs. In case you need REST API as a data source it won’t be so straightforward but you should be able to implement the following and use it with presto driver:
https://trino.io/docs/current/develop/example-http.html?highlight=http%20connector#