Skip to content

rienafairefr/pynYNAB

Repository files navigation

image

image

image

nYNABapi

this library was written using the internal undocumented YNAB API You should use a library using the newer PAPI (Public API) for YNAB PAPI

a python client for the new YNAB API. This is integrating with the old-school, internal-use API on https://app.youneedabudget.com/api/v1, not the new API that went live on December 2017

Installation

$ pip install pynYNAB

Or you can download the source, then call python setup.py install

Usage

For more in-depth info about the library, go to the documentation DOCS

Either code your own script that uses the pynYNAB api, or use the provided scripts, ynab ofximport, or ynab csvimport

Scripts Documentation

Using these scripts you can import a bunch of transactions in your budget, using either a CSV or an OFX file This is especially useful if your bank is not supported by the automatic import feature of YNAB

See more documentation at SCRIPTS_DOCS

API Documentation

See some extended explanation in the WIKI or the DOCS

Preventing harm to YNAB servers

I've taken all precautionary steps so that this python Client can't affect YNAB even if used too widely.

  • It honors requests by the server to throttle its requests > Same mechanisme that the JS app uses
  • It self-limits the requests to 5 request per second
  • It clearly identifies itself by User-Agent > Easy to lock it out if it causes trouble