Giter VIP home page Giter VIP logo

tap-gocardless's Introduction

tap-gocardless

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

This tap:

Quick Start

Install the tap and helpers

python3 -m venv ~/.virtualenvs/tap-gocardless
source ~/.virtualenvs/tap-gocardless/bin/activate
pip3 install tap-gocardless https://github.com/chrisgoddard/singer-discover/archive/master.zip

Obtain an access token via https://developer.gocardless.com/getting-started/api/making-your-first-request/#creating-an-access-token

Create a config.gocardless.json file with the following

{
  "access_token": "sandbox_xxxxxx",
  "start_date": "2017-01-01T00:00:00.000Z",
  "user_agent": "<user-agent>"
}

Run the tap in Discover mode and select which data you would like to extract:

tap-gocardless --config config.gocardless.json --discover | singer-discover -o catalog.json

Run the tap in sync mode

tap-gocardless --config config.gocardless.json --catalog catalog.json

Run the tap with a target, e.g. postgres

tap-gocardless --config config.gocardless.json --catalog catalog.json | target-postgres --config config.postgres.json >> state.json
tail -1 state.json > state.json.tmp && mv state.json.tmp state.json

Copyright © 2021 @morrislaptop

tap-gocardless's People

Contributors

morrislaptop avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.