Singer.io tap for extracting Chargify data


Keywords
in-review
License
AGPL-3.0
Install
pip install tap-chargify==0.0.8

Documentation

tap-chargify

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

This tap:


Streams

components

coupons

customers

events

invoices

price_points

product_families

products

statements

subscriptions

transactions


Quick Start

  1. Install the tap using the following command:

    > pip install tap-chargify
    
  2. Create the config file, which is a JSON file named config.json. This file should contain the following properties:

    • api_key - A Chargify API key. Refer to the Chargify documentation for instructions on creating an API key.
    • start_date - The date from which the tap should begin replicating data. This value must be an ISO 8601-compliant date.
    • subdomain The subdomain of your Chargify site. For example: If the full URL were https://test.my-chargify-site.com, this value would be test.
    {
      "api_key": "xx",
      "start_date": "2018-02-22T02:06:58.147Z",
      "subdomain": "test"
    }
  3. Run the tap in Discovery Mode using the following command:

    > tap-chargify -c config.json -d
    

    See the Singer docs on discovery mode here.

  4. Run the tap in Sync Mode using the following command:

    > tap-chargify -c config.json --catalog catalog-file.json
    

Development

  1. Clone this repository.

  2. In the directory, run the following command:

    > python -m venv tap-chargify
    > make dev
    

Copyright © 2019 Stitch