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

The --count argument is limited to 30 items max #24

Open
AlfredJKwack opened this issue Nov 6, 2024 · 0 comments · May be fixed by #25
Open

The --count argument is limited to 30 items max #24

AlfredJKwack opened this issue Nov 6, 2024 · 0 comments · May be fixed by #25

Comments

@AlfredJKwack
Copy link

The V3 API of pocket states that retrieved results are paginated.

The maximum page size limit is 30 results. In order to retrieve more, you must paginate the result set.

The codebase does not deal with this situation and hence the --count argument fails when:

  • count > 30
  • count = -1

In both cases the result set will be limited to 30 items or less. What should happen is as stated in the pockyt documentation:

number of items : : {-1: all, [n: amount]}

@AlfredJKwack AlfredJKwack linked a pull request Nov 6, 2024 that will close this issue
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.

1 participant