`tap-userflow` is a Singer tap for UserFlow, built with the Meltano Singer SDK.
Project description
tap-userflow
tap-userflow
is a Singer tap for UserFlow.
Built with the Meltano Tap SDK for Singer Taps.
Installation
Install from PyPi:
pip install kingalban-tap-userflow
Install from GitHub:
pipx install git+https://github.com/kingalban/tap-userflow.git@main
Configuration
Accepted Config Options
A full list of supported settings and capabilities for this tap is available by running:
tap-userflow --about
Example Config File
{
"auth_token": "<userflow-api-key>"
}
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.
Source Authentication and Authorization
Userflow uses Bearer authentication. Follow their documentation here to generate API keys.
Usage
You can easily run tap-userflow
by itself or in a pipeline using Meltano.
Executing the Tap Directly
tap-userflow --version
tap-userflow --help
tap-userflow --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:
TAP_USERFLOW_AUTH_TOKEN='<your-token-here>' poetry run pytest
You can also test the tap-userflow
CLI interface directly using poetry run
:
poetry run tap-userflow --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-userflow
meltano install
Now you can test and orchestrate using Meltano:
# Test invocation:
meltano invoke tap-userflow --version
# OR run a test `elt` pipeline:
meltano elt tap-userflow 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.
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
Built Distribution
File details
Details for the file kingalban_tap_userflow-0.1.1.tar.gz
.
File metadata
- Download URL: kingalban_tap_userflow-0.1.1.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/5.15.133.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 74634f95bacd59b7da1950beacb5a253504072602d71fc459e741a69c140330b |
|
MD5 | bfcb9ad327837468595c001ab8893e87 |
|
BLAKE2b-256 | 4220d279bb4703529c441c71400bea4f7f8529cdd958c3aeea8e5ac69350c2fc |
File details
Details for the file kingalban_tap_userflow-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: kingalban_tap_userflow-0.1.1-py3-none-any.whl
- Upload date:
- Size: 13.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.7.1 CPython/3.10.12 Linux/5.15.133.1-microsoft-standard-WSL2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d9636a5b594119bdc8c53ace7cf60ce9f8fce37d698343cf152a37786e8fa7b |
|
MD5 | e6872ed0f8e79837352c541327d3b688 |
|
BLAKE2b-256 | 7ef9a768e32f45ecb4989d867b2a2e10e8366b70d09f644b066d8921742aaa55 |