Reads Singer formatted data from stdin and persists it to the Rakam API.
Requires Python 3
› pip install target-rakam
target-rakam takes two types of input:
- A config file containing your Rakam client id and access token
- A stream of Singer-formatted data on stdin
Create config file to contain your Rakam client id and token:
{
"write_key": "cevc6ajc3b16tcl8616q7hq167u9dhm6c7udgak9beb8ogicvrol331c3fi6uab2",
"api_url": "http://127.0.0.1:9998"
}
› tap-some-api | target-rakam --config config.json
where tap-some-api
is Singer Tap.
Copyright © 2017 Rakam