Connecting REST API to Tableau

0 votes
I'm attempting to link data in Tableau Desktop using the REST API. When I start Tableau Desktop, which choice do I choose for the datasource? In Postman, I tested the API and it connects successfully.
Mar 31 in Tableau by Vaani
• 7,020 points
39 views

1 answer to this question.

0 votes

The REST API is not a data source that Tableau Desktop can access. You must export the data from an API request to a csv or other flat file in order to use the REST API. After that, you may use Tableau Desktop to connect to that file. Python may be used to automate this process. You may also directly export from Postman. After you've ran your GET, go to the top of your results and download the file.

image

However, I strongly advise you to implement this in Python rather than Postman so that you can use pandas to consume the json file much more quickly. Instead of utilising the API directly, I would prefer using tableauserverclient in Python. The tableauserverclient is more restrictive than the API, but it will almost certainly provide you with the capabilities you want.

answered Apr 5 by Neha
• 8,560 points

Related Questions In Tableau

+1 vote
1 answer

How to authenticate and embed Tableau Rest API using Python 2.7

Your .format() call is creating a bad ...READ MORE

answered Jul 19, 2018 in Tableau by Atul
• 10,230 points
1,841 views
0 votes
1 answer
0 votes
0 answers

Tableau download/export images using Rest api python

Using a Python script, I need to ...READ MORE

Mar 31 in Tableau by Vaani
• 7,020 points
84 views
0 votes
0 answers
0 votes
0 answers

417 Expectation Failed on tableau restapi powershell script

I'm new to powershell and trying to ...READ MORE

Apr 25 in Tableau by Neha
• 8,560 points
46 views
0 votes
1 answer

Using Postman Client to send web request to TFS

Try using Basic Auth. Fill the PAT ...READ MORE

answered Apr 24, 2018 in DevOps & Agile by DareDev
• 6,890 points
1,291 views
0 votes
1 answer

How to get issues count based on rules in a sonar project?

There are API docs in the footer ...READ MORE

answered May 4, 2018 in Other DevOps Questions by DareDev
• 6,890 points
1,841 views
0 votes
1 answer

How to upload data to Tableau Server in Python

https://www.tableautim.com/playlist-video/tableau-tds-and-tdsx-files/csv-to-tdsx Then install the tableau-api-lib utility for Python ...READ MORE

answered Mar 4 in Tableau by Neha
• 8,560 points
158 views
0 votes
1 answer

How to scrape a public tableau dashboard?

To extract data from Tableau workbooks, I ...READ MORE

answered Mar 4 in Tableau by Neha
• 8,560 points
140 views
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP