thoughtspot.rest.api.sdk 1.8.0

There is a newer version of this package available.
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                
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="thoughtspot.rest.api.sdk" Version="1.8.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add thoughtspot.rest.api.sdk --version 1.8.0                
#r "nuget: thoughtspot.rest.api.sdk, 1.8.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 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

API Reference

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 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. 
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.