PostHog 1.0.0-beta.11
Prefix Reserveddotnet add package PostHog --version 1.0.0-beta.11
NuGet\Install-Package PostHog -Version 1.0.0-beta.11
<PackageReference Include="PostHog" Version="1.0.0-beta.11" />
paket add PostHog --version 1.0.0-beta.11
#r "nuget: PostHog, 1.0.0-beta.11"
// Install PostHog as a Cake Addin #addin nuget:?package=PostHog&version=1.0.0-beta.11&prerelease // Install PostHog as a Cake Tool #tool nuget:?package=PostHog&version=1.0.0-beta.11&prerelease
PostHog .NET SDK
This is a client SDK for the PostHog API written in C#. This is the core implementation of PostHog.
[!WARNING]
This package is currently in a pre-release stage. We're making it available publicly to solicit feedback. While we always strive to maintain a high level of quality, use this package at your own risk. There will be many breaking changes until we reach a stable release.
Goals
The goal of this package is to be usable in multiple .NET environments. At this moment, we are far short of that goal. We only support ASP.NET Core via PostHog.AspNetCore.
Docs
More detailed docs for using this library can be found at PostHog Docs for the .NET Client SDK.
Usage
To use this package, you need to create an instance of PostHogClient
and call the appropriate methods. Here's an example:
using PostHog;
var client = new PostHogClient(new PostHogOptions { ProjectApiKey = "YOUR_PROJECT_API_KEY" });
client.Capture("user-123", "Test Event");
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. net5.0-windows was computed. net6.0 was computed. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. |
.NET Core | netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.1 is compatible. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.1
- Microsoft.Bcl.TimeProvider (>= 9.0.1)
- Microsoft.Extensions.Caching.Memory (>= 9.0.1)
- Microsoft.Extensions.Configuration.Binder (>= 9.0.1)
- Microsoft.Extensions.Http (>= 9.0.1)
- Microsoft.Extensions.Logging (>= 9.0.1)
- System.Net.Http.Json (>= 9.0.1)
- System.Text.Json (>= 9.0.1)
- System.Threading.Channels (>= 9.0.1)
-
net8.0
- Microsoft.Extensions.Caching.Memory (>= 9.0.1)
- Microsoft.Extensions.Http (>= 9.0.1)
- Microsoft.Extensions.Logging (>= 9.0.1)
- System.Text.Json (>= 9.0.1)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on PostHog:
Package | Downloads |
---|---|
PostHog.AspNetCore
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0-beta.11 | 361 | 2/17/2025 |
1.0.0-beta.10 | 358 | 2/15/2025 |
1.0.0-beta.9 | 49 | 2/14/2025 |
1.0.0-beta.8 | 93 | 2/14/2025 |
1.0.0-beta.7 | 273 | 2/14/2025 |
1.0.0-beta.6 | 41 | 2/13/2025 |
1.0.0-beta.5 | 662 | 2/11/2025 |
1.0.0-beta.4 | 58 | 2/10/2025 |
1.0.0-beta.3 | 586 | 2/6/2025 |
1.0.0-beta.2 | 28 | 2/6/2025 |
1.0.0-beta | 56 | 2/5/2025 |
1.0.0-alpha.2 | 46 | 2/3/2025 |
1.0.0-alpha | 62 | 2/2/2025 |