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
<PackageReference Include="GlobalLink.Connect.RestClient" Version="3.1.2" />
paket add GlobalLink.Connect.RestClient --version 3.1.2
#r "nuget: GlobalLink.Connect.RestClient, 3.1.2"
// 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 SDK for GlobalLink GCC
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 | Versions 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. |
-
.NETFramework 4.6
- Newtonsoft.Json (>= 9.0.0 && < 15.0.0)
- RestSharp (>= 106.0.0 && < 107.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.