No description or website provided.
Python
Switch branches/tags
Nothing to show
Latest commit 7f698b3 Apr 6, 2017 @mdelaurentis mdelaurentis Version bump
Permalink
Failed to load latest commit information.
tap_referral_saasquatch Fix a couple bugs Apr 6, 2017
.gitignore bump version Feb 14, 2017
LICENSE add LICENSE Feb 1, 2017
MANIFEST.in bump version Feb 14, 2017
README.md Added tap details to README Feb 22, 2017
setup.py Version bump Apr 6, 2017

README.md

tap-referral-saasquatch

This is a Singer tap that produces JSON-formatted data following the Singer spec.

This tap:

  • Pulls raw data from Referral SaaSquatch's Export API
  • Extracts the following resources from Referral SaaSquatch:
    • Referrals
    • Reward Balances
    • Users
  • Outputs the schema for each resource
  • Incrementally pulls data based on the input state

Quick start

  1. Install

    > pip install tap-referral-saasquatch
  2. Get your Tenant Alias and API Key

    Login to your Referral SaaSquatch account, navigate Setup -> Install in your left navigation. Note your Tenant Alias and API Key for the next step.

  3. Create the config file

    Create a JSON file called config.json containing the Tenant Alias and API Key.

    {"tenant_alias": "your-tenant-alias",
     "api_key": "your-api-token"}
  4. [Optional] Create the initial state file

    You can provide JSON file that contains a date for the API endpoints to force the application to only fetch data newer than those dates. If you omit the file it will fetch all Referral SaaSquatch data.

    {"referrals": "2017-01-17T20:32:05Z",
     "reward_balances": "2017-01-17T20:32:05Z",
     "users": "2017-01-17T20:32:05Z"}
  5. Run the application

    tap-referral-saasquatch can be run with:

    tap-referral-saasquatch --config config.json [--state state.json]

Copyright © 2017 Stitch