简体   繁体   中英

Tableau download/export images using Rest api python

Need to download image from the tableau server using python script. Tableau Rest API doesn't provide any option to do so.I like to know what is proper way of downloading high resolution/full size image from tableau server using python or any other server scripting language.

The simplest approach is to issue an HTTP GET request from Python to your Tableau Server and append a format string to the URL such as ".png" or ".pdf".

There are size options you can experiment with as well -- press the Share button to see the syntax.

You can also pass filter settings in the URL as query parameters

If you do not need to pass filter settings, Query View Image functionality has been added to the Server API (versions 2.5 and later). Request documentation here .

If you do need to pass filter settings, a work-around was posted on Tableau Community Forums .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM