# Intrinio::DataPointApi
All URIs are relative to *https://api-v2.intrinio.com*
Method | HTTP request | Description
------------- | ------------- | -------------
[**get_data_point_number**](DataPointApi.md#get_data_point_number) | **GET** /data_point/{identifier}/{tag}/number | Data Point (Number)
[**get_data_point_text**](DataPointApi.md#get_data_point_text) | **GET** /data_point/{identifier}/{tag}/text | Data Point (Text)
[//]: # (START_OPERATION)
[//]: # (CLASS:Intrinio::DataPointApi)
[//]: # (METHOD:get_data_point_number)
[//]: # (RETURN_TYPE:Float)
[//]: # (RETURN_TYPE_KIND:primitive)
[//]: # (RETURN_TYPE_DOC:)
[//]: # (OPERATION:get_data_point_number_v2)
[//]: # (ENDPOINT:/data_point/{identifier}/{tag}/number)
[//]: # (DOCUMENT_LINK:DataPointApi.md#get_data_point_number)
## **get_data_point_number**
[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/ruby/get_data_point_number_v2)
[//]: # (START_OVERVIEW)
> 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`
[//]: # (END_OVERVIEW)
### Example
[//]: # (START_CODE_EXAMPLE)
```ruby
# Load the gem
require 'intrinio-sdk'
require 'pp'
# Setup authorization
Intrinio.configure do |config|
config.api_key['api_key'] = 'YOUR_API_KEY'
end
dataPoint_api = Intrinio::DataPointApi.new
identifier = "AAPL" # String | An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
tag = "marketcap" # String | An Intrinio data tag ID or code (reference)
begin
result = dataPoint_api.get_data_point_number(identifier, tag)
pp result
rescue Intrinio::ApiError => e
puts "Exception when calling DataPointApi->get_data_point_number: #{e}"
end
```
[//]: # (END_CODE_EXAMPLE)
[//]: # (START_DEFINITION)
### Parameters
[//]: # (START_PARAMETERS)
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**identifier** | String| An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID) |
**tag** | String| An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags'>reference</a>) |
[//]: # (END_PARAMETERS)
### Return type
**Float**
[//]: # (END_OPERATION)
[//]: # (START_OPERATION)
[//]: # (CLASS:Intrinio::DataPointApi)
[//]: # (METHOD:get_data_point_text)
[//]: # (RETURN_TYPE:String)
[//]: # (RETURN_TYPE_KIND:primitive)
[//]: # (RETURN_TYPE_DOC:)
[//]: # (OPERATION:get_data_point_text_v2)
[//]: # (ENDPOINT:/data_point/{identifier}/{tag}/text)
[//]: # (DOCUMENT_LINK:DataPointApi.md#get_data_point_text)
## **get_data_point_text**
[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/ruby/get_data_point_text_v2)
[//]: # (START_OVERVIEW)
> String get_data_point_text(identifier, tag)
#### Data Point (Text)
Returns a text value for the given `tag` for the Security with the given `identifier`
[//]: # (END_OVERVIEW)
### Example
[//]: # (START_CODE_EXAMPLE)
```ruby
# Load the gem
require 'intrinio-sdk'
require 'pp'
# Setup authorization
Intrinio.configure do |config|
config.api_key['api_key'] = 'YOUR_API_KEY'
end
dataPoint_api = Intrinio::DataPointApi.new
identifier = "AAPL" # String | An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
tag = "ceo" # String | An Intrinio data tag ID or code (reference)
begin
result = dataPoint_api.get_data_point_text(identifier, tag)
pp result
rescue Intrinio::ApiError => e
puts "Exception when calling DataPointApi->get_data_point_text: #{e}"
end
```
[//]: # (END_CODE_EXAMPLE)
[//]: # (START_DEFINITION)
### Parameters
[//]: # (START_PARAMETERS)
Name | Type | Description | Notes
------------- | ------------- | ------------- | -------------
**identifier** | String| An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID) |
**tag** | String| An Intrinio data tag ID or code (<a href='https://data.intrinio.com/data-tags'>reference</a>) |
[//]: # (END_PARAMETERS)
### Return type
**String**
[//]: # (END_OPERATION)