Skip to content

Latest commit

 

History

History
64 lines (38 loc) · 1.99 KB

File metadata and controls

64 lines (38 loc) · 1.99 KB

\SentimentAnalysisApi

All URIs are relative to https://brainrexapi.appspot.com:5000/api

Method HTTP request Description
sentiment_get_price_sentiment Post /get_buy_sentiment Sentiment analysis score using a model trained for buy signals.
sentiment_get_sentiment Post /get_sentiment Sentiment analysis for any given blob of text

sentiment_get_price_sentiment

String sentiment_get_price_sentiment(text) Sentiment analysis score using a model trained for buy signals.

Gives a 0 to 1 score, depending on buy/sell sentiment

Required Parameters

Name Type Description Notes
text Text1 String of text to be analyzed. I can be in any language.

Return type

String

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

sentiment_get_sentiment

String sentiment_get_sentiment(text) Sentiment analysis for any given blob of text

Gives a -1 to 1 score, depending on bearish/bullish sentiment

Required Parameters

Name Type Description Notes
text Text String of text to be analyzed. I can be in any language.

Return type

String

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]