{"version":"1.0","type":"rich","title":"Tableau2csv","description":"This example shows how to export a Tableau view’s underlying data to a CSV file via the Tableau REST API. It connects to a Tableau server using personal access tokens, iterates through all workbooks to find a matching workbook and project, then populates the specified view and writes its CSV content to a local file. The script uses the `tableauserverclient` library, with `TSC.Server`, `TSC.PersonalAccessTokenAuth`, `TSC.Pager`, and `server.views.populate_csv` to retrieve the data, and logs success or failure to `tableau2csv.log`.","provider_name":"VizHub AI Studio","provider_url":"https://next.vizhub.com","html":"<iframe src=\"https://next.vizhub.com/viz/gist-c3995a89e66dec53f882964decd61aae?mode=embed\" width=\"960\" height=\"500\" scrolling=\"no\" frameborder=\"1\"></iframe>","width":960,"height":500,"cache_age":3600}