This is a Singer tap that produces JSON-formatted data from the Acuite API following the Singer spec.
This tap:
- Pulls raw data from the Acuite API
- Extracts the following resources from Acuite:
- Projects
- Audits
- Health and safety events
- Event categories
- Event subcategories
- Companies
- Locations
- People
- Outputs the schema for each resource
- Incrementally pulls data based on the input state
-
Install
We recommend using a virtualenv:
> virtualenv -p python3 venv > source venv/bin/activate > pip install -e .
-
Get your Acuite API key
Contact Acuite support to get an API key.
-
Create the config file
Create a JSON file called
config.json
containing the access token you were provided.{ "api_key": "yourapikey" }
-
Run the tap in discovery mode to get properties.json file
tap-acuite --config config.json --discover > properties.json
-
In the properties.json file, select the streams to sync
Each stream in the properties.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 pull_requests stream:... "tap_stream_id": "projects", "schema": { "selected": true, "properties": { ...
-
Run the application
tap-acuite
can be run with:tap-acuite --config config.json --properties properties.json