Singer tap that extracts data from a Workday report and produces JSON-formatted data following the Singer spec.
$ mkvirtualenv -p python3 tap-workday-raas
$ pip install tap-workday-raas
$ tap-workday-raas --config config.json --discover
$ tap-workday-raas --config config.json --properties properties.json --state state.json
Clone this repository, and then install using setup.py. We recommend using a virtualenv:
$ virtualenv -p python3 venv
$ source venv/bin/activate
$ pip install -e .
Create your tap's config.json
file. The tap config file for this tap should include these entries:
username
- The username of the workday account with access to the reports to extractpassword
- The password of the workday account with access to the reports to extractreports
- A JSON string containing a list of objects containing thereport_name
andreport_url
.report_name
is the name of the stream for the report, and thereport_url
is the URL to the Workday XML REST link for the report you wish to extract.
{
"username": "<username>",
"password": "<password>",
"reports": "[{\"report_name\": \"abitrary_name\", \"report_url\": \"https://...\"}, ...]"
}
To run discovery mode, execute the tap with the config file.
> tap-workday-raas --config config.json --discover > properties.json
To sync data, select fields in the properties.json
output and run the tap.
> tap-workday-raas --config config.json --properties properties.json [--state state.json]
Copyright © 2020 Stitch