Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More transactions? #11

Closed
ColinMaudry opened this issue Sep 7, 2018 · 6 comments · Fixed by #12
Closed

More transactions? #11

ColinMaudry opened this issue Sep 7, 2018 · 6 comments · Fixed by #12

Comments

@ColinMaudry
Copy link

ColinMaudry commented Sep 7, 2018

Hello,

Is it possible to get all transactions and not only the last 20? Or filtering by date?

Thanks for this great initiative 👍

@guitmz
Copy link
Owner

guitmz commented Sep 7, 2018

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? :)

@ColinMaudry
Copy link
Author

Great, I hadn't seen I could get help for subcommands.

Thanks 🥇

@guitmz
Copy link
Owner

guitmz commented Sep 7, 2018

No problems, I should add a better description in the Readme anyway :) Feel free to reopen this if you need!

@guitmz guitmz closed this as completed Sep 7, 2018
@ColinMaudry
Copy link
Author

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.

@guitmz
Copy link
Owner

guitmz commented Sep 7, 2018

@ColinMaudry interesting! I will reopen this then and take a look at it as soon as I can :) Thanks for reporting it!

@guitmz
Copy link
Owner

guitmz commented Sep 9, 2018

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants