YooniK.Services.Client
1.0.1
See the version list below for details.
dotnet add package YooniK.Services.Client --version 1.0.1
NuGet\Install-Package YooniK.Services.Client -Version 1.0.1
<PackageReference Include="YooniK.Services.Client" Version="1.0.1" />
paket add YooniK.Services.Client --version 1.0.1
#r "nuget: YooniK.Services.Client, 1.0.1"
// Install YooniK.Services.Client as a Cake Addin #addin nuget:?package=YooniK.Services.Client&version=1.0.1 // Install YooniK.Services.Client as a Cake Tool #tool nuget:?package=YooniK.Services.Client&version=1.0.1
YooniK Services Client DotNet SDK
This repository contains the Services Client for an easier communication experience when using YooniK APIs SDKs, an YooniK Services offering.
For more information please contact us.
Example
Use it:
// Example data
string apiBaseUrl = "YOUR-API-ENDPOINT";
string apiSubscriptionKey = "YOUR-X-API-KEY-ENDPOINT";
// instantiate an IConnectionInformation with the above information
var apiConnectionInformation = new ConnectionInformation(apiBaseUrl, apiSubscriptionKey);
// instantiate an IServiceClient and pass the IConnectionInformation
var apiClient = new ServiceClient(apiConnectionInformation);
/*
To use the Request methods its needed an IRequestMessage instantiated object.
Its required to specified the HttpMethod parameter.
This allows for a custom HTTP request creation, from custom headers, query string, URL relative path, and an IRequest object.
*/
var requestMessage = new RequestMessage(System.Net.Http.HttpMethod.Get);
// !!! NOTE Response Content in string, use the following
await apiClient.RequestAsync(requestMessage);
// Response Content in an deserializable object use
await apiClient.RequestAsync<DeserializableObjectType>(requestMessage);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. 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 was computed. 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. |
-
net5.0
- Microsoft.Extensions.Http (>= 5.0.0)
- Newtonsoft.Json (>= 13.0.1)
- Polly (>= 7.2.2)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on YooniK.Services.Client:
Package | Downloads |
---|---|
YooniK.Face.Client
An integration SDK that communicates with the YooniK Face API. With all of its endpoints covered and abstracted to provide an smooth experience. |
|
YooniK.BiometricInThings.Client
An integration SDK that communicates with the YooniK Biometric In Things API. With all of its endpoints covered and abstracted to provide an smooth experience. |
GitHub repositories
This package is not used by any popular GitHub repositories.