Go to atom > Preferences...
then search for Tableau REST Snippets in the Install
tab.
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
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'.
If you want to create a site, use 'trcs'.
If you want to get a Workbook's thumbnail, use 'trqwi'
##Full list of functions and snippets
MIT License © Chris Toomey
Good catch. Let us know what about this package looks wrong to you, and we'll investigate right away.