API:Components
API Endpoint Path
required
Content Sentiment Analyzer API
api/1/sentiment-analyzer
Call Method
Required
POST
Type of Data Return
JSON
Output structured JSON data on Content Sentiment Ratio
token
required
BUYFROMLO API token. Free and paid subscription APIs are both available: /api/1/sentiment-analyzer, and accessible to on-site APP on /app/1/sentiment-analyzer as well
originalContent
required
Input a piece of content. The max.character ceiling in English is 8000
language
Optional
Enter the content language. Default is english
Content Sentiment Analyzer API
api/1/sentiment-analyzer
Python Code Sample
import requests
apiendpoint = "https://api.buyfromlo.com/api/1/sentiment-analyzer"
## Required Arguments & Parameters ##
token = ""your buyfromlo token""
originalContent = "raw content materials or context for reference"
headers={"Authorization": "Bearer " + token}
## Call the api ##
response = requests.post(apiendpoint, json={"originalContent":originalContent}, headers=headers)
print(response.status_code)
print(response.json())
JSON Response Sample
{
"originalContent": " " (string),
"Subjectivity": " " (float),
"Polarity": " " (float)
}
The Content Sentiment Analyzer API provides sentiment data for any form of text content. It uses a unique algorithm to analyze text and generate 5 sentiment metrics: polarity, subjectivity, negative, positive, and neutral.
You can access the Content Sentiment Analyzer API through its endpoint path: \/api\/1\/sentiment-analyzer. It offers paid and free subscription options for both API and on-site app services.
The Content Sentiment Analyzer API delivers sentiment data in JSON format, allowing for seamless integration and analysis.
The sentiment analysis data is derived from real-world content sourced from Texture Content.
Yes, the Content Sentiment Analyzer API has a request limit of 500 requests per month per token.
Yes, the Content Sentiment Analyzer API offers integration with various programming languages such as cURL, JS, Python, Ruby, PHP, Node.js, Java, .NET, Rust, Go, and Typescript.
Yes, there is a free version of the Content Sentiment Analyzer API. However, it has certain limitations compared to the paid subscription.
You can find detailed documentation for the Content Sentiment Analyzer API at https:\/\/www.buyfromlo.com\/docs\/#\/Content%20&%20Sentiment%20Barometer\/post_api_1_sentiment_analyzer.
You can obtain an API token by signing up for a free or paid subscription on the BUYFROMLO website.
The API allows you to integrate sentiment analysis functionality into your own applications, while the on-site app provides a user-friendly interface for sentiment analysis directly on the BUYFROMLO platform.