Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Reading Tableau data with Python

I have a tableau server hosted on a remote server. There are some tables/views(in RDBMS) which are connected to Tableau for reports and dashboards.

Is there a way that I can connect to Tableau and read those tables ? If yes, then could you please provide a snippet of code where you are able to see data from a tableau view!

Note: I don't want to read data from RDBMS. I want to read those tables/views directly from Tableau

like image 671
Nikhilesh Shukla Avatar asked Sep 13 '25 01:09

Nikhilesh Shukla


1 Answers

You can access the data used by a Tableau view with the REST API endpoint Query View Data.

Take a look at the Tableau Server Client library (python) method views.populate_csv which uses this API.

like image 72
jdigital Avatar answered Sep 14 '25 17:09

jdigital