-
Notifications
You must be signed in to change notification settings - Fork 474
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
Change queryCollection request payload and response parsing #352
Conversation
Did not seem to fix it for me, or am i doing it wrong? merging it like this and it fails at
|
Thanks, it worked for my table view! |
The issue is that the request payload for queryCollection endpoint changed and it looks like it has different structure depending on the type of collection you are trying to get rows from. Below is an example from the collection that I am getting using my scripts:
I will take a look later and try to make it work for other types, but it might be hard. @pavelapekhtin Could you try to run |
@wsykala same story unfortunately tried it also outside for loop too |
It also worked in my board view! |
Thanks, works for me as well! |
Might fix some of the issues mentioned in #351 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good and confirm it fixes the issue!
Working for me! Would be great if it could be merged |
When will it be merged ? It is quite annoying to have buggy notion-py out of the box .. |
+1, can you please merge these changes @wsykala given now the PR has been approved as well by both reviewers? |
@ashutoshsaboo I would love to do it but I don't have write access to the main repository so I can't merge it |
cc'ing repo owner, @jamalex could you please help get this PR merged? notion-py seems to be broken rn without this fix.. |
Is there a timeline for when this will be merged in? |
Change queryCollection request payload and response parsing - jamalex/pull/352
Updated to address #365 (comment) |
Hi, under this case how can we use filters in |
Now I can only do the filtering via the "integration" method suggested by the notion official API. The v2 token doesn't work for this method even after formatting the filter properly and embedding it into the store.py's |
encoding errors happen when it open README file
Thanks all, and sorry that I haven't been able to attend to this project due to capacity. Trying to get some of the key PRs like this merged in now to get the base version functional again. |
#350
This change works for table views, but it might not work for other types (for example board view).