Notion

0.11.0

Module for interaction with Notion based on classes

Minimum PowerShell version

7.0

Installation Options

Copy and Paste the following command to install this package using PowerShellGet More Info

Install-Module -Name Notion

Copy and Paste the following command to install this package using Microsoft.PowerShell.PSResourceGet More Info

Install-PSResource -Name Notion

You can deploy this package directly to Azure Automation. Note that deploying packages with dependencies will deploy all the dependencies to Azure Automation. Learn More

Manually download the .nupkg file to your system's default download location. Note that the file won't be unpacked, and won't include any dependencies. Learn More

Owners

Copyright

(c) Thomas Subotitsch, Fabian Franz Steiner. All rights reserved.

Package Details

Author(s)

  • Thomas Subotitsch Fabian Franz Steiner

Tags

Notion API Classes

Functions

New-NotionRichText New-NotionRichTextAnnotation New-NotionBookmarkBlock New-NotionBreadcrumbBlock New-NotionBulletedListItemBlock New-NotionCalloutBlock New-NotionChildPageBlock New-NotionChildDatabaseBlock New-NotionCodeBlock New-NotionColumnBlock New-NotionColumnListBlock New-NotionDividerBlock New-NotionEmbedBlock New-NotionEquationBlock New-NotionFileBlock Add-NotionHeaderToBlock New-NotionHeadingBlock New-NotionImageBlock New-NotionLinkPreviewBlock New-NotionNumberedListItemBlock New-NotionParagraphBlock New-NotionPdfBlock New-NotionQuoteBlock New-NotionSyncedBlock New-NotionTableBlock New-NotionTableOfContentsBlock New-NotionTableRowBlock New-NotionToDoBlock New-NotionToggleBlock New-NotionVideoBlock Add-NotionBlockToPage Get-NotionBlock Get-NotionBlockChildren New-NotionBlock Remove-NotionBlock Update-NotionBlock Add-NotionDatabaseProperty New-NotionDatabaseProperty Remove-NotionDatabaseProperty Add-NotionPageToDatabase Edit-NotionDatabase Get-NotionDatabase Move-NotionDatabaseToArchive New-NotionDatabase Remove-NotionDatabase Restore-NotionDatabase New-NotionEmoji New-NotionFile Get-NotionPageProperty Update-NotionPageProperty Get-NotionPage Get-NotionPageChildren Move-NotionPageToArchive New-NotionPage Remove-NotionPage Restore-NotionPage New-NotionParent Get-NotionUser Connect-Notion ConvertTo-NotionObject Disconnect-Notion Invoke-NotionApiCall zz1_Type_Accelerator zz2_Type_Accelerator

Dependencies

This module has no dependencies.

Release Notes

## [0.11.0] - 2025-07-01

### Added

- **`source/Public/Block/Pdf/New-NotionPdfBlock.ps1`**
 - Implemented `New-NotionPdfBlock` to generate a Notion PDF block from provided caption and URL.

- **`source/Public/Block/Video/New-NotionVideoBlock.ps1`**
 - Implemented `New-NotionVideoBlock` to create a Notion video block with specified input.

- **`tests/Unit/Public/Block/New-NotionPdfBlock.Tests.ps1`**
 - Added unit tests for `New-NotionPdfBlock`, validating block construction from caption and URL.

- **`tests/Unit/Public/Block/New-NotionVideoBlock.Tests.ps1`**
 - Added unit tests for `New-NotionVideoBlock`, covering basic functionality and input validation.

### Fixed

- **`/workspaces/Notion/source/Classes/Block/27.99_Table.ps1`**
 - Fixed `[Table_structure]::ConvertFromObject()`

### Removed

- Removed unimplemented placeholder versions of these functions from the `Cmds` folder after relocating and implementing them.
 - **`source/Public/Block/Cmds/Pdf/New-NotionPdfBlock.ps1`**
 - **`source/Public/Block/Cmds/Video/New-NotionVideoBlock.ps1`**

FileList

Version History

Version Downloads Last updated
0.11.0 (current version) 2 7/1/2025
0.10.0 4 6/27/2025
0.9.0-previe... 3 6/24/2025
0.9.0-previe... 3 6/24/2025
0.8.0 11 6/23/2025
0.7.0 5 6/19/2025
0.6.0 5 6/16/2025
0.5.0 5 6/14/2025
0.5.0-previe... 3 6/14/2025
0.4.0 4 6/14/2025
0.4.0-previe... 3 6/4/2025
0.4.0-previe... 3 5/29/2025
0.4.0-previe... 3 5/29/2025
0.3.0 8 5/18/2025
0.2.0 5 5/18/2025
0.2.0-previe... 3 5/2/2025
0.2.0-previe... 3 3/24/2025
0.2.0-previe... 3 3/24/2025
0.2.0-previe... 3 3/24/2025
0.2.0-previe... 3 3/2/2025
0.2.0-previe... 3 3/2/2025
0.2.0-previe... 3 2/22/2025
0.2.0-previe... 3 2/22/2025
Show more