tableau-rest-api-snippets

Tableau REST API Snippets - Javascript

Chris Toomey

523

0

0.5.0

MIT

GitHub

Tableau REST API Snippets for Atom

Install

Go to atom > Preferences... then search for Tableau REST Snippets in the Install tab.

Usage

All the snippets follow this convention tr[activity][target]

You always want to start with trlogin. This will create the variables and login function you will need to do everything else with the API. Logout is accomplished with trlogout.

In the login function, there is also sample code you can re-use to extract different ID values from the API response codes. The basic syntax goes like this:

You can find more details about the elements and attributes here

Snippet Convention

The items that go into [activity] and [target] fall into a few categories, activity and target. The snippets use that basic categorization to help with finding what you want.

####Activities

####Targets

####Example If you want to login, use 'trlogin'.

login

If you want to create a site, use 'trcs'.

site

If you want to get a Workbook's thumbnail, use 'trqwi'

thumb

##Full list of functions and snippets

  1. Sites
  1. Datasources
  1. Groups
  1. Projects
  1. Users
  1. Permissions
  1. Workbooks

License

MIT License © Chris Toomey