Company Answers

Company Answers Ruby API Documentation

Returns answers for a question about the Company with the given `identifier`

API Class:
Intrinio::CompanyApi
Instance Method:
get_company_answers()

Stock Price Code Example

Use my API Key
# Load the gem
require 'intrinio-sdk'
require 'pp'
# Setup authorization
Intrinio.configure do |config|
config.api_key['api_key'] = 'YOUR_API_KEY'
config.allow_retries = true
end
company_api = Intrinio::CompanyApi.new
identifier = "AAPL"
query = "What do they believe in?"
result = company_api.get_company_answers(identifier, query)
pp result
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Parameters

NameTypeDescriptionNotes
identifierStringA Company identifier (Ticker, CIK, LEI, Intrinio ID) 
queryStringThe query to ask the Thea API 

Return Type

object
Intrinio::ApiResponseCompanyAnswers

Properties

NameTypeDescription
sourceStringThe organziation the answer data was sourced from  
queryStringThe query posed to the Thea API  
answersArray 
companiesArray 
object
Intrinio::TheaEntityAnswer

Properties

NameTypeDescription
answerStringThe summarized answer returned from Thea  
contentStringThe underlying content the answer was sourced from  
source_documentsArrayThe documents from which Thea answer data is sourced  
object
Intrinio::TheaSourceDocument

Properties

NameTypeDescription
idStringThe unique id for the Thea source document  
date_timeDateThe date at which the document was created  
tagsArrayEntity identifying tags associated with the source document  
object
Intrinio::CompanySummary

Properties

NameTypeDescription
idStringThe Intrinio ID of the company  
tickerStringThe stock market ticker symbol associated with the company's common stock securities  
nameStringThe company's common name  
leiStringThe Legal Entity Identifier (LEI) assigned to the company  
cikStringThe Central Index Key (CIK) assigned to the company