`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.2.tar.gz
.
File metadata
- Download URL: kingalban_tap_userflow-0.1.2.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 | 4d81dace1c336fefdf1afbe3784f845bf4b143a1d04e7080e92914dd96984f47 |
|
MD5 | b3b0e3d91f1748c337429116a4254fc6 |
|
BLAKE2b-256 | 255a37b4a16780ef5882ec972b6bf72ba2e826b2ee89e840135158647050490a |
File details
Details for the file kingalban_tap_userflow-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: kingalban_tap_userflow-0.1.2-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 | 64984d5f8b0bfd454a8e96480d15e45e191dfa08ff64a99d80fb2f83cd0e9740 |
|
MD5 | 28dc627591b1db5234bdeb5e2defca62 |
|
BLAKE2b-256 | 7689c0d61ab7b409cc6ed2cb5098df2ca222734851a61049417266be2db84a96 |