Refresh Tableau Server Data Source and WorkBooks using Python

Refresh Tableau Server Data Source and WorkBooks using Python

In this post will explain how to refresh or update existing Tableau and WorkBook Data Sources using Python. Suppose you want your Dashboards ready at the right moment when the data is available. In that case, you will find that using a Schedule Task is not enough because you don't know when the population process is going to finish!

Suppose you want your Dashboards ready at the right moment when the data is available. In that case, you will find that using a Schedule Task is not enough because you don't know when the population process is going to finish!

The only missing piece is an automated process that refreshes the Dashboard after a trigger happens, like after the last step of an ETL is executed or when you are getting new files loaded into an Amazon S3 Bucket.

To solve these problems, I will explain how to refresh or update an existing Tableau Data Source and WorkBook using Python. I recommend checking this previous post to see other uses cases.

The following code shows you how to get the ID and execute Data Source or Workbook refresh.

python tableau-server datasource rest-api

Bootstrap 5 Complete Course with Examples

Bootstrap 5 Tutorial - Bootstrap 5 Crash Course for Beginners

Nest.JS Tutorial for Beginners

Hello Vue 3: A First Look at Vue 3 and the Composition API

Building a simple Applications with Vue 3

Deno Crash Course: Explore Deno and Create a full REST API with Deno

How to Build a Real-time Chat App with Deno and WebSockets

Convert HTML to Markdown Online

HTML entity encoder decoder Online

What is REST API? An Overview | Liquid Web

What is REST? The REST acronym is defined as a “REpresentational State Transfer” and is designed to take advantage of existing HTTP protocols when used

Automate getting Tableau Server Users with REST API and Python

In this tutorial, I am going to explain how to automate this task using Tableau REST API, Tableau Server Client (TSC) and Python Pandas connecting with a local Tableau Server admin user and using Personal Access Token (PAT). Automate getting Tableau Server Users with REST API and Python

Consume Web API Post method in ASP NET MVC | Calling Web API | Rest API Bangla Tutorial

LIKE | COMMENT | SHARE | SUBSCRIBE In this tutorial, I will discussed about how to consume Web API Get method and display records in the ASP.NET View. Here, ...

Consume Web API Get method in ASP NET MVC | Calling Web API | Rest API Bangla Tutorial

LIKE | COMMENT | SHARE | SUBSCRIBE In this tutorial, I will discussed about How to Consume Web API Get method in ASP NET MVC. Blog : http://aspdotnetexplorer...

Consume Web API Put method in ASP NET MVC | Calling Web API | Rest API Bangla Tutorial

LIKE | COMMENT | SHARE | SUBSCRIBE In this tutorial, we learned how to consume Web API Get and Post methods in the ASP.NET View. Here, we will see how to con...