16 stable releases (9 major)

9.0.1 Jan 21, 2025
8.0.0 Jan 22, 2024
7.1.0 Dec 14, 2023
6.0.0 Apr 6, 2023
0.1.0 Jun 10, 2016

#148 in Web programming

Download history 24/week @ 2024-11-27 39/week @ 2024-12-04 83/week @ 2024-12-11 12/week @ 2024-12-18 3/week @ 2024-12-25 27/week @ 2025-01-01 183/week @ 2025-01-08 159/week @ 2025-01-15 31/week @ 2025-01-22 42/week @ 2025-01-29 16/week @ 2025-02-05 13/week @ 2025-02-12 20/week @ 2025-02-19 116/week @ 2025-02-26 97/week @ 2025-03-05 41/week @ 2025-03-12

275 downloads per month

MIT license

2.5MB
42K 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
~396K SLoC