https://github.com/cryptoc1/tmetric.net
WIP: Unofficial .NET wrapper of the TMetric REST APIs.
https://github.com/cryptoc1/tmetric.net
dotnet tmetric
Last synced: about 1 month ago
JSON representation
WIP: Unofficial .NET wrapper of the TMetric REST APIs.
- Host: GitHub
- URL: https://github.com/cryptoc1/tmetric.net
- Owner: Cryptoc1
- License: mit
- Created: 2022-06-23T05:04:37.000Z (almost 4 years ago)
- Default Branch: develop
- Last Pushed: 2024-11-18T11:39:00.000Z (over 1 year ago)
- Last Synced: 2025-01-27T06:30:37.618Z (over 1 year ago)
- Topics: dotnet, tmetric
- Language: C#
- Homepage:
- Size: 149 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
TMetric.NET
*Unofficial .NET wrapper of the TMetric REST APIs.*

[](https://libraries.io/nuget/TMetric.NET)
[](https://github.com/Cryptoc1/tmetric.net/actions/workflows/default.yml)
[](https://app.codecov.io/gh/Cryptoc1/tmetric.net/)
[](https://www.nuget.org/packages/TMetric.NET)
## Basic Usage
```csharp
var services = new ServiceCollection()
.AddTMetric( options => options.ApiKey = "..." )
.BuildServiceProvider();
var tmetric = services.GetService();
int clientId = ...;
var client = await tmetric.V2.Clients.Get( clientId );
Console.WriteLine( $"Client: {client.ClientName} {client.ClientId}" );
```