Skip to content
A Singer.io tap for extracting data from the Harvest Forecast API
Python
Branch: master
Clone or download
Latest commit e5271c0 Aug 1, 2019

README.md

tap-harvest-forecast

A singer.io tap for extracting data from the Harvest Forecast REST API, written in Python 3. Heavily derived from Jordan Ryan's Harvest Tap. Thanks for your work Jordan!

As the Harvest Forecast API is not yet public, this tap is experimental and liable to break at any time. Please keep this in mind if you run into any issues (and submit a PR if you can fix something broken).

Author: Robert Benjamin (@robertbenjamin)

Quick start

  1. Install

    Clone this repository, and then install using setup.py. We recommend using a virtualenv:

    > virtualenv -p python 3 venv
    > source venv/bin/activate
    > python setup.py install
  2. Create your tap's config file which should look like the following:

    {
        "start_date": "2017-04-19T13:37:30Z",
        "account_id": "HARVEST_FORECAST_ACCOUNT_ID",
        "access_token": "HARVEST_FORECAST_PERSONAL_ACCESSS_TOKEN"
    }
  3. [Optional] Create the initial state file

    {
        "assignments": "2000-01-01T00:00:00Z",
        "clients": "2000-01-01T00:00:00Z",
        "milestones": "2000-01-01T00:00:00Z",
        "people": "2000-01-01T00:00:00Z",
        "projects": "2000-01-01T00:00:00Z"
    }
  4. Run the application

    tap-harvest-forecast can be run with:

    tap-harvest-forecast --config config.json [--state state.json]

Copyright © 2018 Stitch

You can’t perform that action at this time.