Tableau Server Client (TSC)
中workbooks.get
的用法。
用法
workbooks.get(req_options=None)
查詢服務器並返回有關站點工作簿的信息。
REST API:Query Workbooks for Site
參數
名字 | 說明 |
---|---|
req_options |
(可選)您可以將包含附加參數的請求對象傳遞給該方法以過濾請求。例如,如果您正在搜索特定工作簿,則可以指定工作簿的名稱或所有者的姓名。見Filter and Sort |
返回
返回所有 WorkbookItem
對象和 PaginationItem
的列表。使用這些值來迭代結果。
示例
import tableauserverclient as TSC
tableau_auth = TSC.TableauAuth('username', 'password', site_id='site')
server = TSC.Server('https://servername')
with server.auth.sign_in(tableau_auth):
all_workbooks_items, pagination_item = server.workbooks.get()
# print names of first 100 workbooks
print([workbook.name for workbook in all_workbooks_items])
相關用法
- Python Tableau workbooks.get_by_id用法及代碼示例
- Python Tableau workbooks.populate_preview_image用法及代碼示例
- Python Tableau workbooks.update用法及代碼示例
- Python Tableau workbooks.update_connection用法及代碼示例
- Python Tableau workbooks.download用法及代碼示例
- Python Tableau workbooks.populate_views用法及代碼示例
- Python Tableau workbooks.publish用法及代碼示例
- Python Tableau workbooks.delete用法及代碼示例
- Python Tableau workbooks.refresh用法及代碼示例
- Python Tableau workbooks.populate_connections用法及代碼示例
- Python Tableau workbooks.populate_pdf用法及代碼示例
- Python wsgiref.simple_server.make_server用法及代碼示例
- Python wsgiref.util.FileWrapper用法及代碼示例
- Python wsgiref.util.setup_testing_defaults用法及代碼示例
- Python OpenCV waitKeyEx()用法及代碼示例
- Python winsound.SND_ALIAS用法及代碼示例
- Python weakref.WeakMethod用法及代碼示例
- Python wsgiref.validate.validator用法及代碼示例
- Python OpenCV waitKey()用法及代碼示例
- Python cudf.core.column.string.StringMethods.is_vowel用法及代碼示例
- Python torch.distributed.rpc.rpc_async用法及代碼示例
- Python torch.nn.InstanceNorm3d用法及代碼示例
- Python sklearn.cluster.MiniBatchKMeans用法及代碼示例
- Python pandas.arrays.IntervalArray.is_empty用法及代碼示例
- Python tf.compat.v1.distributions.Multinomial.stddev用法及代碼示例
注:本文由純淨天空篩選整理自tableau.github.io大神的英文原創作品 workbooks.get。非經特殊聲明,原始代碼版權歸原作者所有,本譯文未經允許或授權,請勿轉載或複製。