docs/CompanyApi.md in intrinio-sdk-6.26.5 vs docs/CompanyApi.md in intrinio-sdk-6.26.6

- old
+ new

@@ -6,10 +6,11 @@ ------------- | ------------- | ------------- [**get_all_companies**](CompanyApi.md#get_all_companies) | **GET** /companies | All Companies [**get_all_company_news**](CompanyApi.md#get_all_company_news) | **GET** /companies/news | All News [**get_company**](CompanyApi.md#get_company) | **GET** /companies/{identifier} | Lookup Company [**get_company_answers**](CompanyApi.md#get_company_answers) | **GET** /companies/{identifier}/answers | Company Answers +[**get_company_daily_metrics**](CompanyApi.md#get_company_daily_metrics) | **GET** /companies/{identifier}/daily_metrics | Company metrics by Company [**get_company_data_point_number**](CompanyApi.md#get_company_data_point_number) | **GET** /companies/{identifier}/data_point/{tag}/number | Data Point (Number) for Company [**get_company_data_point_text**](CompanyApi.md#get_company_data_point_text) | **GET** /companies/{identifier}/data_point/{tag}/text | Data Point (Text) for Company [**get_company_filings**](CompanyApi.md#get_company_filings) | **GET** /companies/{identifier}/filings | All Filings by Company [**get_company_fundamentals**](CompanyApi.md#get_company_fundamentals) | **GET** /companies/{identifier}/fundamentals | All Fundamentals by Company [**get_company_historical_data**](CompanyApi.md#get_company_historical_data) | **GET** /companies/{identifier}/historical_data/{tag} | Historical Data for Company @@ -358,9 +359,95 @@ [//]: # (END_PARAMETERS) ### Return type [**ApiResponseCompanyAnswers**](ApiResponseCompanyAnswers.md) + +[//]: # (END_OPERATION) + + +[//]: # (START_OPERATION) + +[//]: # (CLASS:Intrinio::CompanyApi) + +[//]: # (METHOD:get_company_daily_metrics) + +[//]: # (RETURN_TYPE:Intrinio::ApiResponseCompanyDailyMetrics) + +[//]: # (RETURN_TYPE_KIND:object) + +[//]: # (RETURN_TYPE_DOC:ApiResponseCompanyDailyMetrics.md) + +[//]: # (OPERATION:get_company_daily_metrics_v2) + +[//]: # (ENDPOINT:/companies/{identifier}/daily_metrics) + +[//]: # (DOCUMENT_LINK:CompanyApi.md#get_company_daily_metrics) + +## **get_company_daily_metrics** + +[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/ruby/get_company_daily_metrics_v2) + +[//]: # (START_OVERVIEW) + +> ApiResponseCompanyDailyMetrics get_company_daily_metrics(identifier, opts) + +#### Company metrics by Company + + +Returns the latest company metrics. + +[//]: # (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' + config.allow_retries = true +end + +company_api = Intrinio::CompanyApi.new +identifier = "AAPL" + +opts = { + page_size: 100, + next_page: nil, + next_page2: nil +} + +result = company_api.get_company_daily_metrics(identifier, opts) +pp result +``` + +[//]: # (END_CODE_EXAMPLE) + +[//]: # (START_DEFINITION) + +### Parameters + +[//]: # (START_PARAMETERS) + + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **identifier** | String| A Company identifier (Ticker, CIK, LEI, Intrinio ID) |   + **page_size** | Integer| The number of results to return | [optional] [default to 100]   + **next_page** | String| Gets the next page of data from a previous API call | [optional]   + **next_page2** | String| Gets the next page of data from a previous API call | [optional]   + +[//]: # (END_PARAMETERS) + +### Return type + +[**ApiResponseCompanyDailyMetrics**](ApiResponseCompanyDailyMetrics.md) [//]: # (END_OPERATION) [//]: # (START_OPERATION)