aioynab
YNAB API client implemented using python 3 asyncio.
Install
aioynab can easily be installed using pip and python >= 3.5.3:
$ pip install aioynab
Quick Start
First create a personal access token in your YNAB account. Create a client with that value like the example below.
import asyncio
from aioynab.client import Client
loop = asyncio.get_event_loop()
client = Client('ynab-personal-access-token')
budgets = loop.run_until_complete(client.budgets()))
budget_id = budgets['budgets'][0]['budget_id']
accounts = loop.run_until_complete(client.accounts(budget_id))
account_id = accounts['accounts'][0]['account_id']
transactions = loop.run_until_complete(client.account_transactions(budget_id, account_id))
Documentation
Consult the docs for further information.
Metadata
Release files for aioynab 0.1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aioynab-0.1.2.tar.gz | 7.8 kB | Without provenance | Details for aioynab-0.1.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aioynab-0.1.2-py3-none-any.whl | Python 3 | none | any | Details for aioynab-0.1.2-py3-none-any.whl |
Total release size: 14.3 kB
Release files / aioynab-0.1.2.tar.gz
| Download URL | aioynab-0.1.2.tar.gz |
|---|---|
| Size | 7.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
357abdcfd2e292c5d6a987ec8a0d8eec744894c5d2a6c58b8ad8c6566119cb4a
|
|
BLAKE2b-256 checksum How to use checksums |
90eb411aca6220dce576752c37ae46d3299086d6e65f69d16e6f6d320f5c896c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Release files / aioynab-0.1.2-py3-none-any.whl
| Download URL | aioynab-0.1.2-py3-none-any.whl |
|---|---|
| Size | 6.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
66f2d038c4d31dc9a8567ead9d54abc400456524faabf67907305fd096a19692
|
|
BLAKE2b-256 checksum How to use checksums |
f7b0aa6baece79601ca5965a75959ef2d808f718ca1a63501ede1290b45e64a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.13.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.7
|
Security for aioynab 0.1.2
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.