Skip to content

Slalom-Consulting/tap-absolute-software

Repository files navigation

tap-absolute-software

tap-absolute-software is a Singer tap for the Absolute Software API.

Built with the Meltano Tap SDK for Singer Taps and the Absolute Software API Reference

Installation

Install from PyPi:

pipx install tap-absolute-software

Install from GitHub:

pipx install git+https://github.com/SlalomConsulting/tap-absolute-software.git@main

Configuration

Accepted Config Options

Setting Required Default Description
token_id True None The token ID created in your Absolute API app.
token_secret True None The token secret created in your Absolute API app.
auth_url True https://api.absolute.com/jws/validate The url for the authorization. This is changeable depending on country where your Absolute admin portal is accessed from. Please see the Accessing the API section on the Absolute Software API Reference
endpoint True /v3/reporting Configurable depending on streams to be accessed. The v3/reporting endpoint is the uri accessed by default for the two stream. configured in this tap. There are other streams at different endpoints as well. Adding the other endpoints will require updating of this tap.

A full list of supported settings and capabilities for this tap is available by running:

tap-absolute-software --about

Configure using environment variables

This Singer tap will automatically import any environment variables within the working directory's .env if the --config=ENV is provided, such that config values will be considered if a matching environment variable is set either in the terminal context or in the .env file.

Custom Query String Configuration

This API also intakes different types of options to be appended to the query string alongside the pagination token that is located in the headers.

For information on sorting, simple filtering, advanced filtering, selecting, and additional parameters in the query string for pagination, please see this documentation link from the Absolute Software API documentation.

Usage

You can easily run tap-absolute-software by itself or in a pipeline using Meltano.

Executing the Tap Directly

tap-absolute-software --version
tap-absolute-software --help
tap-absolute-software --config CONFIG --discover > ./catalog.json

Developer Resources

Follow these instructions to contribute to this project.

Initialize your Development Environment

pipx install poetry
poetry install

Create and Run Tests

Create tests within the tests subfolder and then run:

poetry run pytest

You can also test the tap-absolute-software CLI interface directly using poetry run:

poetry run tap-absolute-software --help

Testing with Meltano

Note: This tap will work in any Singer environment and does not require Meltano. Examples here are for convenience and to streamline end-to-end orchestration scenarios.

Next, install Meltano (if you haven't already) and any needed plugins:

# Install meltano
pipx install meltano
# Initialize meltano within this directory
cd tap-absolute-software
meltano install

Now you can test and orchestrate using Meltano:

# Test invocation:
meltano invoke tap-absolute-software --version
# OR run a test `elt` pipeline:
meltano elt tap-absolute-software target-jsonl

SDK Dev Guide

See the dev guide for more instructions on how to use the SDK to develop your own taps and targets.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages