tableau / rest-api-samples

Samples for the Tableau REST API
MIT License
378 stars 268 forks source link

Creating Auto Trigger alerts of Tableau extract refreshes using the REST API #68

Closed Fahad1358 closed 1 year ago

Fahad1358 commented 2 years ago

Hi All, For now, I know the below process using the POSTMAN application – <>Token sign in to Tableau Online using Postman and save the credentials <>Fetch out Workbook Name (A) / Workbook ID <> Run the Extract corresponding to the Workbook Name(A) <> Get the status of that Extract whether it's failed or successful.

How would I can combine all the above 4 points in one Python code to get the respective output for a workbook ? Can you help in demonstrating the stepwise procedure, please?

Fahad1358 commented 2 years ago

Can anyone please help here ?

illonage commented 2 years ago

Hi @Fahad1358,

You should look at TSC, our Python library for the REST API. We have a couple of samples here. The ones that you want to look at are: refresh.py and explore_webooks.py.