Skip to content

Latest commit

 

History

History
46 lines (29 loc) · 2.19 KB

File metadata and controls

46 lines (29 loc) · 2.19 KB

Analysis

Overview

Available Operations

Sentiment

Sentiment Analysis, 50 credits per call.

Example Usage

using XapiScraper;
using XapiScraper.Models.Components;

var sdk = new XapiScraperSDK(bearerAuth: "<YOUR_BEARER_TOKEN_HERE>");

SentimentAnalysisQuery req = new SentimentAnalysisQuery() {
    Text = "<value>",
};

var res = await sdk.Analysis.SentimentAsync(req);

// handle response

Parameters

Parameter Type Required Description
request SentimentAnalysisQuery ✔️ The request object to use for the request.

Response

AnalysisSentimentResponse

Errors

Error Type Status Code Content Type
XapiScraper.Models.Errors.HTTPValidationError 422 application/json
XapiScraper.Models.Errors.APIException 4XX, 5XX */*