{"id":28406971,"url":"https://github.com/ynab/ynab-sdk-python","last_synced_at":"2026-03-01T15:02:03.173Z","repository":{"id":275233586,"uuid":"267392280","full_name":"ynab/ynab-sdk-python","owner":"ynab","description":"Official Python client for the YNAB API","archived":false,"fork":false,"pushed_at":"2026-02-26T21:50:34.000Z","size":398,"stargazers_count":34,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-02-27T03:28:45.921Z","etag":null,"topics":["api","budgeting","finance","python","ynab","ynab-api"],"latest_commit_sha":null,"homepage":"https://api.ynab.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ynab.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-05-27T18:09:02.000Z","updated_at":"2026-02-18T09:11:40.000Z","dependencies_parsed_at":null,"dependency_job_id":"53ba30d2-9fb4-4a9a-864b-615877f29d5c","html_url":"https://github.com/ynab/ynab-sdk-python","commit_stats":null,"previous_names":["ynab/ynab-sdk-python"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/ynab/ynab-sdk-python","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynab%2Fynab-sdk-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynab%2Fynab-sdk-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynab%2Fynab-sdk-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynab%2Fynab-sdk-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ynab","download_url":"https://codeload.github.com/ynab/ynab-sdk-python/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ynab%2Fynab-sdk-python/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29973114,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-01T14:44:57.896Z","status":"ssl_error","status_checked_at":"2026-03-01T14:43:27.662Z","response_time":124,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","budgeting","finance","python","ynab","ynab-api"],"created_at":"2025-06-01T23:40:42.074Z","updated_at":"2026-03-01T15:02:03.162Z","avatar_url":"https://github.com/ynab.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# YNAB API Python Library\n\n[![Build](https://github.com/ynab/ynab-sdk-python/actions/workflows/build-test.yml/badge.svg)](https://github.com/ynab/ynab-sdk-python/actions/workflows/build-test.yml) [![PyPI version](https://badge.fury.io/py/ynab.svg?icon=si%3Apython)](https://badge.fury.io/py/ynab)\n\nThis is the Python client for the YNAB API.\n\nPlease read the [YNAB API documentation](https://api.ynab.com) for an\noverview of using the API and a complete list of available resources.\n\nThis client is generated using the [OpenAPI Generator](https://openapi-generator.tech/).\n\n## Requirements\n\nPython 3.8+\n\n## Installation\n\nFirst, install the package using pip:\n\n```sh\npip install ynab\n```\n\nThen import the package:\n```python\nimport ynab\n```\n\n## Usage\n\nTo use this client, you must\n[obtain an access token](https://api.ynab.com/#authentication) from\nthe [Account Settings](https://app.ynab.com/settings) area of the YNAB web\napplication.\n\n```python\nimport ynab\n\nconfiguration = ynab.Configuration(\n    access_token = \"b43439eaafe2_this_is_fake_b43439eaafe2\"\n)\n\nwith ynab.ApiClient(configuration) as api_client:\n    plans_api = ynab.PlansApi(api_client)\n    plans_response = plans_api.get_plans()\n    plans = plans_response.data.budgets\n    \n    for plan in plans:\n        print(plan.name) \n```\n\n## Methods\n\nClass | Method | Description\n------------ | ------------- | -------------\n**UserApi** | [**get_user**](docs/UserApi.md#get_user) | Get user\n**AccountsApi** | [**create_account**](docs/AccountsApi.md#create_account) | Create an account\n\u0026nbsp; | [**get_account_by_id**](docs/AccountsApi.md#get_account_by_id) | Get an account\n\u0026nbsp; | [**get_accounts**](docs/AccountsApi.md#get_accounts) | Get all accounts\n**BudgetsApi** | [**get_plan_by_id**](docs/BudgetsApi.md#get_plan_by_id) | Get a plan\n\u0026nbsp; | [**get_plan_settings_by_id**](docs/BudgetsApi.md#get_plan_settings_by_id) | Get plan settings\n\u0026nbsp; | [**get_plans**](docs/BudgetsApi.md#get_plans) | Get all plans\n**CategoriesApi** | [**create_category**](docs/CategoriesApi.md#create_category) | Create a category\n\u0026nbsp; | [**create_category_group**](docs/CategoriesApi.md#create_category_group) | Create a category group\n\u0026nbsp; | [**get_categories**](docs/CategoriesApi.md#get_categories) | Get all categories\n\u0026nbsp; | [**get_category_by_id**](docs/CategoriesApi.md#get_category_by_id) | Get a category\n\u0026nbsp; | [**get_month_category_by_id**](docs/CategoriesApi.md#get_month_category_by_id) | Get a category for a specific plan month\n\u0026nbsp; | [**update_category**](docs/CategoriesApi.md#update_category) | Update a category\n\u0026nbsp; | [**update_category_group**](docs/CategoriesApi.md#update_category_group) | Update a category group\n\u0026nbsp; | [**update_month_category**](docs/CategoriesApi.md#update_month_category) | Update a category for a specific month\n**MonthsApi** | [**get_plan_month**](docs/MonthsApi.md#get_plan_month) | Get a plan month\n\u0026nbsp; | [**get_plan_months**](docs/MonthsApi.md#get_plan_months) | Get all plan months\n**PayeeLocationsApi** | [**get_payee_location_by_id**](docs/PayeeLocationsApi.md#get_payee_location_by_id) | Get a payee location\n\u0026nbsp; | [**get_payee_locations**](docs/PayeeLocationsApi.md#get_payee_locations) | Get all payee locations\n\u0026nbsp; | [**get_payee_locations_by_payee**](docs/PayeeLocationsApi.md#get_payee_locations_by_payee) | Get all locations for a payee\n**PayeesApi** | [**get_payee_by_id**](docs/PayeesApi.md#get_payee_by_id) | Get a payee\n\u0026nbsp; | [**get_payees**](docs/PayeesApi.md#get_payees) | Get all payees\n\u0026nbsp; | [**update_payee**](docs/PayeesApi.md#update_payee) | Update a payee\n**MoneyMovementsApi** | [**get_money_movement_groups**](docs/MoneyMovementsApi.md#get_money_movement_groups) | Get all money movement groups\n\u0026nbsp; | [**get_money_movement_groups_by_month**](docs/MoneyMovementsApi.md#get_money_movement_groups_by_month) | Get money movement groups for a plan month\n\u0026nbsp; | [**get_money_movements**](docs/MoneyMovementsApi.md#get_money_movements) | Get all money movements\n\u0026nbsp; | [**get_money_movements_by_month**](docs/MoneyMovementsApi.md#get_money_movements_by_month) | Get money movements for a plan month\n**TransactionsApi** | [**create_transaction**](docs/TransactionsApi.md#create_transaction) | Create a single transaction or multiple transactions\n\u0026nbsp; | [**delete_transaction**](docs/TransactionsApi.md#delete_transaction) | Delete a transaction\n\u0026nbsp; | [**get_transaction_by_id**](docs/TransactionsApi.md#get_transaction_by_id) | Get a transaction\n\u0026nbsp; | [**get_transactions**](docs/TransactionsApi.md#get_transactions) | Get all transactions\n\u0026nbsp; | [**get_transactions_by_account**](docs/TransactionsApi.md#get_transactions_by_account) | Get all account transactions\n\u0026nbsp; | [**get_transactions_by_category**](docs/TransactionsApi.md#get_transactions_by_category) | Get all category transactions\n\u0026nbsp; | [**get_transactions_by_month**](docs/TransactionsApi.md#get_transactions_by_month) | Get all plan month transactions\n\u0026nbsp; | [**get_transactions_by_payee**](docs/TransactionsApi.md#get_transactions_by_payee) | Get all payee transactions\n\u0026nbsp; | [**import_transactions**](docs/TransactionsApi.md#import_transactions) | Import transactions\n\u0026nbsp; | [**update_transaction**](docs/TransactionsApi.md#update_transaction) | Update a transaction\n\u0026nbsp; | [**update_transactions**](docs/TransactionsApi.md#update_transactions) | Update multiple transactions\n**ScheduledTransactionsApi** | [**create_scheduled_transaction**](docs/ScheduledTransactionsApi.md#create_scheduled_transaction) | Create a scheduled transaction\n\u0026nbsp; | [**delete_scheduled_transaction**](docs/ScheduledTransactionsApi.md#delete_scheduled_transaction) | Delete a scheduled transaction\n\u0026nbsp; | [**get_scheduled_transaction_by_id**](docs/ScheduledTransactionsApi.md#get_scheduled_transaction_by_id) | Get a scheduled transaction\n\u0026nbsp; | [**get_scheduled_transactions**](docs/ScheduledTransactionsApi.md#get_scheduled_transactions) | Get all scheduled transactions\n\u0026nbsp; | [**update_scheduled_transaction**](docs/ScheduledTransactionsApi.md#update_scheduled_transaction) | Update a scheduled transaction\n\n## Versioning\n\nThe version of this client is defined in the `pyproject.toml` file and follows [semantic versioning](https://semver.org/).  The version of this client is maintained independently and does not align with the the version of YNAB API itself (which is defined in the [OpenAPI spec](https://api.ynab.com/papi/open_api_spec.yaml)).  To determine which spec version of the YNAB API was used when generating this client you can refer to the \"description\" field in the `pyproject.toml` file.\n\n## License\n\nCopyright (c) 2025 YNAB\n\nLicensed under the Apache-2.0 license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynab%2Fynab-sdk-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fynab%2Fynab-sdk-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fynab%2Fynab-sdk-python/lists"}