YooniK.Services.Client 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package YooniK.Services.Client --version 1.0.0                
NuGet\Install-Package YooniK.Services.Client -Version 1.0.0                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="YooniK.Services.Client" Version="1.0.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add YooniK.Services.Client --version 1.0.0                
#r "nuget: YooniK.Services.Client, 1.0.0"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install YooniK.Services.Client as a Cake Addin
#addin nuget:?package=YooniK.Services.Client&version=1.0.0

// Install YooniK.Services.Client as a Cake Tool
#tool nuget:?package=YooniK.Services.Client&version=1.0.0                

YooniK Services Client DotNet SDK

License

This package 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
IConnectionInformation apiConnectionInformation = new ConnectionInformation(apiBaseUrl, apiSubscriptionKey);

// instantiate an IServiceClient and pass the IConnectionInformation
IServiceClient 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.  
*/
IRequestMessage 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 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

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.

Version Downloads Last updated
1.0.2 655 11/22/2021
1.0.1 1,170 10/8/2021
1.0.0 582 9/22/2021