GlobalLink.Connect.RestClient 3.1.2

dotnet add package GlobalLink.Connect.RestClient --version 3.1.2                
NuGet\Install-Package GlobalLink.Connect.RestClient -Version 3.1.2                
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="GlobalLink.Connect.RestClient" Version="3.1.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add GlobalLink.Connect.RestClient --version 3.1.2                
#r "nuget: GlobalLink.Connect.RestClient, 3.1.2"                
#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 GlobalLink.Connect.RestClient as a Cake Addin
#addin nuget:?package=GlobalLink.Connect.RestClient&version=3.1.2

// Install GlobalLink.Connect.RestClient as a Cake Tool
#tool nuget:?package=GlobalLink.Connect.RestClient&version=3.1.2                

GlobalLink Connect RestClient is a SDK to connect your system to GlobalLink GCC server's API.

Creating the GCC API client Object


Creating the GCC API client is done via the GCExchange class. First, you must provide your GCC api-key and GCC instance URL. This is done via the GCConfig class. Once you instantiate a GCConfig object using GCConfig.CreateGCConfigWithApiKey(), with all the necessary arguments, pass that object to the GCExchange() constructor.


    GCConfig config = GCConfig.CreateGCConfigWithApiKey(
            "https://gcc-instance-url.com", 
            "api-key",
            "connector-key", 
            "user-agent"
            );

    GCExchange api = new GCExchange(config);

The client will automatically connect to GCC and validate connection.

Optionally you can create GCConfig with username/password. But in this case GCExchange will be connecting to api/v2 which is obsolete.


    GCConfig config = new GCConfig(
            "https://gcc-instance-url.com", 
            "username",
            "password",
            "connector-key", 
            "user-agent"
            );

    GCExchange api = new GCExchange(config);

GCC API


More information about GCC REST API can be found here

Product Compatible and additional computed target framework versions.
.NET Framework net46 is compatible.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
3.1.2 1,075 4/24/2023
3.1.1 12,292 9/16/2021