Maintained by Christian Scott
REST API for interfacing with Keboola Generic Extension. Hosted at https://vast-sierra-12331.herokuapp.com/.
Currently only supports querying the /crm/reports
'invoices' tab, but extension is relatively easy.
- Grab a config JSON from the home page:
- Paste config into the text box
- Hit 'save'
- Hit 'run' and confirm
- Wait for up to 30 seconds. The light should go green, and then the data will be in the bucket you specified in the config
Use the config generator on the home page to create config JSON for the keboola generic extractor.
TODO ;)
To run this, you'll need Python 3.6
(or greater) and pipenv
installed. Example workflow below:
$ pipenv install
...
$ pipenv shell
...
(pipenv-shell) $ heroku local # or gunicorn app:app --logging-file=-
Pipenv
automatically installs dependencies and the correct version of the Python interpreter.
This should "just work" on Windows, but if it doesn't, try pip
instead:
$ pip install -r requirements.txt
$ python main.py
Make sure that pip & python both point to the Python 3.6 (or greater) version.
Pushing to Heroku is as simple as this:
$ git add .
$ git commit -m "<description>"
$ git push heroku master
You'll need to be signed in to heroku for this.