{"id":31565764,"url":"https://github.com/correlaid/c11-notion-api-r","last_synced_at":"2025-10-05T07:17:29.391Z","repository":{"id":58999040,"uuid":"534921357","full_name":"CorrelAid/c11-notion-api-r","owner":"CorrelAid","description":null,"archived":false,"fork":false,"pushed_at":"2022-09-11T07:51:54.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2023-07-14T12:27:31.752Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"R","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/CorrelAid.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-09-10T07:09:39.000Z","updated_at":"2023-07-14T12:27:31.753Z","dependencies_parsed_at":"2022-09-14T22:23:05.588Z","dependency_job_id":null,"html_url":"https://github.com/CorrelAid/c11-notion-api-r","commit_stats":null,"previous_names":[],"tags_count":0,"template":null,"template_full_name":null,"purl":"pkg:github/CorrelAid/c11-notion-api-r","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorrelAid%2Fc11-notion-api-r","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorrelAid%2Fc11-notion-api-r/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorrelAid%2Fc11-notion-api-r/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorrelAid%2Fc11-notion-api-r/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/CorrelAid","download_url":"https://codeload.github.com/CorrelAid/c11-notion-api-r/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/CorrelAid%2Fc11-notion-api-r/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278421863,"owners_count":25984081,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-05T02:00:06.059Z","response_time":54,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-05T07:17:24.285Z","updated_at":"2025-10-05T07:17:29.377Z","avatar_url":"https://github.com/CorrelAid.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"Track 3 | Challenge: Notion Wrapper for R\n================\n\n\n# Setup\n\n## Dependencies\n\ninstall `renv`:\n\n```\ninstall.packages(\"renv\")\n```\n\n### Install/update dependencies\n```\nrenv::restore()\n```\n\n### Adding new dependencies\n1. install package as usual (with `install.packages`)\n2. run `renv::snapshot()`\n3. commit and push the updated `renv.lock`\n\n## Notion\nFirst of all, you also need a Notion workspace and have to be the admin of it. Therefore, just create a Notion account and a workspace [here](notion.so/). Having done that, you can create an access token via creating an integration [here](https://www.notion.com/my-integrations). You can find a very detailed information on how to get started with Notion integrations [here](https://developers.notion.com/docs/getting-started) as well. \n\n\n# Current functions/implementation\n- `get_api_path()`: pass a notion url to the function to get the url path which has to be passed to query the API\n- `NotionClient`: object-oriented approach to set up a Notion client to get the content and information from Notion for the url which was returned by get_api_path()\n\n# TO DOs\n- [ ] parse function for each data type\n  - [ ] pages\n  - [ ] blocks: headings etc.\n  - [ ] databases: does not work with the NotionClient yet\n- [ ] check nesting options\n- [ ] edge cases for get_api_path()\n- [ ] plain text vs formatted text\n- [ ] post requests to add content R -\u003e Notion\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorrelaid%2Fc11-notion-api-r","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcorrelaid%2Fc11-notion-api-r","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcorrelaid%2Fc11-notion-api-r/lists"}