| Crates.io | plaid |
| lib.rs | plaid |
| version | 9.0.1 |
| created_at | 2016-06-10 19:03:07.77284+00 |
| updated_at | 2025-01-21 03:35:01.107302+00 |
| description | Plaid client, generated from the OpenAPI spec. |
| homepage | https://github.com/libninjacom/plaid-rs |
| repository | https://github.com/libninjacom/plaid-rs |
| max_upload_size | |
| id | 5344 |
| size | 2,939,879 |
Plaid client, generated from the OpenAPI spec.
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
Add this to your Cargo.toml:
[dependencies]
plaid = ".."
You can see working examples of every API call in the examples/ directory.
Contributions are welcome!
Library created with Libninja.