tests/testthat/_snaps/print.md

notion_response prints prettily

Code
  print(users)
Output
  {
    "object": "list",
    "results": [
      {
        "object": "user",
        "id": "fda12729-108d-4eb5-bbfb-a8f0886794d1",
        "name": "Brenwin",
        "avatar_url": {},
        "type": "person",
        "person": {}
      },
      {
        "object": "user",
        "id": "6b786605-e456-4237-9c61-5efaff23c081",
        "name": "brenwin-internal",
        "avatar_url": {},
        "type": "bot",
        "bot": {
          "owner": {
            "type": "workspace",
            "workspace": true
          },
          "workspace_name": "Brenwin's Notion",
          "workspace_id": "8c95f187-450c-4f67-a013-54f17e298330",
          "workspace_limits": {
            "max_file_upload_size_in_bytes": 5368709120
          }
        }
      }
    ],
    "next_cursor": {},
    "has_more": false,
    "type": "user",
    "user": {},
    "request_id": "51455bfd-248a-473d-9934-61a0e620adcd"
  }


Try the notionapi package in your browser

Any scripts or data that you put into this service are public.

notionapi documentation built on April 13, 2026, 9:07 a.m.