{"repo":"notion-dotnet/notion-sdk-net","free":true,"listed":false,"github":"https://github.com/notion-dotnet/notion-sdk-net","clone":"git clone https://github.com/notion-dotnet/notion-sdk-net.git","description":"A Notion SDK for .Net","language":"C#","stars":218,"topics":["notion","sdk","dotnet","csharp","api-client","notion-dotnet","notion-api","api","hacktoberfest","hacktoberfest2025"],"license":"MIT","category":"api-integrations-sdks","readme_excerpt":"Notion SDK for .Net A simple and easy to use client for the Notion API Provides the following packages: Package Downloads Nuget --- --- --- Notion.Net Installation .Net CLI Note: Default Notion-Version used by NuGet package versions Package version Notion-Version --- --- 6.0.0+ 2026-03-11 5.0.0+ 2025-09-03 4.4.0+ 2022-06-28 4.0.0+ 2022-06-28 3.0.0+ 2022-02-22 2.0.0+ 2021-08-16 1.0.0+ 2021-05-13 Usage Before getting started, you need to create an integration and find the token. You can learn more about authorization here. Import and initialize the client using the integration token created above. Make A request to any Endpoint. For example you can call below to fetch the paginated list of users. Dependency Injection The library provides an extension method to register INotionClient with Microsoft dependency injection. It uses IHttpClientFactory internally, which correctly manages HttpClientHandler lifetimes to prevent stale DNS and socket exhaustion in long-running applications. Then inject INotionClient into your services: Providing your own HttpClient For console apps or non-DI scenarios where you manage a long-lived singleton HttpClient : Retry Policy The library ships with an opt-in exponential-backoff retry policy. When enabled it automatically retries on HTTP 429 (rate limited) for all methods, and on HTTP 500/503 for idempotent methods (GET, DELETE). The Retry-After response header is honoured for rate-limited responses. Works with DI too: Custom retry policy Implement ","default_branch":null,"files":null,"tree":[],"storefront":"/r/notion-dotnet","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/notion-dotnet/notion-sdk-net/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}