1 stable release
1.0.1 | Nov 4, 2023 |
---|
#161 in #spec
1MB
24K
SLoC
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
~10–23MB
~404K SLoC