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) |
float get_data_point_number(identifier, tag)
Data Point (Number)
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
from intrinio_sdk.rest import ApiException
from pprint import pprint
intrinio_sdk.ApiClient().configuration.api_key['api_key'] = 'YOUR_API_KEY'
data_point_api = intrinio_sdk.DataPointApi()
identifier = 'AAPL' # str | An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
tag = 'marketcap' # str | An Intrinio data tag ID or code-name
try:
api_response = data_point_api.get_data_point_number(identifier, tag)
pprint(api_response)
except ApiException as e:
print("Exception when calling DataPointApi->get_data_point_number: %s\n" % e)
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-name |
float
[Back to top] [Back to API list] [Back to Model list] [Back to README]
str get_data_point_text(identifier, tag)
Data Point (Text)
Returns a text value for the given tag
and the entity with the given identifier
from __future__ import print_function
import time
import intrinio_sdk
from intrinio_sdk.rest import ApiException
from pprint import pprint
intrinio_sdk.ApiClient().configuration.api_key['api_key'] = 'YOUR_API_KEY'
data_point_api = intrinio_sdk.DataPointApi()
identifier = 'AAPL' # str | An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
tag = 'marketcap' # str | An Intrinio data tag ID or code-name
try:
api_response = data_point_api.get_data_point_text(identifier, tag)
pprint(api_response)
except ApiException as e:
print("Exception when calling DataPointApi->get_data_point_text: %s\n" % e)
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-name |
str
[Back to top] [Back to API list] [Back to Model list] [Back to README]