This module provides a YNAB API client implemented using python 3 asyncio.
Project description
aioynab
=======
|pypi| |pythonversions| |docs| |build| |codecov|
YNAB_ API client implemented using python 3 asyncio.
Install
-------
aioynab can easily be installed using pip and python >= 3.5.3:
.. code-block:: bash
$ pip install aioynab
Quick Start
-----------
First create a personal access token in your `YNAB account <https://app.youneedabudget.com/settings/developer>`_.
Create a client with that value like the example below.
.. code-block:: python
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.
.. _ynab: https://api.youneedabudget.com/
.. _docs: https://aioynab.readthedocs.io/en/latest/?badge=latest
.. |build| image:: https://api.travis-ci.com/boralyl/aioynab.svg?branch=master
:alt: Build Status
:scale: 100%
:target: https://travis-ci.org/boralyl/aioynab
.. |docs| image:: https://readthedocs.org/projects/aioynab/badge/?version=latest
:alt: Documentation Status
:scale: 100%
:target: https://aioynab.readthedocs.io/en/latest/?badge=latest
.. |codecov| image:: https://codecov.io/gh/boralyl/aioynab/branch/master/graph/badge.svg
:alt: Code Coverage
:scale: 100%
:target: https://codecov.io/gh/boralyl/aioynab
.. |pypi| image:: https://badge.fury.io/py/aioynab.svg
:alt: Pypi
:scale: 100%
:target: https://pypi.org/project/aioynab/
.. |pythonversions| image:: https://img.shields.io/pypi/pyversions/aioynab.svg
:alt: Python Versions
:scale: 100%
:target: https://pypi.org/project/aioynab/
=======
|pypi| |pythonversions| |docs| |build| |codecov|
YNAB_ API client implemented using python 3 asyncio.
Install
-------
aioynab can easily be installed using pip and python >= 3.5.3:
.. code-block:: bash
$ pip install aioynab
Quick Start
-----------
First create a personal access token in your `YNAB account <https://app.youneedabudget.com/settings/developer>`_.
Create a client with that value like the example below.
.. code-block:: python
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.
.. _ynab: https://api.youneedabudget.com/
.. _docs: https://aioynab.readthedocs.io/en/latest/?badge=latest
.. |build| image:: https://api.travis-ci.com/boralyl/aioynab.svg?branch=master
:alt: Build Status
:scale: 100%
:target: https://travis-ci.org/boralyl/aioynab
.. |docs| image:: https://readthedocs.org/projects/aioynab/badge/?version=latest
:alt: Documentation Status
:scale: 100%
:target: https://aioynab.readthedocs.io/en/latest/?badge=latest
.. |codecov| image:: https://codecov.io/gh/boralyl/aioynab/branch/master/graph/badge.svg
:alt: Code Coverage
:scale: 100%
:target: https://codecov.io/gh/boralyl/aioynab
.. |pypi| image:: https://badge.fury.io/py/aioynab.svg
:alt: Pypi
:scale: 100%
:target: https://pypi.org/project/aioynab/
.. |pythonversions| image:: https://img.shields.io/pypi/pyversions/aioynab.svg
:alt: Python Versions
:scale: 100%
:target: https://pypi.org/project/aioynab/
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
aioynab-0.1.2.tar.gz
(7.8 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aioynab-0.1.2.tar.gz.
File metadata
- Download URL: aioynab-0.1.2.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
357abdcfd2e292c5d6a987ec8a0d8eec744894c5d2a6c58b8ad8c6566119cb4a
|
|
| MD5 |
4ff0e18f3067cf373f895e68e7ae2907
|
|
| BLAKE2b-256 |
90eb411aca6220dce576752c37ae46d3299086d6e65f69d16e6f6d320f5c896c
|
File details
Details for the file aioynab-0.1.2-py3-none-any.whl.
File metadata
- Download URL: aioynab-0.1.2-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using 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
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
66f2d038c4d31dc9a8567ead9d54abc400456524faabf67907305fd096a19692
|
|
| MD5 |
1d9be8074b1e2b9dc2a5893695565dee
|
|
| BLAKE2b-256 |
f7b0aa6baece79601ca5965a75959ef2d808f718ca1a63501ede1290b45e64a0
|