Incubator-superset: REST API client

Created on 3 Apr 2016  Â·  5Comments  Â·  Source: apache/incubator-superset

Hello

Is it possible to use a REST API as a source for the widget?

Thank you

All 5 comments

What kind of REST service are you envisioning? The "Queryable" interface we use for Druid and SqlAlchemy sources is fairly complex and the service would have to implement it.

I had a Flask implemented API where each URL gives me a different value of a meteorological indicator calculated from a MongoDB collection of data .
Something like:
/temp/dailyaverage/<startdate>/<enddate>/

It returns a JSON formated response

Do you know what a GUI is?
On Apr 3, 2016 8:44 AM, "hugo-pires" [email protected] wrote:

Hello

Is it possible to use a REST API as a source for the widget?

Thank you

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/airbnb/caravel/issues/245

I guess so. Could it help to answer my question?

So the answer is: it's possible and you'd have to implement the Queryable interface in models.py, it's not trivial though.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

deity-bram picture deity-bram  Â·  3Comments

gbrian picture gbrian  Â·  3Comments

ghost picture ghost  Â·  3Comments

dinhhuydh picture dinhhuydh  Â·  3Comments

josephtyler picture josephtyler  Â·  3Comments