Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/libninjacom/plaid-py
Plaid client, generated from the OpenAPI spec
https://github.com/libninjacom/plaid-py
openapi plaid python
Last synced: 6 days ago
JSON representation
Plaid client, generated from the OpenAPI spec
- Host: GitHub
- URL: https://github.com/libninjacom/plaid-py
- Owner: libninjacom
- License: mit
- Created: 2022-09-24T13:03:20.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2022-11-27T03:38:36.000Z (almost 2 years ago)
- Last Synced: 2024-09-18T00:50:35.268Z (about 2 months ago)
- Topics: openapi, plaid, python
- Language: Python
- Homepage: https://libninjacom.github.io/plaid-py/
- Size: 12.1 MB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
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
```python
import os
from plaid2 import AsyncPlaidClient
from plaid2 import PlaidClientdef main():
client = PlaidClient.from_env()
response = client.item_application_list()
print(f"{response!r}")async def async_main():
client = AsyncPlaidClient.from_env()
response = await client.item_application_list()
print(f"{response!r}")if __name__ == "__main__":
if os.environ.get("ASYNC"):
import asyncio
asyncio.run(async_main())
else:
main()```
This example loads configuration from environment variables, specifically:
* `PLAID_ENV`
* `PLAID_CLIENT_ID`
* `PLAID_SECRET`
* `PLAID_VERSION`
# Documentation
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).*