{"repo":"ynab/ynab-sdk-js","free":true,"listed":false,"github":"https://github.com/ynab/ynab-sdk-js","clone":"git clone https://github.com/ynab/ynab-sdk-js.git","description":"Official JavaScript client for the YNAB API","language":"TypeScript","stars":239,"topics":["api","nodejs","typescript","rest-api","ynab","ynab-api","budgeting","finance"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"YNAB API JavaScript Library Please read the YNAB API documentation for an overview of using the API and a complete list of available resources. This client is generated using the OpenAPI Generator. Installation First, install the module with npm: Then, depending upon your usage context, add a reference to it: CommonJS / Node Tested against Node 22 and later. Older versions may still work, but aren't tested. ESM / TypeScript Browser The API supports Cross Origin Resource Sharing (CORS) for asynchronous browser requests from any origin. The dist/browser/ynab.js file (located in node modules/ynab after installation) is specifically built to run in a browser / window context and exports ynab variable to global namespace. No other dependencies are needed. CDN A simple way to load the library in a browser is by using the unpkg CDN, which is a \"fast, global content delivery network for everything on npm\". To use it, include a script tag like this in your file: Using the \"latest\" tag will result in a 302 redirect to the latest version tag so it is highly recommended to use a specific version tag such as https://unpkg.com/ynab@1.5.0/dist/browser/ynab.js to avoid this redirect. Usage To use this client, you must obtain an access token from the Account Settings area of the YNAB web application. Error Handling If a response is returned with a code = 300, instead of returning the response, the response will be thrown as an error to be caught. Rate Limiting The API enforces Rate Limiting. ","default_branch":null,"files":null,"tree":[],"storefront":"/r/ynab","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/ynab/ynab-sdk-js/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}