Samples


The TSC samples are included in the samples directory of the TSC repository on Github.

Run the samples

Each of the samples requires the following arguments:

Additionally, some of the samples require that you enter other arguments when you run them. For more information about the arguments required by a particular sample, run the sample with the -h flag to see the help output.

For example, if you run the following command:

python samples/publish_workbook.py -h

You might see that you need to enter a server address, a user name, and a file path for the workbook that you want to publish.

Samples list

The following list describes the samples available in the repository:

Note: For all of the samples, ensure that your Tableau Server user account has permission to access the resources.