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
float get_data_point_number(identifier, tag)
Returns a numeric value for the given tag
and the entity with the given identifier
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
tag = 'marketcap'
response = intrinio.DataPointApi().get_data_point_number(identifier, tag)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID) | |
tag | str | An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags'>reference</a>) |
float
View Intrinio API Documentation
str get_data_point_text(identifier, tag)
Returns a text value for the given tag
for the Security with the given identifier
from __future__ import print_function
import time
import intrinio_sdk as intrinio
from intrinio_sdk.rest import ApiException
intrinio.ApiClient().set_api_key('YOUR_API_KEY')
intrinio.ApiClient().allow_retries(True)
identifier = 'AAPL'
tag = 'ceo'
response = intrinio.DataPointApi().get_data_point_text(identifier, tag)
print(response)
# Note: For a Pandas DataFrame, import Pandas and use pd.DataFrame(response.property_name_dict)
Name | Type | Description | Notes |
---|---|---|---|
identifier | str | An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID) | |
tag | str | An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags'>reference</a>) |
str