ynab.go icon indicating copy to clipboard operation
ynab.go copied to clipboard

Support for subtransactions

Open WhiskeyJack96 opened this issue 4 years ago • 4 comments

https://api.youneedabudget.com/v1#/Transactions/createTransaction

According to the documentation the api support adding sub transactions when making a transaction. It doesnt look like this feature is present in the library. Any reason in particular it isnt? Any complaints with me adding and opening a PR?

WhiskeyJack96 avatar Aug 13 '20 05:08 WhiskeyJack96

I need this as well. Did you end up playing around with it?

plainlystated avatar Sep 23 '22 23:09 plainlystated

Hey @plainlystated! I ended up forking the repo and putting some (perhaps hacky) updates into the method to support the functionality I needed. Its pretty old but if its of value to you you can check it out here https://github.com/WhiskeyJack96/ynab.go. The main reason I didnt pr it back to the repo is because I made several additional changes that were specific to my needs.

WhiskeyJack96 avatar Sep 24 '22 17:09 WhiskeyJack96

Thanks, very helpful!

plainlystated avatar Sep 25 '22 06:09 plainlystated

PR'ed @ #28

plainlystated avatar Oct 04 '22 04:10 plainlystated