Tableau Server offers a wide range of functionality through its REST API interface. While this interface allows you to script a variety of different tasks, the coding required to use the REST API can be extensive. Our REST API Libraries for .Net, Java, Python, and PHP significantly reduce the amount of coding required to implement your desired interface.


What is NEW in version 1.0.13:

  • Added auto detection of Tableau REST API versions so that library works with any version of Tableau 9.x through 10.0
  • Enhanced the publishDatasource function to allow for oAuth credentials
  • Fixed a bug in publishDatasource function that skiped adding credentials

Each Library Includes:

  • 71 powerful functions that speed your integration project
  • More than 5,000+ lines of code in each library
  • All libraries are Free to use
  • We update these libraries regularly

Using .Net REST API Library

The .Net REST API Library is packaged into a single .dll file that you can include in your integration project.

using tableauREST9_v1;
// setup the variables
string ts_url = "http://localhost:8000";
string ts_user = "admin";
string ts_pass = "admin";
string ts_site = "";
string user_name = "testuser"; // this is the username for logging into Tableau

// start the tableau controller
tableau_controller tc = new tableau_controller(ts_url, ts_site, ts_user, ts_pass);

// get the users array
DataTable workbook_list = tc.tsGetWorkbooksByUser(user_name);
                 

For a detailed example of all the functions, use the example project. Download Example Project [1.0.7]

Using Java REST API Library

The Java REST API Library is packaged into a single .jar file that you can include in your integration project.

import tabRest.tabRest;

// setup the variables
String ts_url = "http://localhost:8000";
String ts_user = "admin";
String ts_pass = "admin";
String ts_site = ""; 
String user_name = "testuser"; // this is the username for logging into Tableau

// start the tableau controller
String[] user_list = new String[20];

tabRest tab1 = new tabRest(ts_url, ts_user, ts_pass, ts_site);
workbook_list = tab1.tsGetWorkbooksByUser(user_name);

                 

For a detailed example of all the functions, use the example project. Download Example Project [1.0.5]