Soenneker.PostHog.OpenApiClient
4.0.61
Prefix Reserved
dotnet add package Soenneker.PostHog.OpenApiClient --version 4.0.61
NuGet\Install-Package Soenneker.PostHog.OpenApiClient -Version 4.0.61
<PackageReference Include="Soenneker.PostHog.OpenApiClient" Version="4.0.61" />
<PackageVersion Include="Soenneker.PostHog.OpenApiClient" Version="4.0.61" />
<PackageReference Include="Soenneker.PostHog.OpenApiClient" />
paket add Soenneker.PostHog.OpenApiClient --version 4.0.61
#r "nuget: Soenneker.PostHog.OpenApiClient, 4.0.61"
#:package Soenneker.PostHog.OpenApiClient@4.0.61
#addin nuget:?package=Soenneker.PostHog.OpenApiClient&version=4.0.61
#tool nuget:?package=Soenneker.PostHog.OpenApiClient&version=4.0.61
Soenneker.PostHog.OpenApiClient
Generated request builders and models for PostHog organizations, projects, insights, feature flags, experiments, dashboards, cohorts, recordings, surveys, data pipelines, and more.
Installation
dotnet add package Soenneker.PostHog.OpenApiClient
Usage
using System.Net.Http.Headers;
using Microsoft.Kiota.Abstractions.Authentication;
using Microsoft.Kiota.Http.HttpClientLibrary;
using Soenneker.PostHog.OpenApiClient;
using var httpClient = new HttpClient();
httpClient.DefaultRequestHeaders.Authorization =
new AuthenticationHeaderValue("Bearer", personalApiKey);
var adapter = new HttpClientRequestAdapter(
new AnonymousAuthenticationProvider(),
httpClient: httpClient)
{
BaseUrl = "https://us.posthog.com"
};
var client = new PostHogOpenApiClient(adapter);
var organizations = await client.Api.Organizations.GetAsync(
cancellationToken: cancellationToken);
Set BaseUrl to the account's regional PostHog host or self-hosted root URL. Management endpoints use a scoped personal API key; PostHog project keys intended for event ingestion do not authorize these requests.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Microsoft.Kiota.Http.HttpClientLibrary (>= 2.1.2)
- Microsoft.Kiota.Serialization.Form (>= 2.1.2)
- Microsoft.Kiota.Serialization.Json (>= 2.1.2)
- Microsoft.Kiota.Serialization.Multipart (>= 2.1.2)
- Microsoft.Kiota.Serialization.Text (>= 2.1.2)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on Soenneker.PostHog.OpenApiClient:
| Package | Downloads |
|---|---|
|
Soenneker.PostHog.OpenApiClientUtil
Provides a cached, configured client for PostHog's management API. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 4.0.61 | 0 | 9/15/2026 |
| 4.0.60 | 0 | 9/15/2026 |
| 4.0.59 | 46 | 9/14/2026 |
| 4.0.58 | 58 | 9/13/2026 |
| 4.0.57 | 99 | 9/12/2026 |
| 4.0.56 | 54 | 9/12/2026 |
| 4.0.55 | 72 | 9/11/2026 |
| 4.0.54 | 72 | 9/10/2026 |
| 4.0.53 | 142 | 9/8/2026 |
| 4.0.52 | 213 | 9/4/2026 |
| 4.0.51 | 168 | 9/3/2026 |
| 4.0.50 | 95 | 9/3/2026 |
| 4.0.49 | 181 | 8/31/2026 |
| 4.0.48 | 349 | 8/15/2026 |
| 4.0.47 | 113 | 8/14/2026 |
| 4.0.46 | 404 | 7/27/2026 |
| 4.0.45 | 287 | 7/16/2026 |
| 4.0.44 | 434 | 6/19/2026 |
| 4.0.43 | 416 | 6/5/2026 |
| 4.0.42 | 197 | 5/31/2026 |