#openapi #plaid-api

plaid

Plaid client, generated from the OpenAPI spec

12 releases (5 major breaking)

5.0.0 Jan 25, 2023
4.0.0 Sep 25, 2022
3.0.3 Aug 26, 2022
2.0.1 Aug 4, 2022
0.1.0 Jun 10, 2016

#611 in Web programming

Download history 8/week @ 2022-11-27 13/week @ 2022-12-04 60/week @ 2022-12-11 69/week @ 2022-12-18 4/week @ 2022-12-25 66/week @ 2023-01-01 80/week @ 2023-01-08 111/week @ 2023-01-15 58/week @ 2023-01-22 126/week @ 2023-01-29 160/week @ 2023-02-05 120/week @ 2023-02-12 123/week @ 2023-02-19 88/week @ 2023-02-26 68/week @ 2023-03-05 97/week @ 2023-03-12

381 downloads per month

MIT license

1MB
21K SLoC

GitHub Contributors Stars Build Status Downloads Crates.io

Plaid client, generated from the OpenAPI spec.

Usage

use plaid::PlaidClient;
use plaid::model::*;
#[tokio::main]
async fn main() {
    let client = PlaidClient::from_env();
    let response = client
        .item_application_list()
        .access_token("your access token")
        .send()
        .await
        .unwrap();
    println!("{:#?}", response);
}

This example loads configuration from environment variables, specifically:

  • PLAID_ENV

  • PLAID_CLIENT_ID

  • PLAID_SECRET

  • PLAID_VERSION

Installation

Add this to your Cargo.toml:

[dependencies]
plaid = "5"

Documentation

You can see working examples of every API call in the examples/ directory.

Contributing

Contributions are welcome!

Library created with Libninja.

Dependencies

~7–16MB
~362K SLoC