intrinio-sdk 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (114) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +78 -52
  3. data/docs/ApiResponseFilingNotes.md +9 -0
  4. data/docs/ApiResponseFilingNotesSearch.md +8 -0
  5. data/docs/ApiResponseStockExchangeRealtimeStockPrices.md +9 -0
  6. data/docs/CompanyApi.md +34 -28
  7. data/docs/DataPointApi.md +4 -4
  8. data/docs/DataTagApi.md +5 -5
  9. data/docs/DividendRecord.md +17 -0
  10. data/docs/EarningsRecord.md +30 -0
  11. data/docs/FilingApi.md +273 -7
  12. data/docs/FilingNote.md +11 -0
  13. data/docs/FilingNoteFiling.md +11 -0
  14. data/docs/FilingNoteSummary.md +10 -0
  15. data/docs/FundamentalsApi.md +9 -9
  16. data/docs/HistoricalDataApi.md +2 -2
  17. data/docs/IndexApi.md +30 -30
  18. data/docs/RealtimeStockPrice.md +21 -0
  19. data/docs/RealtimeStockPriceSecurity.md +12 -0
  20. data/docs/SecurityApi.md +148 -17
  21. data/docs/StockExchangeApi.md +64 -15
  22. data/intrinio-sdk.gemspec +1 -1
  23. data/lib/intrinio-sdk.rb +11 -1
  24. data/lib/intrinio-sdk/api/company_api.rb +41 -35
  25. data/lib/intrinio-sdk/api/data_point_api.rb +5 -5
  26. data/lib/intrinio-sdk/api/data_tag_api.rb +7 -7
  27. data/lib/intrinio-sdk/api/filing_api.rb +364 -11
  28. data/lib/intrinio-sdk/api/fundamentals_api.rb +11 -11
  29. data/lib/intrinio-sdk/api/historical_data_api.rb +3 -3
  30. data/lib/intrinio-sdk/api/index_api.rb +31 -31
  31. data/lib/intrinio-sdk/api/security_api.rb +194 -23
  32. data/lib/intrinio-sdk/api/stock_exchange_api.rb +85 -23
  33. data/lib/intrinio-sdk/api_client.rb +1 -1
  34. data/lib/intrinio-sdk/api_error.rb +1 -1
  35. data/lib/intrinio-sdk/configuration.rb +1 -1
  36. data/lib/intrinio-sdk/models/api_response_companies.rb +1 -1
  37. data/lib/intrinio-sdk/models/api_response_company_filings.rb +1 -1
  38. data/lib/intrinio-sdk/models/api_response_company_fundamentals.rb +1 -1
  39. data/lib/intrinio-sdk/models/api_response_company_historical_data.rb +1 -1
  40. data/lib/intrinio-sdk/models/api_response_company_news.rb +1 -1
  41. data/lib/intrinio-sdk/models/api_response_company_securities.rb +1 -1
  42. data/lib/intrinio-sdk/models/api_response_data_tags.rb +1 -1
  43. data/lib/intrinio-sdk/models/api_response_economic_index_historical_data.rb +1 -1
  44. data/lib/intrinio-sdk/models/api_response_economic_indices.rb +1 -1
  45. data/lib/intrinio-sdk/models/api_response_filing_notes.rb +200 -0
  46. data/lib/intrinio-sdk/models/api_response_filing_notes_search.rb +190 -0
  47. data/lib/intrinio-sdk/models/api_response_filings.rb +1 -1
  48. data/lib/intrinio-sdk/models/api_response_historical_data.rb +1 -1
  49. data/lib/intrinio-sdk/models/api_response_news.rb +1 -1
  50. data/lib/intrinio-sdk/models/api_response_reported_financials.rb +1 -1
  51. data/lib/intrinio-sdk/models/api_response_securities.rb +1 -1
  52. data/lib/intrinio-sdk/models/api_response_security_historical_data.rb +1 -1
  53. data/lib/intrinio-sdk/models/api_response_security_stock_price_adjustments.rb +1 -1
  54. data/lib/intrinio-sdk/models/api_response_security_stock_prices.rb +1 -1
  55. data/lib/intrinio-sdk/models/api_response_sic_index_historical_data.rb +1 -1
  56. data/lib/intrinio-sdk/models/api_response_sic_indices.rb +1 -1
  57. data/lib/intrinio-sdk/models/api_response_standardized_financials.rb +1 -1
  58. data/lib/intrinio-sdk/models/api_response_stock_exchange_realtime_stock_prices.rb +201 -0
  59. data/lib/intrinio-sdk/models/api_response_stock_exchange_securities.rb +1 -1
  60. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments.rb +1 -1
  61. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_prices.rb +1 -1
  62. data/lib/intrinio-sdk/models/api_response_stock_exchanges.rb +1 -1
  63. data/lib/intrinio-sdk/models/api_response_stock_market_index_historical_data.rb +1 -1
  64. data/lib/intrinio-sdk/models/api_response_stock_market_indices.rb +1 -1
  65. data/lib/intrinio-sdk/models/company.rb +1 -1
  66. data/lib/intrinio-sdk/models/company_filing.rb +1 -1
  67. data/lib/intrinio-sdk/models/company_news.rb +1 -1
  68. data/lib/intrinio-sdk/models/company_news_summary.rb +1 -1
  69. data/lib/intrinio-sdk/models/company_summary.rb +1 -1
  70. data/lib/intrinio-sdk/models/data_tag.rb +1 -1
  71. data/lib/intrinio-sdk/models/data_tag_summary.rb +1 -1
  72. data/lib/intrinio-sdk/models/dividend_record.rb +311 -0
  73. data/lib/intrinio-sdk/models/earnings_record.rb +465 -0
  74. data/lib/intrinio-sdk/models/economic_index.rb +1 -1
  75. data/lib/intrinio-sdk/models/economic_index_summary.rb +1 -1
  76. data/lib/intrinio-sdk/models/filing.rb +1 -1
  77. data/lib/intrinio-sdk/models/filing_note.rb +218 -0
  78. data/lib/intrinio-sdk/models/filing_note_filing.rb +219 -0
  79. data/lib/intrinio-sdk/models/filing_note_summary.rb +208 -0
  80. data/lib/intrinio-sdk/models/filing_summary.rb +1 -1
  81. data/lib/intrinio-sdk/models/fundamental.rb +1 -1
  82. data/lib/intrinio-sdk/models/fundamental_summary.rb +1 -1
  83. data/lib/intrinio-sdk/models/historical_data.rb +1 -1
  84. data/lib/intrinio-sdk/models/realtime_stock_price.rb +318 -0
  85. data/lib/intrinio-sdk/models/realtime_stock_price_security.rb +229 -0
  86. data/lib/intrinio-sdk/models/reported_financial.rb +1 -1
  87. data/lib/intrinio-sdk/models/reported_tag.rb +1 -1
  88. data/lib/intrinio-sdk/models/security.rb +1 -1
  89. data/lib/intrinio-sdk/models/security_screen_clause.rb +1 -1
  90. data/lib/intrinio-sdk/models/security_screen_group.rb +1 -1
  91. data/lib/intrinio-sdk/models/security_screen_result.rb +1 -1
  92. data/lib/intrinio-sdk/models/security_screen_result_data.rb +1 -1
  93. data/lib/intrinio-sdk/models/security_summary.rb +1 -1
  94. data/lib/intrinio-sdk/models/sic_index.rb +1 -1
  95. data/lib/intrinio-sdk/models/standardized_financial.rb +1 -1
  96. data/lib/intrinio-sdk/models/stock_exchange.rb +1 -1
  97. data/lib/intrinio-sdk/models/stock_market_index.rb +1 -1
  98. data/lib/intrinio-sdk/models/stock_market_index_summary.rb +1 -1
  99. data/lib/intrinio-sdk/models/stock_price.rb +1 -1
  100. data/lib/intrinio-sdk/models/stock_price_adjustment.rb +1 -1
  101. data/lib/intrinio-sdk/models/stock_price_adjustment_summary.rb +1 -1
  102. data/lib/intrinio-sdk/models/stock_price_summary.rb +1 -1
  103. data/lib/intrinio-sdk/version.rb +2 -2
  104. data/spec/models/api_response_filing_notes_search_spec.rb +42 -0
  105. data/spec/models/api_response_filing_notes_spec.rb +48 -0
  106. data/spec/models/api_response_stock_exchange_realtime_stock_prices_spec.rb +48 -0
  107. data/spec/models/dividend_record_spec.rb +100 -0
  108. data/spec/models/earnings_record_spec.rb +186 -0
  109. data/spec/models/filing_note_filing_spec.rb +60 -0
  110. data/spec/models/filing_note_spec.rb +60 -0
  111. data/spec/models/filing_note_summary_spec.rb +54 -0
  112. data/spec/models/realtime_stock_price_security_spec.rb +66 -0
  113. data/spec/models/realtime_stock_price_spec.rb +120 -0
  114. metadata +43 -3
