thoughtspot.rest.api.sdk
1.8.0
See the version list below for details.
dotnet add package thoughtspot.rest.api.sdk --version 1.8.0
NuGet\Install-Package thoughtspot.rest.api.sdk -Version 1.8.0
<PackageReference Include="thoughtspot.rest.api.sdk" Version="1.8.0" />
paket add thoughtspot.rest.api.sdk --version 1.8.0
#r "nuget: thoughtspot.rest.api.sdk, 1.8.0"
// Install thoughtspot.rest.api.sdk as a Cake Addin #addin nuget:?package=thoughtspot.rest.api.sdk&version=1.8.0 // Install thoughtspot.rest.api.sdk as a Cake Tool #tool nuget:?package=thoughtspot.rest.api.sdk&version=1.8.0
Getting Started with RESTAPI SDK
Install the Rest API SDK
The latest version of .NET SDK is available in nuget package manager - https://www.nuget.org/packages/thoughtspot.rest.api.sdk.
To install the SDK, run the following command at the command line:
dotnet add package thoughtspot.rest.api.sdk
For projects that support PackageReference, add below XML node into the project file to reference the package.
<PackageReference Include="thoughtspot.rest.api.sdk" />
Initialize the API Client
Note: Documentation for the client can be found here.
The following parameters are configurable for the API Client:
Parameter | Type | Description |
---|---|---|
ContentType |
string |
body content type for post request<br>Default: "application/json" |
AcceptLanguage |
string |
response format<br>Default: "application/json" |
BaseUrl |
string |
Default: "https://localhost:443" |
Environment |
Environment | The API environment. <br> Default: Environment.Production |
Timeout |
TimeSpan |
Http client timeout.<br>Default: TimeSpan.FromSeconds(100) |
AccessToken |
string |
The OAuth 2.0 Access Token to use for API requests. |
The API client can be initialized as follows:
RESTAPISDK.Standard.RESTAPISDKClient client = new RESTAPISDK.Standard.RESTAPISDKClient.Builder()
.AccessToken("AccessToken")
.ContentType(GetEnvironmentVariable("application/json"))
.AcceptLanguage(GetEnvironmentVariable("application/json"))
.Environment(RESTAPISDK.Standard.Environment.Production)
.BaseUrl("https://localhost:443")
.HttpClientConfig(config => config.NumberOfRetries(0))
.Build();
Authorization
This API uses OAuth 2 Bearer token
.
Guide
Live Playground
We recommend that you browse through the code playground before you start constructing your API requests. The playground offers an interactive portal with comprehensive information about the API endpoints, request and response workflows.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 was computed. 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. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 was computed. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETStandard 2.0
- Microsoft.CSharp (>= 4.7.0)
- Newtonsoft.Json (>= 11.0.2)
- Polly (>= 7.2.1)
- System.Collections.Immutable (>= 1.5.0)
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 | |
---|---|---|---|
1.11.0-beta.1 | 193 | 4/28/2022 | |
1.10.0-beta.2 | 164 | 4/28/2022 | |
1.10.0-beta.1 | 163 | 3/29/2022 | |
1.9.0 | 536 | 4/8/2022 | |
1.9.0-beta.1 | 157 | 3/23/2022 | |
1.8.0 | 463 | 3/11/2022 |