This is a Singer tap that produces JSON-formatted data following the Singer spec.
This tap:
- Pulls raw data from Officernd
- Extracts the following resources:
- Outputs the schema for each resource
- Incrementally pulls data based on the input state
##Quick Start
Note: Because this tap isn't yet available publicly, you'll need to create a virtual environment.
-
Download
tap-officernd
repo to local machine -
Run the following commands:
cd tap-officernd python3 -m venv ~/.virtualenvs/tap-officernd source ~/.virtualenvs/tap-officernd/bin/activate
-
Install the package:
pip install -e .
-
Edit and rename
sample_config.json
. Be sure to enter your client id, client secret, organization name, and any custom fields. Custom fields should be formatted as follows:{... "custom_fields": {"[NAME OF FIELD]": "[module]",... }
-
Invoke the tap in discovery mode to get the catalog:
tap-officernd -c sample_config.json --discover
The output should be a catalog file with the single sample stream (from the schemas folder).
-
If this catalog is saved to a catalog.json file, it can be passed back into the tap in sync mode:
tap-officernd -c sample_config.json --properties catalog.json
Copyright © 2018 Stitch