All URIs are relative to https://brainrexapi.appspot.com:5000/api
| Method | HTTP request | Description |
|---|---|---|
| SentimentGetPriceSentiment | POST /get_buy_sentiment | Sentiment analysis score using a model trained for buy signals. |
| SentimentGetSentiment | POST /get_sentiment | Sentiment analysis for any given blob of text |
string SentimentGetPriceSentiment (Text1 text)
Sentiment analysis score using a model trained for buy signals.
Gives a 0 to 1 score, depending on buy/sell sentiment
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class SentimentGetPriceSentimentExample
{
public void main()
{
var apiInstance = new SentimentAnalysisApi();
var text = new Text1(); // Text1 | String of text to be analyzed. I can be in any language.
try
{
// Sentiment analysis score using a model trained for buy signals.
string result = apiInstance.SentimentGetPriceSentiment(text);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling SentimentAnalysisApi.SentimentGetPriceSentiment: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| text | Text1 | String of text to be analyzed. I can be in any language. |
string
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
string SentimentGetSentiment (Text text)
Sentiment analysis for any given blob of text
Gives a -1 to 1 score, depending on bearish/bullish sentiment
using System;
using System.Diagnostics;
using IO.Swagger.Api;
using IO.Swagger.Client;
using IO.Swagger.Model;
namespace Example
{
public class SentimentGetSentimentExample
{
public void main()
{
var apiInstance = new SentimentAnalysisApi();
var text = new Text(); // Text | String of text to be analyzed. I can be in any language.
try
{
// Sentiment analysis for any given blob of text
string result = apiInstance.SentimentGetSentiment(text);
Debug.WriteLine(result);
}
catch (Exception e)
{
Debug.Print("Exception when calling SentimentAnalysisApi.SentimentGetSentiment: " + e.Message );
}
}
}
}| Name | Type | Description | Notes |
|---|---|---|---|
| text | Text | String of text to be analyzed. I can be in any language. |
string
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]