mohammad_alam
12/20/2021, 11:49 AMedgar_ramirez_mondragon
12/20/2021, 8:24 PMbase
and start_date
. Can you share your meltano.yml?
mohammad_alam
12/21/2021, 4:40 AMedgar_ramirez_mondragon
12/21/2021, 5:31 AMcatalog
and discover capabilites
. This is a bug in the hub page for the tap (https://hub.meltano.com/taps/exchangeratesapi):
$ meltano --log-level=debug invoke tap-exchangeratesapi
usage: tap-exchangeratesapi [-h] [-c CONFIG] [-s STATE]
tap-exchangeratesapi: error: unrecognized arguments: --discover
Catalog discovery failed: command ['/Users/edgarramirez/Code/meltano-personal/.meltano/extractors/tap-exchangeratesapi/venv/bin/tap-exchangeratesapi', '--config', '/Users/edgarramirez/Code/meltano-personal/.meltano/run/tap-exchangeratesapi/tap.d6fe3cb5-b606-4d5d-9a49-e01bb299a983.config.json', '--discover'] returned 2
So this should work
version: 1
send_anonymous_usage_stats: true
project_id: 9b5bab07-b16e-4f4c-8cf5-1c47b8107780
plugins:
extractors:
- name: tap-exchangeratesapi
namespace: tap_exchangeratesapi
pip_url: git+<https://github.com/singer-io/tap-exchangeratesapi.git>
executable: tap-exchangeratesapi
capabilities:
- state # it does support this one
config:
start_date: '2019-05-26'
base: EUR
• Even with that change the tap won't work because earlier this year they made their API require the access key you're trying to pass but the tap hasn't been updated: https://github.com/singer-io/tap-exchangeratesapi/issues/13
• In the github pr thread above, they recommend https://hub.meltano.com/taps/exchangeratehost, which should work with the same capabilities as above (state
only)mohammad_alam
12/21/2021, 11:26 AM