plaid

Crates.ioplaid
lib.rsplaid
version8.0.0
sourcesrc
created_at2016-06-10 19:03:07.77284
updated_at2024-01-22 04:53:55.699364
descriptionPlaid client, generated from the OpenAPI spec.
homepagehttps://github.com/libninjacom/plaid-rs
repositoryhttps://github.com/libninjacom/plaid-rs
max_upload_size
id5344
size2,227,309
Kurt Wolf (kurtbuilds)

documentation

https://docs.rs/plaid

README

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.

Commit count: 55

cargo fmt