docs/HistoricalDataApi.md in intrinio-sdk-3.1.0 vs docs/HistoricalDataApi.md in intrinio-sdk-3.2.0
- old
+ new
@@ -26,11 +26,11 @@
[//]: # (DOCUMENT_LINK:HistoricalDataApi.md#get_historical_data)
## **get_historical_data**
-[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/api_v2/get_historical_data_v2)
+[**View Intrinio API Documentation**](https://docs.intrinio.com/documentation/ruby/get_historical_data_v2)
[//]: # (START_OVERVIEW)
> ApiResponseHistoricalData get_historical_data(identifier, tag, opts)
@@ -46,10 +46,11 @@
[//]: # (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
@@ -70,10 +71,10 @@
next_page: nil # String | Gets the next page of data from a previous API call
}
begin
result = historicalData_api.get_historical_data(identifier, tag, opts)
- p result
+ pp result
rescue Intrinio::ApiError => e
puts "Exception when calling HistoricalDataApi->get_historical_data: #{e}"
end
```