tap-trello
is a Singer tap for Trello.
Built with the Meltano Tap SDK for Singer Taps.
Currently the best way to use this tap is to pip install from the github repository.
You can also add this tap as a custom plugin to your Meltano project.
Tap settings:
developer_api_key
- Your Trello developer api keyaccess_token
- Your Trello access token
Optional:
start_date
- The date to sync Actions and Cards from. Format:2010-01-01T00:00:00Z
You can find out how to get these settings in the next section: Source Authentication and Authorization.
A full list of supported settings and capabilities for this tap is available by running:
tap-trello --about
To get the settings required to use this tap go to the Trello app-key page.
If you are logged in you will see a screen with the title Developer API Keys. The key shown in the grey box directly below that is your developer_api_key
.
To get your access_token
you need to click the Token
at the end of the first paragraph of text on that page. This will open a new window showing what permissions you are allowing the token to have, and once you click Allow, you will be redirected to a page with a grey box with your access_token
in.
You can easily run tap-trello
by itself or in a pipeline using Meltano.
tap-trello --version
tap-trello --help
tap-trello --config CONFIG --discover > ./catalog.json
pipx install poetry
poetry install
Create tests within the tap_trello/tests
subfolder and
then run:
poetry run pytest
You can also test the tap-trello
CLI interface directly using poetry run
:
poetry run tap-trello --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.
Your project comes with a custom meltano.yml
project file already created. Open the meltano.yml
and follow any "TODO" items listed in
the file.
Next, install Meltano (if you haven't already) and any needed plugins:
# Install meltano
pipx install meltano
# Initialize meltano within this directory
cd tap-trello
meltano install
Now you can test and orchestrate using Meltano:
# Test invocation:
meltano invoke tap-trello --version
# OR run a test `elt` pipeline:
meltano elt tap-trello target-jsonl
See the dev guide for more instructions on how to use the SDK to develop your own taps and targets.