#was #access-token #plaid-client

plaid

Plaid client, generated from the OpenAPI spec

14 stable releases (8 major)

8.0.0 Jan 22, 2024
7.1.0 Dec 14, 2023
6.0.0 Apr 6, 2023
5.0.0 Jan 25, 2023
0.1.0 Jun 10, 2016

#221 in Web programming

Download history 42/week @ 2024-06-16 76/week @ 2024-06-23 250/week @ 2024-06-30 105/week @ 2024-07-07 235/week @ 2024-07-14 212/week @ 2024-07-21 36/week @ 2024-07-28 135/week @ 2024-08-04 193/week @ 2024-08-11 34/week @ 2024-08-18 71/week @ 2024-08-25 122/week @ 2024-09-01 52/week @ 2024-09-08 61/week @ 2024-09-15 98/week @ 2024-09-22 126/week @ 2024-09-29

337 downloads per month

MIT license

2MB
31K 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")
        .await
        .unwrap();
    println!("{:#?}", response);
}

This example loads configuration from environment variables, specifically:

  • PLAID_ENV: Changed: Previously, this was a full URL, but now it works similarly to other Plaid libraries, where it takes an env value, specifically, sandbox, development, or production.

  • PLAID_CLIENT_ID

  • PLAID_SECRET

  • PLAID_VERSION

Installation

Add this to your Cargo.toml:

[dependencies]
plaid = ".."

Documentation

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

Contributing

Contributions are welcome!

Library created with Libninja.

Dependencies

~11–23MB
~401K SLoC