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

Start moving to {httr2} #18

Open
wants to merge 8 commits into
base: main
Choose a base branch
from
Open

Conversation

statnmap
Copy link

Package {httr} is not maintained any more. We now need to use {httr2} in replacement.
This requires many changes in your package.

In this PR, I start with one function changed: getNotionDatabase()
The syntax required some adjustments.

I let you decide if you want to include these changes now.
At some point, if you want to continue the integration of httr2, it may be good to add some unit tests applied on an example Notion Workspace created for the purpose.

Important note : If you accept this PR, there is no need to accept my other PR #17 , as the present one includes changes of the other. You can also accept them one at a time, there should not be conflicts.

- Using attachment::att_amend_desc()
- auto check on GitHub Actions
- auto pkgdown website on GitHub (Eflores89#16)
httr is not maintained anymore

- This commit changes getNotionDatabase() to use httr2

Note that I cannot send a query with a NULL inside, hence the trick with page_size to always get a non empty list in "data"
- For better follow-up on installations
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 this pull request may close these issues.

None yet

1 participant