superset icon indicating copy to clipboard operation
superset copied to clipboard

API for getting image

Open mykolaveremeichyk opened this issue 10 years ago • 3 comments

Hi,

Is there an API which provides ability to get image of a slice?

Thanks.

mykolaveremeichyk avatar Jun 15 '16 10:06 mykolaveremeichyk

That would be sweet. Seems like it would require running a headless browser server-side or some equivalent wizardry.

mistercrunch avatar Jun 15 '16 22:06 mistercrunch

This would be exceedingly useful for: 1. integration with 3rd party tools (embedding a preview image), and 2. for email digests. Would love to see this happen.

benvogan avatar Jun 20 '16 21:06 benvogan

you can see an implementation here - https://github.com/apache/incubator-superset/pull/5294

Easy to wrap an API around it - but it will not be very performant, due to browser rendering slowness and selenium weirdness.

mahendra avatar Jul 03 '18 15:07 mahendra