tap-sklik
A Singer tap to extract data from the Sklik API.
Install
pip install -e git+https://github.com/polar-analytics/tap-sklik.git#egg=tap-sklik
Use
Create a sklik-config.json
file
{ "token": "yourskliktoken", "start_date": "YYYYmmdd", "end_date": "YYYYmmdd" }
then run
tap-sklik -c sklik-config.json
more help
tap-sklik -c sklik-config.json --help
Development
Tools
Install poetry
poetry env use 3.8
poetry install
It will create a ./.venv
virtual env that you can use for development.
Note: a standardized
.vscode
config is provided.
Note: the project follows
black
codestyle, and lints withflake8
Environment variables
Copy .env.dev
to .env
and fill any required field.
Test
poetry run pytest