Code Monkey home page Code Monkey logo

webhooks-cli's Introduction

webhooks-cli

CLI tool for interacting with Tableau's Webhooks. This tool is written in Python and uses Tableau Server Client to communicate with Tableau Server.

Instructions

For a general guide on how to use Tableau's Webhooks, there are instructions written to guide you through the way.

For the tool itself, there are executable files located in the /dist folder for windows and macOS. The source Python script is also provided in the root level of the repository.

When you run the executable, you need to specify an action. You can choose one of the following options:

  • create - create a new Webhook on your site by proving a name, event type, and destination server URL.
  • list - list out all Webhooks that exist on your site.
  • get - Get a specific Webhook by its unique ID.
  • test - Test out a specific Webhook by its unique ID.
  • delete - Delete a specific Webhook by its unique ID.

There are also flags you can pass in when running the executables. If these values are not passed in, you will be prompted later. Password will be prompted later.

  • --server, -S - URL of your desired Tableau Server instance.
  • --site, -s - name of the site on your desired Tableau Server instance.
  • --username, -u - username used to sign into your site.

Examples

Open up terminal (macOS) or command prompt (windows) and run the following command from the /dist directory.

For macOS with and without flags:

./webhooks-cli-macOS list
./webhooks-cli-macOS list -S https://10ax.online.tableau.com -s webhookdemo -u [email protected]

For windows with and without flags:

webhooks-cli-windows.exe list
webhooks-cli-windows.exe list -S https://10ax.online.tableau.com -s webhookdemo -u [email protected]

If you did not pass in the optional flags, you will be prompted to enter them. After you enter in valid credential values, the tool will list out all Webhooks on your site.

All actions require the four credential values. Some actions will prompt you for additional values as needed.

webhooks-cli's People

Contributors

shinchris avatar

Stargazers

Shows Le avatar

Watchers

 avatar

webhooks-cli's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.