Psydex - What the World Is Thinking What the World Is Thinking
AG API v1.0 (beta)

• Overview
• API Key Generation
• Catalog
• Correlations
• Content
• Events
• Topics
• Search
• Sentiment
• Statistics
• Text Mining
• Time Series
• Updates

Request Authorization to API

Sentiment

Calculates the sentiment of the specified text or text associated with specified url based on the differential between references to "Positive" and "Negative" Topic Models and Topic Groups. Sentiment is simply a customized PEP Rule



URLs:
http://psydex.net/api/sentiment


Parameters:  
Required: Valid Values
api_key API Key provided by Psydex
One of Following:  
text Text String to Analyze
url URL to analyze



Response: Response XML Schema Defintion (XSD)
Element: Description
score Score between -1.00 and +1.00 (-1 = most negative and +1 = Most Positive). Calculated by taking the difference between positive and negative sentiment topics in text. Uses Sentiment Topic Groups.
positive_count References to Positive Topics
negative_count References to Negative Topics





Sentiment for Topics

Samples recent documents given the Topic criteria and calculates the sentiment associated with the referenced topics.



URL:
http://psydex.net/api/sentiment/topics

Parameters:  
Required: Valid Values
api_key API Key provided by Psydex
OPTIONAL:  
begin Epoch Millisecond Timestamp
end Epoch Millisecond Timestamp



Response: Response XML Schema Defintion (XSD)
Element: Description
topic_id Uniquely identifies the topic the sentiment is associated with. When multiple criteria or a PQL expression is used, there may be multiple topics.
score Score between -1.00 and +1.00 (-1 = most negative and +1 = Most Positive). Calculated by taking the difference between positive and negative sentiment topics in text. Uses Sentiment Topic Groups.
positive_count References to Positive Topics
negative_count References to Negative Topicsn