Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/libninjacom/plaid-rs
Rust client library for Plaid, generated from Plaid's OpenAPI spec
https://github.com/libninjacom/plaid-rs
openapi plaid plaid-api rust
Last synced: 6 days ago
JSON representation
Rust client library for Plaid, generated from Plaid's OpenAPI spec
- Host: GitHub
- URL: https://github.com/libninjacom/plaid-rs
- Owner: libninjacom
- License: mit
- Created: 2022-05-11T13:13:15.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-22T04:57:32.000Z (10 months ago)
- Last Synced: 2024-04-23T06:59:07.764Z (7 months ago)
- Topics: openapi, plaid, plaid-api, rust
- Language: Rust
- Homepage: https://docs.rs/plaid/
- Size: 1.76 MB
- Stars: 6
- Watchers: 1
- Forks: 5
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Plaid client, generated from the OpenAPI spec.
# Usage
```rust
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:
```toml
[dependencies]
plaid = ".."
```# Documentation
* [Client Library Documentation](https://docs.rs/plaid)
You can see working examples of every API call in the `examples/` directory.
# Contributing
Contributions are welcome!
*Library created with [Libninja](https://www.libninja.com).*