All URIs are relative to https://api-v2.intrinio.com
Method | HTTP request | Description |
---|---|---|
get_data_point_number | GET /data_point/{identifier}/{tag}/number | Data Point (Number) |
get_data_point_text | GET /data_point/{identifier}/{tag}/text | Data Point (Text) |
View Intrinio API Documentation
Numeric get_data_point_number(identifier, tag)
Returns a numeric value for the given tag
and the entity with the given identifier
# Setup client
client <- IntrinioSDK::ApiClient$new()
# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"
#Configure retries
client$configuration$allowRetries <- TRUE
# Setup API with client
DataPointApi <- IntrinioSDK::DataPointApi$new(client)
# Required params
identifier <- "AAPL"
tag <- "marketcap"
response <- DataPointApi$get_data_point_number(identifier, tag)
print(response)
print(response$content)
Name | Type | Description | Notes |
---|---|---|---|
identifier | Character | An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID) | |
tag | Character | An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags'>reference</a>) |
Numeric
View Intrinio API Documentation
Character get_data_point_text(identifier, tag)
Returns a text value for the given tag
for the Security with the given identifier
# Setup client
client <- IntrinioSDK::ApiClient$new()
# Configure API key authorization: ApiKeyAuth
client$configuration$apiKey <- "YOUR_API_KEY"
#Configure retries
client$configuration$allowRetries <- TRUE
# Setup API with client
DataPointApi <- IntrinioSDK::DataPointApi$new(client)
# Required params
identifier <- "AAPL"
tag <- "ceo"
response <- DataPointApi$get_data_point_text(identifier, tag)
print(response)
print(response$content)
Name | Type | Description | Notes |
---|---|---|---|
identifier | Character | An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID) | |
tag | Character | An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags'>reference</a>) |
Character