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

No way to go through pages of recordings #25

Open
barrettab opened this issue Jun 30, 2022 · 0 comments
Open

No way to go through pages of recordings #25

barrettab opened this issue Jun 30, 2022 · 0 comments
Assignees

Comments

@barrettab
Copy link

I was using some of the sample direct session code provided as I am trying to find a way to get different pages since the you only get 15 back at a time and the api docs mention its a paginated list.

url = bc3.urls.todos.list(sort='updated_at' , kwargs="page=2")
response = url.request(bc3.session)
response.json()

Which created close to the url that I think it should be based on the API docs. It builds this ULR: "https://3.basecampapi.com/{ID}/projects/recordings.json?type=Todo&status=active&sort=updated_at&direction=desc&kwargs=page%3D1" which does work to return a valid response but always page 1.

@phistrom phistrom self-assigned this Oct 14, 2022
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

No branches or pull requests

2 participants