Package: ynab-client
YNAB API v1 Python ClientOur 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 athttps://api.youneedabudget.comThis Python package is automatically generated by theSwagger Codegenproject:API version: 1.0.0Build package: io.swagger.codegen.languages.PythonClientCodegenRequirements.Python 2.7 and 3.4+Installation & Usagepip installIf the python package is hosted on Github, you can install directly from Githubpipinstallynab-client(you may need to runpipwith root permission:sudo pip install git+https://github.com/gchiam/ynab-client-python.git)Then import the package:importynab_clientSetuptoolsInstall viaSetuptools.pythonsetup.pyinstall--user(orsudo python setup.py installto install the package for all users)Then import the package:importynab_clientGetting StartedPlease follow theinstallation procedureand then run the following:from__future__importprint_functionimporttimeimportynab_clientfromynab_client.restimportApiExceptionfrompprintimportpprint# Configure API key authorization: bearerconfiguration=ynab_client.Configuration()configuration.api_key_prefix['Authorization']='Bearer'configuration.api_key['Authorization']='YOUR_API_KEY'# create an instance of the API classapi_instance=ynab_client.BudgetsApi()try:api_response=api_instance.get_budgets()pprint(api_response)exceptApiExceptionase:print("Exception when calling BudgetApi->get_budgets:%s\n"%e)Documentation for API EndpointsAll URIs are relative tohttps://api.youneedabudget.com/v1ClassMethodHTTP requestDescriptionAccountsApiget_account_by_idGET/budgets/{budget_id}/accounts/{account_id}Single accountAccountsApiget_accountsGET/budgets/{budget_id}/accountsAccount listBudgetsApiget_budget_by_idGET/budgets/{budget_id}Single budgetBudgetsApiget_budget_settings_by_idGET/budgets/{budget_id}/settingsBudget SettingsBudgetsApiget_budgetsGET/budgetsList budgetsCategoriesApiget_categoriesGET/budgets/{budget_id}/categoriesList categoriesCategoriesApiget_category_by_idGET/budgets/{budget_id}/categories/{category_id}Single categoryMonthsApiget_budget_monthGET/budgets/{budget_id}/months/{month}Single budget monthMonthsApiget_budget_monthsGET/budgets/{budget_id}/monthsList budget monthsPayeeLocationsApiget_payee_location_by_idGET/budgets/{budget_id}/payee_locations/{payee_location_id}Single payee locationPayeeLocationsApiget_payee_locationsGET/budgets/{budget_id}/payee_locationsList payee locationsPayeeLocationsApiget_payee_locations_by_payeeGET/budgets/{budget_id}/payees/{payee_id}/payee_locationsList locations for a payeePayeesApiget_payee_by_idGET/budgets/{budget_id}/payees/{payee_id}Single payeePayeesApiget_payeesGET/budgets/{budget_id}/payeesList payeesScheduledTransactionsApiget_scheduled_transaction_by_idGET/budgets/{budget_id}/scheduled_transactions/{scheduled_transaction_id}Single scheduled transactionScheduledTransactionsApiget_scheduled_transactionsGET/budgets/{budget_id}/scheduled_transactionsList scheduled transactionsTransactionsApibulk_create_transactionsPOST/budgets/{budget_id}/transactions/bulkBulk create transactionsTransactionsApicreate_transactionPOST/budgets/{budget_id}/transactionsCreate new transactionTransactionsApiget_transactionsGET/budgets/{budget_id}/transactionsList transactionsTransactionsApiget_transactions_by_accountGET/budgets/{budget_id}/accounts/{account_id}/transactionsList account transactionsTransactionsApiget_transactions_by_categoryGET/budgets/{budget_id}/categories/{category_id}/transactionsList category transactionsTransactionsApiget_transactions_by_idGET/budgets/{budget_id}/transactions/{transaction_id}Single transactionTransactionsApiget_transactions_by_payeeGET/budgets/{budget_id}/payees/{payee_id}/transactionsList payee transactionsTransactionsApiupdate_transactionPUT/budgets/{budget_id}/transactions/{transaction_id}Updates an existing transactionUserApiget_userGET/userUser infoDocumentation For ModelsAccountAccountResponseAccountWrapperAccountsResponseAccountsWrapperBudgetDetailResponseBudgetDetailWrapperBudgetSettingsBudgetSettingsResponseBudgetSettingsWrapperBudgetSummaryBudgetSummaryResponseBudgetSummaryWrapperBulkIdWrapperBulkIdsBulkResponseBulkTransactionsCategoriesResponseCategoryCategoryGroupCategoryGroupsWrapperCategoryResponseCategoryWrapperCurrencyFormatDateFormatErrorDetailErrorResponseHybridTransactionsResponseHybridTransactionsWrapperMonthDetailResponseMonthDetailWrapperMonthSummariesResponseMonthSummariesWrapperMonthSummaryPayeePayeeLocationPayeeLocationResponsePayeeLocationWrapperPayeeLocationsResponsePayeeLocationsWrapperPayeeResponsePayeeWrapperPayeesResponsePayeesWrapperSaveTransactionSaveTransactionWrapperScheduledSubTransactionScheduledTransactionResponseScheduledTransactionSummaryScheduledTransactionWrapperScheduledTransactionsResponseScheduledTransactionsWrapperSubTransactionTransactionResponseTransactionSummaryTransactionWrapperTransactionsResponseTransactionsWrapperUserUserResponseUserWrapperBudgetDetailCategoryGroupWithCategoriesHybridTransactionMonthDetailScheduledTransactionDetailTransactionDetailDocumentation For AuthorizationbearerType: API keyAPI key parameter name: AuthorizationLocation: HTTP header