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, 2022 in Tableau by Vaani
• 7,070 points
2,573 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.

Ready to become a Tableau-certified expert and take your data analysis skills to the next level? Enroll now in our Tableau Certification Course!

answered Apr 5, 2022 by Neha
• 9,020 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,240 points
2,860 views
0 votes
1 answer

Error while connecting tableau to snowflake using username and password

"Couldn't resolve host name," says the error ...READ MORE

answered Mar 3, 2022 in Tableau by Vaani
• 7,070 points
817 views
0 votes
0 answers

Querying Tableau Server for exporting a view using python and REST API

I'm trying to use Python to export ...READ MORE

Apr 14, 2022 in Tableau by Neha
• 9,020 points
1,768 views
0 votes
1 answer

How to color code cells of a column based on the text value in Tableau

You can use the following steps to ...READ MORE

answered Mar 27, 2018 in Tableau by Atul
• 10,240 points
9,890 views
0 votes
0 answers

417 Expectation Failed on tableau restapi powershell script

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

Apr 25, 2022 in Tableau by Neha
• 9,020 points
935 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
2,272 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
2,841 views
0 votes
1 answer

Tableau download/export images using Rest api python

The easiest method is to send an ...READ MORE

answered Apr 5, 2022 in Tableau by Neha
• 9,020 points
1,089 views
0 votes
1 answer

How to upload data to Tableau Server in Python

Then install the tableau-api-lib utility for Python ...READ MORE

answered Mar 4, 2022 in Tableau by Neha
• 9,020 points
2,216 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP