Singer tap for extracting data from the Tableau API
Project description
tap-tableau
This is a Singer tap that produces JSON-formatted data from the Tableau REST API following the Singer spec.
Stream | Replication Key | Replication Strategy |
---|---|---|
Connections | id | FULL |
Datasources | id | INCREMENTAL |
Groups | id | FULL |
Permissions | id | FULL |
Projects | id | FULL |
Schedules | id | FULL |
Tasks | id | FULL |
Users | id | FULL |
Workbooks | id | INCREMENTAL |
Quick start
-
Install
> virtualenv -p python3 venv > source venv/bin/activate > pip install tap-tableau
-
Create the config file, either (
token
,token_name
) or (username
,password
) must be specified for authentication.{ "token_name": "My Tableau API access token", "token": "abcdefg12345==", "site_id": "my_tableau_site", "host": "https://my_tableau_site.com", "start_date": "2021-01-01T00:00:00Z" }
-
Run discovery to generate the catalog
tap-tableau --config config.json --discover > catalog.json
-
In the catalog.json file, select the streams to sync
Each stream in the catalog.json file has a "schema" entry. To select a stream to sync, add
"selected": true
to that stream's "schema" entry. For example, to sync the datasources stream:... "tap_stream_id": "datasources", "schema": { "selected": true, "schema": { "updated_at": { "format": "date-time", "type": [ "null", "string" ] } ...
-
Run the application
tap-tableau
can be run with:tap-tableau --config config.json --catalog catalog.json
To include a state file:
tap-tableau --config config.json --catalog catalog.json > state.json tail -1 state.json > state.json.tmp && mv state.json.tmp state.json
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
tap-tableau-0.0.8.tar.gz
(21.5 kB
view hashes)
Built Distribution
Close
Hashes for tap_tableau-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d30e80b88f2cabcabad318fe6b94869fee09e76658e577f904969158979eb50 |
|
MD5 | 163105d3548cf8f072dc872fe6ba9de6 |
|
BLAKE2b-256 | 77d4d15cecf14e8e740a67d0f64cca4d32e4f55623f9008c224618ff27ef6d15 |