ConcreteGo.Api.Client
1.2.0
dotnet add package ConcreteGo.Api.Client --version 1.2.0
NuGet\Install-Package ConcreteGo.Api.Client -Version 1.2.0
<PackageReference Include="ConcreteGo.Api.Client" Version="1.2.0" />
<PackageVersion Include="ConcreteGo.Api.Client" Version="1.2.0" />
<PackageReference Include="ConcreteGo.Api.Client" />
paket add ConcreteGo.Api.Client --version 1.2.0
#r "nuget: ConcreteGo.Api.Client, 1.2.0"
#:package ConcreteGo.Api.Client@1.2.0
#addin nuget:?package=ConcreteGo.Api.Client&version=1.2.0
#tool nuget:?package=ConcreteGo.Api.Client&version=1.2.0
Add to program.cs
builder.Services.AddConcreteGoApiClient(builder.Configuration);
Add to appsettings.json
"ConcreteGoApi": { "Username": "user@domain.com.au", "Password": "password", "AppId": "appId", "AppKey": "appkey", "Slug": "slug" }
Replace the values with your ConcreteGo credentials.
use DI to get an instance of the client
public class MyService { private readonly IConcreteGoApiClient _concreteGoApiClient; public MyService(IConcreteGoApiClient concreteGoApiClient) { _concreteGoApiClient = concreteGoApiClient; }
public async Task SomeMethodAsync()
{
var tickets = await _concreteGoApiClient.GetTicketsAsync(options =>
{
options.FromOrderDate = ReportStart.AddDays(-1);
options.ToOrderDate = ReportEnd.AddDays(1);
options.IncludeRemovedTicket = true;
});
}
}
| 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.Extensions.Configuration (>= 10.0.7)
- Microsoft.Extensions.DependencyInjection (>= 10.0.7)
- Microsoft.Extensions.Options (>= 10.0.7)
- Microsoft.Extensions.Options.ConfigurationExtensions (>= 10.0.7)
- System.Security.Cryptography.Xml (>= 10.0.7)
- System.ServiceModel.Duplex (>= 6.0.0)
- System.ServiceModel.Http (>= 10.0.652802)
- System.ServiceModel.NetTcp (>= 10.0.652802)
- System.ServiceModel.Security (>= 6.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.