| Crates.io | ynab-api |
| lib.rs | ynab-api |
| version | 4.0.0 |
| created_at | 2019-08-19 04:33:07.361669+00 |
| updated_at | 2025-01-11 05:50:41.780498+00 |
| description | OpenAPI-generated API bindings for the YNAB API |
| homepage | |
| repository | https://git.tozt.net/ynab-api |
| max_upload_size | |
| id | 157970 |
| size | 514,607 |
Our API uses a REST based design, leverages the JSON data format, and relies upon HTTPS for transport. We respond with meaningful HTTP response codes and if an error occurs, we include error details in the response body. API Documentation is at https://api.ynab.com
This API client was generated by the OpenAPI Generator project. By using the openapi-spec from a remote server, you can easily generate an API client.
org.openapitools.codegen.languages.RustClientCodegenPut the package under your project folder in a directory named ynab-api and add the following to Cargo.toml under [dependencies]:
ynab-api = { path = "./ynab-api" }
All URIs are relative to https://api.ynab.com/v1
| Class | Method | HTTP request | Description |
|---|
AccountsApi | create_account | POST /budgets/{budget_id}/accounts | Create a new account AccountsApi | get_account_by_id | GET /budgets/{budget_id}/accounts/{account_id} | Single account AccountsApi | get_accounts | GET /budgets/{budget_id}/accounts | Account list BudgetsApi | get_budget_by_id | GET /budgets/{budget_id} | Single budget BudgetsApi | get_budget_settings_by_id | GET /budgets/{budget_id}/settings | Budget Settings BudgetsApi | get_budgets | GET /budgets | List budgets CategoriesApi | get_categories | GET /budgets/{budget_id}/categories | List categories CategoriesApi | get_category_by_id | GET /budgets/{budget_id}/categories/{category_id} | Single category CategoriesApi | get_month_category_by_id | GET /budgets/{budget_id}/months/{month}/categories/{category_id} | Single category for a specific budget month CategoriesApi | update_category | PATCH /budgets/{budget_id}/categories/{category_id} | Update a category CategoriesApi | update_month_category | PATCH /budgets/{budget_id}/months/{month}/categories/{category_id} | Update a category for a specific month MonthsApi | get_budget_month | GET /budgets/{budget_id}/months/{month} | Single budget month MonthsApi | get_budget_months | GET /budgets/{budget_id}/months | List budget months PayeeLocationsApi | get_payee_location_by_id | GET /budgets/{budget_id}/payee_locations/{payee_location_id} | Single payee location PayeeLocationsApi | get_payee_locations | GET /budgets/{budget_id}/payee_locations | List payee locations PayeeLocationsApi | get_payee_locations_by_payee | GET /budgets/{budget_id}/payees/{payee_id}/payee_locations | List locations for a payee PayeesApi | get_payee_by_id | GET /budgets/{budget_id}/payees/{payee_id} | Single payee PayeesApi | get_payees | GET /budgets/{budget_id}/payees | List payees PayeesApi | update_payee | PATCH /budgets/{budget_id}/payees/{payee_id} | Update a payee ScheduledTransactionsApi | create_scheduled_transaction | POST /budgets/{budget_id}/scheduled_transactions | Create a single scheduled transaction ScheduledTransactionsApi | get_scheduled_transaction_by_id | GET /budgets/{budget_id}/scheduled_transactions/{scheduled_transaction_id} | Single scheduled transaction ScheduledTransactionsApi | get_scheduled_transactions | GET /budgets/{budget_id}/scheduled_transactions | List scheduled transactions TransactionsApi | create_transaction | POST /budgets/{budget_id}/transactions | Create a single transaction or multiple transactions TransactionsApi | delete_transaction | DELETE /budgets/{budget_id}/transactions/{transaction_id} | Deletes an existing transaction TransactionsApi | get_transaction_by_id | GET /budgets/{budget_id}/transactions/{transaction_id} | Single transaction TransactionsApi | get_transactions | GET /budgets/{budget_id}/transactions | List transactions TransactionsApi | get_transactions_by_account | GET /budgets/{budget_id}/accounts/{account_id}/transactions | List account transactions TransactionsApi | get_transactions_by_category | GET /budgets/{budget_id}/categories/{category_id}/transactions | List category transactions, excluding any pending transactions TransactionsApi | get_transactions_by_month | GET /budgets/{budget_id}/months/{month}/transactions | List transactions in month, excluding any pending transactions TransactionsApi | get_transactions_by_payee | GET /budgets/{budget_id}/payees/{payee_id}/transactions | List payee transactions, excluding any pending transactions TransactionsApi | import_transactions | POST /budgets/{budget_id}/transactions/import | Import transactions TransactionsApi | update_transaction | PUT /budgets/{budget_id}/transactions/{transaction_id} | Updates an existing transaction TransactionsApi | update_transactions | PATCH /budgets/{budget_id}/transactions | Update multiple transactions UserApi | get_user | GET /user | User info
To get access to the crate's generated documentation, use:
cargo doc --open
Jesse Luehrs doy@tozt.net
Based on the OpenAPI spec found at https://github.com/ynab/ynab-sdk-js/blob/master/spec-v1-swagger.json by You Need A Budget, LLC