GithubHelp home page GithubHelp logo

jeffzwang / plaid-go Goto Github PK

View Code? Open in Web Editor NEW

This project forked from plaid/plaid-go

0.0 1.0 0.0 107 KB

go bindings for Plaid

Home Page: https://plaid.com/docs

License: MIT License

Go 97.09% Makefile 1.58% Shell 1.33%

plaid-go's Introduction

plaid-go CircleCI GoDoc

A Go client library for the Plaid API.

Table of Contents

Install

$ go get github.com/plaid/plaid-go

Versioning

Each major version of plaid-go targets a specific version of the Plaid API:

API version plaid-go release
2019-05-29 (latest) 2.x.x
2018-05-22 1.x.x
2017-03-08 not supported

For information about what has changed between versions and how to update your integration, head to the version changelog.

Documentation

The module supports all Plaid API endpoints.

GoDoc: GoDoc

Getting Started

Calling Endpoints

To call an endpoint you must create a Client object.

import (
    "net/http"
    "os"

    "github.com/plaid/plaid-go/plaid"
)

clientOptions := plaid.ClientOptions{
    os.Getenv("PLAID_CLIENT_ID"),
    os.Getenv("PLAID_SECRET"),
    os.Getenv("PLAID_PUBLIC_KEY"),
    plaid.Sandbox, // Available environments are Sandbox, Development, and Production
    &http.Client{}, // This parameter is optional
}
client, err := plaid.NewClient(clientOptions)

Each endpoint returns an object which contains the parsed JSON from the HTTP response.

Errors

All non-200 responses will return a plaid.Error instance.

For more information on Plaid response codes, head to the docs.

Support

Open an issue!

License

MIT

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.