Documentation ¶
Overview ¶
Package tableaupublic is a helper package for scraping data from Tableau Public.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrWorkbookNotFound = errors.New("workbook not found")
ErrWorkbookNotFound is returned when a request to download a workbook file doesn't return a workbook file.
Functions ¶
func DownloadWorkbookFile ¶
DownloadWorkbookFile downloads the workbook to the directory and returns the full path to the downloaded file. The file name will be the repoURL plus a TWB or TWBX extension depending on the file type downloaded.
func IsNotFound ¶
IsNotFound returns true or false whether the err is an ErrWorkbookNotFound error.
Types ¶
type Workbook ¶
type Workbook struct { RepoURL string `json:"workbookRepoUrl"` Size int64 `json:"size"` Title string `json:"title"` Description string `json:"description"` ShowInProfile bool `json:"showInProfile"` AllowDataAccess bool `json:"allowDataAccess"` }
Workbook contains information about a Tableau Public workbook.
func AllWorkbooks ¶
AllWorkbooks gets a list of all workbooks for the username.
Click to show internal directories.
Click to hide internal directories.