@@ -5,11 +5,12 @@ All URIs are relative to *https://api-v2.intrinio.com*
5
5
  Method | HTTP request | Description
6
6
  ------------- | ------------- | -------------
7
7
  [**filter_stock_exchanges**](StockExchangeApi.md#filter_stock_exchanges) | **GET** /stock_exchanges/filter | Filter Stock Exchanges
8
- [**get_all_stock_exchanges**](StockExchangeApi.md#get_all_stock_exchanges) | **GET** /stock_exchanges | Get All Stock Exchanges
9
- [**get_stock_exchange_by_id**](StockExchangeApi.md#get_stock_exchange_by_id) | **GET** /stock_exchanges/{identifier} | Get Stock Exchange by ID
10
- [**get_stock_exchange_price_adjustments**](StockExchangeApi.md#get_stock_exchange_price_adjustments) | **GET** /stock_exchanges/{identifier}/prices/adjustments | Get Stock Price Adjustments by Exchange
11
- [**get_stock_exchange_prices**](StockExchangeApi.md#get_stock_exchange_prices) | **GET** /stock_exchanges/{identifier}/prices | Get Stock Prices by Exchange
12
- [**get_stock_exchange_securities**](StockExchangeApi.md#get_stock_exchange_securities) | **GET** /stock_exchanges/{identifier}/securities | Get Securities by Exchange
8
+ [**get_all_stock_exchanges**](StockExchangeApi.md#get_all_stock_exchanges) | **GET** /stock_exchanges | All Stock Exchanges
9
+ [**get_stock_exchange_by_id**](StockExchangeApi.md#get_stock_exchange_by_id) | **GET** /stock_exchanges/{identifier} | Lookup Stock Exchange
10
+ [**get_stock_exchange_price_adjustments**](StockExchangeApi.md#get_stock_exchange_price_adjustments) | **GET** /stock_exchanges/{identifier}/prices/adjustments | Stock Price Adjustments by Exchange
11
+ [**get_stock_exchange_prices**](StockExchangeApi.md#get_stock_exchange_prices) | **GET** /stock_exchanges/{identifier}/prices | Stock Prices by Exchange
12
+ [**get_stock_exchange_realtime_prices**](StockExchangeApi.md#get_stock_exchange_realtime_prices) | **GET** /stock_exchanges/{identifier}/prices/realtime | Realtime Stock Prices by Exchange
13
+ [**get_stock_exchange_securities**](StockExchangeApi.md#get_stock_exchange_securities) | **GET** /stock_exchanges/{identifier}/securities | Securities by Exchange
13
14
 
14
15
 
15
16
  # **filter_stock_exchanges**
@@ -17,7 +18,7 @@ Method | HTTP request | Description
17
18
 
18
19
  Filter Stock Exchanges
19
20
 
20
- Return Stock Exchanges matching the given filters
21
+ Returns Stock Exchanges matching the given filters
21
22
 
22
23
  ### Example
23
24
  ```ruby
@@ -60,9 +61,9 @@ Name | Type | Description | Notes
60
61
  # **get_all_stock_exchanges**
61
62
  > ApiResponseStockExchanges get_all_stock_exchanges
62
63
 
63
- Get All Stock Exchanges
64
+ All Stock Exchanges
64
65
 
65
- Return All Stock Exchanges
66
+ Returns all Stock Exchanges
66
67
 
67
68
  ### Example
68
69
  ```ruby
@@ -94,7 +95,9 @@ This endpoint does not need any parameter.
94
95
  # **get_stock_exchange_by_id**
95
96
  > StockExchange get_stock_exchange_by_id(identifier)
96
97
 
97
- Get Stock Exchange by ID
98
+ Lookup Stock Exchange
99
+
100
+ Returns the Stock Exchange with the given `identifier`
98
101
 
99
102
  ### Example
100
103
  ```ruby
@@ -132,9 +135,9 @@ Name | Type | Description | Notes
132
135
  # **get_stock_exchange_price_adjustments**
133
136
  > ApiResponseStockExchangeStockPriceAdjustments get_stock_exchange_price_adjustments(identifier, opts)
134
137
 
135
- Get Stock Price Adjustments by Exchange
138
+ Stock Price Adjustments by Exchange
136
139
 
137
- Return stock price adjustments for the Stock Exchange with the given `identifier`
140
+ Returns stock price adjustments for the Stock Exchange with the given `identifier`
138
141
 
139
142
  ### Example
140
143
  ```ruby
@@ -178,9 +181,9 @@ Name | Type | Description | Notes
178
181
  # **get_stock_exchange_prices**
179
182
  > ApiResponseStockExchangeStockPrices get_stock_exchange_prices(identifier, opts)
180
183
 
181
- Get Stock Prices by Exchange
184
+ Stock Prices by Exchange
182
185
 
183
- Return daily Stock Prices for Securities on the Stock Exchange with `identifier` and on the `price_date` (or the latest date that prices are available)
186
+ Returns end-of-day stock prices for Securities on the Stock Exchange with `identifier` and on the `price_date` (or the latest date that prices are available)
184
187
 
185
188
  ### Example
186
189
  ```ruby
@@ -221,12 +224,58 @@ Name | Type | Description | Notes
221
224
 
222
225
  [**ApiResponseStockExchangeStockPrices**](ApiResponseStockExchangeStockPrices.md)
223
226
 
227
+ # **get_stock_exchange_realtime_prices**
228
+ > ApiResponseStockExchangeRealtimeStockPrices get_stock_exchange_realtime_prices(identifier, opts)
229
+
230
+ Realtime Stock Prices by Exchange
231
+
232
+ Returns realtime stock prices for the Stock Exchange with the given `identifier`
233
+
234
+ ### Example
235
+ ```ruby
236
+ # Load the gem
237
+ require 'intrinio-sdk'
238
+
239
+ # Setup authorization
240
+ Intrinio.configure do |config|
241
+ config.api_key['api_key'] = 'YOUR API KEY'
242
+ end
243
+
244
+ stockExchange_api = Intrinio::StockExchangeApi.new
245
+
246
+ identifier = "USCOMP" # String | A Stock Exchange identifier (MIC or Intrinio ID)
247
+
248
+ opts = {
249
+ source: nil, # String | Return realtime prices from the specified data source
250
+ next_page: nil # String | Gets the next page of data from a previous API call
251
+ }
252
+
253
+ begin
254
+ result = stockExchange_api.get_stock_exchange_realtime_prices(identifier, opts)
255
+ p result
256
+ rescue Intrinio::ApiError => e
257
+ puts "Exception when calling StockExchangeApi->get_stock_exchange_realtime_prices: #{e}"
258
+ end
259
+ ```
260
+
261
+ ### Parameters
262
+
263
+ Name | Type | Description | Notes
264
+ ------------- | ------------- | ------------- | -------------
265
+ **identifier** | **String**| A Stock Exchange identifier (MIC or Intrinio ID) |
266
+ **source** | **String**| Return realtime prices from the specified data source | [optional]
267
+ **next_page** | **String**| Gets the next page of data from a previous API call | [optional]
268
+
269
+ ### Return type
270
+
271
+ [**ApiResponseStockExchangeRealtimeStockPrices**](ApiResponseStockExchangeRealtimeStockPrices.md)
272
+
224
273
  # **get_stock_exchange_securities**
225
274
  > ApiResponseStockExchangeSecurities get_stock_exchange_securities(identifier, opts)
226
275
 
227
- Get Securities by Exchange
276
+ Securities by Exchange
228
277
 
229
- Return Securities traded on the Stock Exchange with `identifier`
278
+ Returns Securities traded on the Stock Exchange with `identifier`
230
279
 
231
280
  ### Example
232
281
  ```ruby
data/intrinio-sdk.gemspec CHANGED
@@ -5,7 +5,7 @@
5
5
 
6
6
  #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
7
7
 
8
- OpenAPI spec version: 2.0.0
8
+ OpenAPI spec version: 2.1.0
9
9
 
10
10
  Generated by: https://github.com/swagger-api/swagger-codegen.git
11
11
  Swagger Codegen version: 2.3.0-SNAPSHOT
data/lib/intrinio-sdk.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
5
5
 
6
- OpenAPI spec version: 2.0.0
6
+ OpenAPI spec version: 2.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.3.0-SNAPSHOT
@@ -26,6 +26,8 @@ require 'intrinio-sdk/models/api_response_company_securities'
26
26
  require 'intrinio-sdk/models/api_response_data_tags'
27
27
  require 'intrinio-sdk/models/api_response_economic_index_historical_data'
28
28
  require 'intrinio-sdk/models/api_response_economic_indices'
29
+ require 'intrinio-sdk/models/api_response_filing_notes'
30
+ require 'intrinio-sdk/models/api_response_filing_notes_search'
29
31
  require 'intrinio-sdk/models/api_response_filings'
30
32
  require 'intrinio-sdk/models/api_response_historical_data'
31
33
  require 'intrinio-sdk/models/api_response_news'
@@ -37,6 +39,7 @@ require 'intrinio-sdk/models/api_response_security_historical_data'
37
39
  require 'intrinio-sdk/models/api_response_security_stock_price_adjustments'
38
40
  require 'intrinio-sdk/models/api_response_security_stock_prices'
39
41
  require 'intrinio-sdk/models/api_response_standardized_financials'
42
+ require 'intrinio-sdk/models/api_response_stock_exchange_realtime_stock_prices'
40
43
  require 'intrinio-sdk/models/api_response_stock_exchange_securities'
41
44
  require 'intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments'
42
45
  require 'intrinio-sdk/models/api_response_stock_exchange_stock_prices'
@@ -50,13 +53,20 @@ require 'intrinio-sdk/models/company_news_summary'
50
53
  require 'intrinio-sdk/models/company_summary'
51
54
  require 'intrinio-sdk/models/data_tag'
52
55
  require 'intrinio-sdk/models/data_tag_summary'
56
+ require 'intrinio-sdk/models/dividend_record'
57
+ require 'intrinio-sdk/models/earnings_record'
53
58
  require 'intrinio-sdk/models/economic_index'
54
59
  require 'intrinio-sdk/models/economic_index_summary'
55
60
  require 'intrinio-sdk/models/filing'
61
+ require 'intrinio-sdk/models/filing_note'
62
+ require 'intrinio-sdk/models/filing_note_filing'
63
+ require 'intrinio-sdk/models/filing_note_summary'
56
64
  require 'intrinio-sdk/models/filing_summary'
57
65
  require 'intrinio-sdk/models/fundamental'
58
66
  require 'intrinio-sdk/models/fundamental_summary'
59
67
  require 'intrinio-sdk/models/historical_data'
68
+ require 'intrinio-sdk/models/realtime_stock_price'
69
+ require 'intrinio-sdk/models/realtime_stock_price_security'
60
70
  require 'intrinio-sdk/models/reported_financial'
61
71
  require 'intrinio-sdk/models/reported_tag'
62
72
  require 'intrinio-sdk/models/sic_index'
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
5
5
 
6
- OpenAPI spec version: 2.0.0
6
+ OpenAPI spec version: 2.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.3.0-SNAPSHOT
@@ -91,7 +91,7 @@ module Intrinio
91
91
  return data, status_code, headers
92
92
  end
93
93
 
94
- # Filter Fundamentals for a Company
94
+ # Filter Fundamentals by Company
95
95
  # Returns Fundamentals for the Company with the given `identifier` and matching the specified filters
96
96
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
97
97
  # @param [Hash] opts the optional parameters
@@ -110,7 +110,7 @@ module Intrinio
110
110
  return data
111
111
  end
112
112
 
113
- # Filter Fundamentals for a Company
113
+ # Filter Fundamentals by Company
114
114
  # Returns Fundamentals for the Company with the given `identifier` and matching the specified filters
115
115
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
116
116
  # @param [Hash] opts the optional parameters
@@ -177,8 +177,8 @@ module Intrinio
177
177
  return data, status_code, headers
178
178
  end
179
179
 
180
- # Get All Companies
181
- #
180
+ # All Companies
181
+ # Returns all Companies
182
182
  # @param [Hash] opts the optional parameters
183
183
  # @option opts [String] :next_page Gets the next page of data from a previous API call
184
184
  # @return [ApiResponseCompanies]
@@ -187,8 +187,8 @@ module Intrinio
187
187
  return data
188
188
  end
189
189
 
190
- # Get All Companies
191
- #
190
+ # All Companies
191
+ # Returns all Companies
192
192
  # @param [Hash] opts the optional parameters
193
193
  # @option opts [String] :next_page Gets the next page of data from a previous API call
194
194
  # @return [Array<(ApiResponseCompanies, Fixnum, Hash)>] ApiResponseCompanies data, response status code and response headers
@@ -227,8 +227,8 @@ module Intrinio
227
227
  return data, status_code, headers
228
228
  end
229
229
 
230
- # Get All Company News
231
- # Returns all news for all companies
230
+ # All News
231
+ # Returns all News for all Companies
232
232
  # @param [Hash] opts the optional parameters
233
233
  # @option opts [String] :next_page Gets the next page of data from a previous API call
234
234
  # @return [ApiResponseNews]
@@ -237,8 +237,8 @@ module Intrinio
237
237
  return data
238
238
  end
239
239
 
240
- # Get All Company News
241
- # Returns all news for all companies
240
+ # All News
241
+ # Returns all News for all Companies
242
242
  # @param [Hash] opts the optional parameters
243
243
  # @option opts [String] :next_page Gets the next page of data from a previous API call
244
244
  # @return [Array<(ApiResponseNews, Fixnum, Hash)>] ApiResponseNews data, response status code and response headers
@@ -277,8 +277,8 @@ module Intrinio
277
277
  return data, status_code, headers
278
278
  end
279
279
 
280
- # Get a Company by ID
281
- #
280
+ # Lookup Company
281
+ # Returns the Company with the given `identifier`
282
282
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
283
283
  # @param [Hash] opts the optional parameters
284
284
  # @return [Company]
@@ -287,8 +287,8 @@ module Intrinio
287
287
  return data
288
288
  end
289
289
 
290
- # Get a Company by ID
291
- #
290
+ # Lookup Company
291
+ # Returns the Company with the given &#x60;identifier&#x60;
292
292
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
293
293
  # @param [Hash] opts the optional parameters
294
294
  # @return [Array<(Company, Fixnum, Hash)>] Company data, response status code and response headers
@@ -330,7 +330,7 @@ module Intrinio
330
330
  return data, status_code, headers
331
331
  end
332
332
 
333
- # Get Company Data Point (Number)
333
+ # Data Point (Number) for Company
334
334
  # Returns a numeric value for the given `tag` for the Company with the given `identifier`
335
335
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
336
336
  # @param tag An Intrinio data tag
@@ -341,7 +341,7 @@ module Intrinio
341
341
  return data
342
342
  end
343
343
 
344
- # Get Company Data Point (Number)
344
+ # Data Point (Number) for Company
345
345
  # Returns a numeric value for the given &#x60;tag&#x60; for the Company with the given &#x60;identifier&#x60;
346
346
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
347
347
  # @param tag An Intrinio data tag
@@ -389,7 +389,7 @@ module Intrinio
389
389
  return data, status_code, headers
390
390
  end
391
391
 
392
- # Get Company Data Point (Text)
392
+ # Data Point (Text) for Company
393
393
  # Returns a text value for the given `tag` for the Company with the given `identifier`
394
394
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
395
395
  # @param tag An Intrinio data tag
@@ -400,7 +400,7 @@ module Intrinio
400
400
  return data
401
401
  end
402
402
 
403
- # Get Company Data Point (Text)
403
+ # Data Point (Text) for Company
404
404
  # Returns a text value for the given &#x60;tag&#x60; for the Company with the given &#x60;identifier&#x60;
405
405
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
406
406
  # @param tag An Intrinio data tag
@@ -448,7 +448,7 @@ module Intrinio
448
448
  return data, status_code, headers
449
449
  end
450
450
 
451
- # Get Filings for a Company
451
+ # All Filings by Company
452
452
  # Returns a complete list of SEC filings for the Company with the given `identifier`
453
453
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
454
454
  # @param [Hash] opts the optional parameters
@@ -459,7 +459,7 @@ module Intrinio
459
459
  return data
460
460
  end
461
461
 
462
- # Get Filings for a Company
462
+ # All Filings by Company
463
463
  # Returns a complete list of SEC filings for the Company with the given &#x60;identifier&#x60;
464
464
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
465
465
  # @param [Hash] opts the optional parameters
@@ -504,7 +504,7 @@ module Intrinio
504
504
  return data, status_code, headers
505
505
  end
506
506
 
507
- # Get All Fundamentals for a Company
507
+ # All Fundamentals by Company
508
508
  # Returns all Fundamentals for the Company with the given `identifier`
509
509
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
510
510
  # @param [Hash] opts the optional parameters
@@ -515,7 +515,7 @@ module Intrinio
515
515
  return data
516
516
  end
517
517
 
518
- # Get All Fundamentals for a Company
518
+ # All Fundamentals by Company
519
519
  # Returns all Fundamentals for the Company with the given &#x60;identifier&#x60;
520
520
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
521
521
  # @param [Hash] opts the optional parameters
@@ -560,11 +560,12 @@ module Intrinio
560
560
  return data, status_code, headers
561
561
  end
562
562
 
563
- # Get Company Historical Data
563
+ # Historical Data for Company
564
564
  # Returns historical values for the given `tag` and the Company with the given `identifier`
565
565
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
566
- # @param tag Item
566
+ # @param tag An Intrinio data-tag
567
567
  # @param [Hash] opts the optional parameters
568
+ # @option opts [String] :frequency Return historical data in the given frequency (default to daily)
568
569
  # @option opts [String] :type Filter by type, when applicable
569
570
  # @option opts [Date] :start_date Get historical data on or after this date
570
571
  # @option opts [Date] :end_date Get historical data on or before this date
@@ -576,11 +577,12 @@ module Intrinio
576
577
  return data
577
578
  end
578
579
 
579
- # Get Company Historical Data
580
+ # Historical Data for Company
580
581
  # Returns historical values for the given &#x60;tag&#x60; and the Company with the given &#x60;identifier&#x60;
581
582
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
582
- # @param tag Item
583
+ # @param tag An Intrinio data-tag
583
584
  # @param [Hash] opts the optional parameters
585
+ # @option opts [String] :frequency Return historical data in the given frequency
584
586
  # @option opts [String] :type Filter by type, when applicable
585
587
  # @option opts [Date] :start_date Get historical data on or after this date
586
588
  # @option opts [Date] :end_date Get historical data on or before this date
@@ -599,6 +601,9 @@ module Intrinio
599
601
  if @api_client.config.client_side_validation && tag.nil?
600
602
  fail ArgumentError, "Missing the required parameter 'tag' when calling CompanyApi.get_company_historical_data"
601
603
  end
604
+ if @api_client.config.client_side_validation && opts[:'frequency'] && !['daily', 'weekly', 'monthly', 'quarterly', 'yearly'].include?(opts[:'frequency'])
605
+ fail ArgumentError, 'invalid value for "frequency", must be one of daily, weekly, monthly, quarterly, yearly'
606
+ end
602
607
  if @api_client.config.client_side_validation && opts[:'sort_order'] && !['asc', 'desc'].include?(opts[:'sort_order'])
603
608
  fail ArgumentError, 'invalid value for "sort_order", must be one of asc, desc'
604
609
  end
@@ -607,6 +612,7 @@ module Intrinio
607
612
 
608
613
  # query parameters
609
614
  query_params = {}
615
+ query_params[:'frequency'] = opts[:'frequency'] if !opts[:'frequency'].nil?
610
616
  query_params[:'type'] = opts[:'type'] if !opts[:'type'].nil?
611
617
  query_params[:'start_date'] = opts[:'start_date'] if !opts[:'start_date'].nil?
612
618
  query_params[:'end_date'] = opts[:'end_date'] if !opts[:'end_date'].nil?
@@ -637,7 +643,7 @@ module Intrinio
637
643
  return data, status_code, headers
638
644
  end
639
645
 
640
- # Get News for a Company
646
+ # All News by Company
641
647
  # Returns news for the Company with the given `identifier`
642
648
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
643
649
  # @param [Hash] opts the optional parameters
@@ -648,7 +654,7 @@ module Intrinio
648
654
  return data
649
655
  end
650
656
 
651
- # Get News for a Company
657
+ # All News by Company
652
658
  # Returns news for the Company with the given &#x60;identifier&#x60;
653
659
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
654
660
  # @param [Hash] opts the optional parameters
@@ -693,8 +699,8 @@ module Intrinio
693
699
  return data, status_code, headers
694
700
  end
695
701
 
696
- # Get Securities by Company
697
- # Return Securities for the Company with `identifier`
702
+ # All Securities by Company
703
+ # Returns Securities for the Company with the given `identifier`
698
704
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
699
705
  # @param [Hash] opts the optional parameters
700
706
  # @option opts [String] :next_page Gets the next page of data from a previous API call
@@ -704,8 +710,8 @@ module Intrinio
704
710
  return data
705
711
  end
706
712
 
707
- # Get Securities by Company
708
- # Return Securities for the Company with &#x60;identifier&#x60;
713
+ # All Securities by Company
714
+ # Returns Securities for the Company with the given &#x60;identifier&#x60;
709
715
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
710
716
  # @param [Hash] opts the optional parameters
711
717
  # @option opts [String] :next_page Gets the next page of data from a previous API call
@@ -749,7 +755,7 @@ module Intrinio
749
755
  return data, status_code, headers
750
756
  end
751
757
 
752
- # Lookup a Fundamental for a Company
758
+ # Lookup Fundamental by Company
753
759
  # Returns the Fundamental for the Company with the given `identifier` and with the given parameters
754
760
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
755
761
  # @param statement_code The statement code
@@ -762,7 +768,7 @@ module Intrinio
762
768
  return data
763
769
  end
764
770
 
765
- # Lookup a Fundamental for a Company
771
+ # Lookup Fundamental by Company
766
772
  # Returns the Fundamental for the Company with the given &#x60;identifier&#x60; and with the given parameters
767
773
  # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
768
774
  # @param statement_code The statement code
@@ -3,7 +3,7 @@
3
3
 
4
4
  #Welcome to the Intrinio API! Through our Financial Data Marketplace, we offer a wide selection of financial data feed APIs sourced by our own proprietary processes as well as from many data vendors. For a complete API request / response reference please view the [Intrinio API documentation](https://intrinio.com/documentation/api_v2). If you need additional help in using the API, please visit the [Intrinio website](https://intrinio.com) and click on the chat icon in the lower right corner.
5
5
 
6
- OpenAPI spec version: 2.0.0
6
+ OpenAPI spec version: 2.1.0
7
7
 
8
8
  Generated by: https://github.com/swagger-api/swagger-codegen.git
9
9
  Swagger Codegen version: 2.3.0-SNAPSHOT
@@ -20,7 +20,7 @@ module Intrinio
20
20
  @api_client = api_client
21
21
  end
22
22
 
23
- # Get a Data Point (Number)
23
+ # Data Point (Number)
24
24
  # Returns a numeric value for the given `tag` and the entity with the given `identifier`
25
25
  # @param identifier An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
26
26
  # @param tag An Intrinio data tag ID or code-name
@@ -31,7 +31,7 @@ module Intrinio
31
31
  return data
32
32
  end
33
33
 
34
- # Get a Data Point (Number)
34
+ # Data Point (Number)
35
35
  # Returns a numeric value for the given &#x60;tag&#x60; and the entity with the given &#x60;identifier&#x60;
36
36
  # @param identifier An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
37
37
  # @param tag An Intrinio data tag ID or code-name
@@ -79,7 +79,7 @@ module Intrinio
79
79
  return data, status_code, headers
80
80
  end
81
81
 
82
- # Get a Data Point (Text)
82
+ # Data Point (Text)
83
83
  # Returns a text value for the given `tag` and the entity with the given `identifier`
84
84
  # @param identifier An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
85
85
  # @param tag An Intrinio data tag ID or code-name
@@ -90,7 +90,7 @@ module Intrinio
90
90
  return data
91
91
  end
92
92
 
93
- # Get a Data Point (Text)
93
+ # Data Point (Text)
94
94
  # Returns a text value for the given &#x60;tag&#x60; and the entity with the given &#x60;identifier&#x60;
95
95
  # @param identifier An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
96
96
  # @param tag An Intrinio data tag ID or code-name