ynab-api icon indicating copy to clipboard operation
ynab-api copied to clipboard

Generated Python API for YNAB

Results 7 ynab-api issues
Sort by recently updated
recently updated
newest added

Just the minimal changes to support updates to the YNAB API that I need.

When I run this code: ``` import ynab_api from ynab_api.api import categories_api ynab_configuration = ynab_api.Configuration() ynab_configuration.api_key_prefix['bearer'] = 'Bearer' ynab_configuration.api_key['bearer'] = 'REDACTED' ynab_client = ynab_api.ApiClient(ynab_configuration) categories_api_instance = categories_api.CategoriesApi(ynab_client) categories_response = categories_api_instance.get_categories('REDACTED')...

When I invoke get_transactions_by_account via the TransactionsApi, I get this error: ynab_api.exceptions.ApiTypeError: Invalid type for variable 'flag_color'. Required value type is str and passed type was NoneType at ['received_data']['data']['transactions'][0]['flag_color'] Other...

Updated openapi.json to accept new possible values from YNAB based on their recent changes to account types. Tested these out and they're currently throwing errors. ![image](https://user-images.githubusercontent.com/59374030/145662688-16bc36c4-e13d-4345-b3aa-791b9fd8a7eb.png) (If this is...not how...

The official swagger spec has various fields mark as required: False but nullable: False. Or something like that. Anyway, it seems to be working if I just mark everything nullable....