More transactions?
ColinMaudry opened this issue · comments
Hello,
Is it possible to get all transactions and not only the last 20? Or filtering by date?
Thanks for this great initiative 👍
hey @ColinMaudry , thank you! You can currently filter transactions by date:
λ ~/ n26 transactions --help
NAME:
n26 transactions - list your past transactions. Supports CSV output
USAGE:
n26 transactions [command options] [csv|json|table]
OPTIONS:
--from value retrieve transactions from this date. Also 'to' flag needs to be set. Calendar date in the format yyyy-mm-dd. E.g. 2018-03-01
--to value retrieve transactions until this date. Also 'from' flag needs to be set. Calendar date in the format yyyy-mm-dd. E.g. 2018-03-31
That works for you? :)
Great, I hadn't seen I could get help for subcommands.
Thanks 🥇
No problems, I should add a better description in the Readme anyway :) Feel free to reopen this if you need!
Hello again,
By testing a bit more, I see that although I can indeed get transactions by date, I still only get the 20 last transactions of the time period, not all the transactions.
@ColinMaudry interesting! I will reopen this then and take a look at it as soon as I can :) Thanks for reporting it!
@ColinMaudry the new version I just released allows you to specify the number of transactions you want to see. Unfortunately I was not able to find a way to show you all of them but you can specify a big number and you should see them. If I come across with a better solution, I will be sure to implement it :)
NAME:
n26 transactions - list your past transactions. Supports CSV output
USAGE:
n26 transactions [command options] [csv|json|table]
OPTIONS:
--limit value retrieve last N transactions. Default to 10.
--from value retrieve transactions from this date. Also 'to' flag needs to be set. Calendar date in the format yyyy-mm-dd. E.g. 2018-03-01
--to value retrieve transactions until this date. Also 'from' flag needs to be set. Calendar date in the format yyyy-mm-dd. E.g. 2018-03-31
You want to use the --limit
flag here.