Skip to content

Commit 42bfa08

Browse files
Add Blocks api in NotionClient
1 parent 228d91f commit 42bfa08

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

Src/Notion.Client/NotionClient.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ public interface INotionClient
66
IDatabasesClient Databases { get; }
77
IPagesClient Pages { get; }
88
ISearchClient Search { get; }
9+
IBlocksClient Blocks { get; }
910
}
1011

1112
public class NotionClient : INotionClient
@@ -17,11 +18,13 @@ public NotionClient(ClientOptions options)
1718
Databases = new DatabasesClient(restClient);
1819
Pages = new PagesClient(restClient);
1920
Search = new SearchClient(restClient);
21+
Blocks = new BlocksClient(restClient);
2022
}
2123

2224
public IUsersClient Users { get; }
2325
public IDatabasesClient Databases { get; }
2426
public IPagesClient Pages { get; }
2527
public ISearchClient Search { get; }
28+
public IBlocksClient Blocks { get; }
2629
}
2730
}

0 commit comments

Comments
 (0)