Skip to main content

tableau dashboard extract updater

Project description

Tableau dashboard client

Install

pip tableau-client-talenttech-oss
from tableau.client import Client

#initial connection to server tableau
tableau_client = Client(url_server_tableau='https://example.org/',
                        user_name_tableau='',
                        password_tableau='',
                        url_site=''
                        )

# update extract refresh for tableau workbook
# workbook_id - id published tableau workbook on server in url
tableau_client.dashboard_refresh(workbook_id =1)

# export sheet tableau workbook to csv file
# sheet_name - name worksheet in tableau workbook (workbook_name)
# csv_path - path with file name to save sheet_name to csv 
tableau_client.view_to_csv(workbook_name='',
                           sheet_name='',
                           csv_path='./view_data.csv'
                           )

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tableau-client-talenttech-oss-0.0.7.tar.gz (3.3 kB view hashes)

Uploaded Source

Built Distribution

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page