intrinio-sdk 1.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (213) hide show
  1. checksums.yaml +7 -0
  2. data/Gemfile +7 -0
  3. data/README.md +176 -0
  4. data/Rakefile +8 -0
  5. data/docs/ApiResponseCompanies.md +9 -0
  6. data/docs/ApiResponseCompanyFilings.md +10 -0
  7. data/docs/ApiResponseCompanyFundamentals.md +10 -0
  8. data/docs/ApiResponseCompanyHistoricalData.md +10 -0
  9. data/docs/ApiResponseCompanyNews.md +10 -0
  10. data/docs/ApiResponseCompanySecurities.md +10 -0
  11. data/docs/ApiResponseDataTags.md +9 -0
  12. data/docs/ApiResponseEconomicIndexHistoricalData.md +10 -0
  13. data/docs/ApiResponseEconomicIndices.md +9 -0
  14. data/docs/ApiResponseFilings.md +9 -0
  15. data/docs/ApiResponseHistoricalData.md +9 -0
  16. data/docs/ApiResponseNews.md +9 -0
  17. data/docs/ApiResponseReportedFinancials.md +10 -0
  18. data/docs/ApiResponseSICIndexHistoricalData.md +10 -0
  19. data/docs/ApiResponseSICIndices.md +9 -0
  20. data/docs/ApiResponseSecurities.md +9 -0
  21. data/docs/ApiResponseSecurityHistoricalData.md +10 -0
  22. data/docs/ApiResponseSecurityStockPriceAdjustments.md +10 -0
  23. data/docs/ApiResponseSecurityStockPrices.md +10 -0
  24. data/docs/ApiResponseStandardizedFinancials.md +10 -0
  25. data/docs/ApiResponseStockExchangeSecurities.md +10 -0
  26. data/docs/ApiResponseStockExchangeStockPriceAdjustments.md +10 -0
  27. data/docs/ApiResponseStockExchangeStockPrices.md +10 -0
  28. data/docs/ApiResponseStockExchanges.md +9 -0
  29. data/docs/ApiResponseStockMarketIndexHistoricalData.md +10 -0
  30. data/docs/ApiResponseStockMarketIndices.md +9 -0
  31. data/docs/Company.md +39 -0
  32. data/docs/CompanyApi.md +659 -0
  33. data/docs/CompanyFiling.md +17 -0
  34. data/docs/CompanyNews.md +13 -0
  35. data/docs/CompanyNewsSummary.md +12 -0
  36. data/docs/CompanySummary.md +12 -0
  37. data/docs/DataPointApi.md +96 -0
  38. data/docs/DataTag.md +17 -0
  39. data/docs/DataTagApi.md +184 -0
  40. data/docs/DataTagSummary.md +11 -0
  41. data/docs/EconomicIndex.md +19 -0
  42. data/docs/EconomicIndexSummary.md +18 -0
  43. data/docs/Filing.md +17 -0
  44. data/docs/FilingApi.md +142 -0
  45. data/docs/FilingSummary.md +16 -0
  46. data/docs/Fundamental.md +16 -0
  47. data/docs/FundamentalSummary.md +15 -0
  48. data/docs/FundamentalsApi.md +181 -0
  49. data/docs/HistoricalData.md +9 -0
  50. data/docs/HistoricalDataApi.md +64 -0
  51. data/docs/IndexApi.md +800 -0
  52. data/docs/ReportedFinancial.md +9 -0
  53. data/docs/ReportedTag.md +14 -0
  54. data/docs/SICIndex.md +12 -0
  55. data/docs/Security.md +34 -0
  56. data/docs/SecurityApi.md +420 -0
  57. data/docs/SecurityScreenClause.md +10 -0
  58. data/docs/SecurityScreenGroup.md +10 -0
  59. data/docs/SecurityScreenResult.md +9 -0
  60. data/docs/SecurityScreenResultData.md +10 -0
  61. data/docs/SecuritySummary.md +17 -0
  62. data/docs/StandardizedFinancial.md +9 -0
  63. data/docs/StockExchange.md +17 -0
  64. data/docs/StockExchangeApi.md +267 -0
  65. data/docs/StockMarketIndex.md +17 -0
  66. data/docs/StockMarketIndexSummary.md +16 -0
  67. data/docs/StockPrice.md +21 -0
  68. data/docs/StockPriceAdjustment.md +12 -0
  69. data/docs/StockPriceAdjustmentSummary.md +13 -0
  70. data/docs/StockPriceSummary.md +20 -0
  71. data/git_push.sh +55 -0
  72. data/intrinio-sdk.gemspec +45 -0
  73. data/lib/intrinio-sdk.rb +105 -0
  74. data/lib/intrinio-sdk/api/company_api.rb +885 -0
  75. data/lib/intrinio-sdk/api/data_point_api.rb +141 -0
  76. data/lib/intrinio-sdk/api/data_tag_api.rb +251 -0
  77. data/lib/intrinio-sdk/api/filing_api.rb +192 -0
  78. data/lib/intrinio-sdk/api/fundamentals_api.rb +261 -0
  79. data/lib/intrinio-sdk/api/historical_data_api.rb +100 -0
  80. data/lib/intrinio-sdk/api/index_api.rb +1079 -0
  81. data/lib/intrinio-sdk/api/security_api.rb +568 -0
  82. data/lib/intrinio-sdk/api/stock_exchange_api.rb +353 -0
  83. data/lib/intrinio-sdk/api_client.rb +389 -0
  84. data/lib/intrinio-sdk/api_error.rb +38 -0
  85. data/lib/intrinio-sdk/configuration.rb +209 -0
  86. data/lib/intrinio-sdk/models/api_response_companies.rb +200 -0
  87. data/lib/intrinio-sdk/models/api_response_company_filings.rb +209 -0
  88. data/lib/intrinio-sdk/models/api_response_company_fundamentals.rb +209 -0
  89. data/lib/intrinio-sdk/models/api_response_company_historical_data.rb +209 -0
  90. data/lib/intrinio-sdk/models/api_response_company_news.rb +209 -0
  91. data/lib/intrinio-sdk/models/api_response_company_securities.rb +209 -0
  92. data/lib/intrinio-sdk/models/api_response_data_tags.rb +200 -0
  93. data/lib/intrinio-sdk/models/api_response_economic_index_historical_data.rb +209 -0
  94. data/lib/intrinio-sdk/models/api_response_economic_indices.rb +200 -0
  95. data/lib/intrinio-sdk/models/api_response_filings.rb +200 -0
  96. data/lib/intrinio-sdk/models/api_response_historical_data.rb +200 -0
  97. data/lib/intrinio-sdk/models/api_response_news.rb +200 -0
  98. data/lib/intrinio-sdk/models/api_response_reported_financials.rb +209 -0
  99. data/lib/intrinio-sdk/models/api_response_securities.rb +200 -0
  100. data/lib/intrinio-sdk/models/api_response_security_historical_data.rb +209 -0
  101. data/lib/intrinio-sdk/models/api_response_security_stock_price_adjustments.rb +211 -0
  102. data/lib/intrinio-sdk/models/api_response_security_stock_prices.rb +211 -0
  103. data/lib/intrinio-sdk/models/api_response_sic_index_historical_data.rb +209 -0
  104. data/lib/intrinio-sdk/models/api_response_sic_indices.rb +200 -0
  105. data/lib/intrinio-sdk/models/api_response_standardized_financials.rb +209 -0
  106. data/lib/intrinio-sdk/models/api_response_stock_exchange_securities.rb +211 -0
  107. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments.rb +211 -0
  108. data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_prices.rb +211 -0
  109. data/lib/intrinio-sdk/models/api_response_stock_exchanges.rb +200 -0
  110. data/lib/intrinio-sdk/models/api_response_stock_market_index_historical_data.rb +209 -0
  111. data/lib/intrinio-sdk/models/api_response_stock_market_indices.rb +200 -0
  112. data/lib/intrinio-sdk/models/company.rb +498 -0
  113. data/lib/intrinio-sdk/models/company_filing.rb +278 -0
  114. data/lib/intrinio-sdk/models/company_news.rb +239 -0
  115. data/lib/intrinio-sdk/models/company_news_summary.rb +229 -0
  116. data/lib/intrinio-sdk/models/company_summary.rb +229 -0
  117. data/lib/intrinio-sdk/models/data_tag.rb +312 -0
  118. data/lib/intrinio-sdk/models/data_tag_summary.rb +219 -0
  119. data/lib/intrinio-sdk/models/economic_index.rb +299 -0
  120. data/lib/intrinio-sdk/models/economic_index_summary.rb +289 -0
  121. data/lib/intrinio-sdk/models/filing.rb +278 -0
  122. data/lib/intrinio-sdk/models/filing_summary.rb +269 -0
  123. data/lib/intrinio-sdk/models/fundamental.rb +302 -0
  124. data/lib/intrinio-sdk/models/fundamental_summary.rb +292 -0
  125. data/lib/intrinio-sdk/models/historical_data.rb +199 -0
  126. data/lib/intrinio-sdk/models/reported_financial.rb +198 -0
  127. data/lib/intrinio-sdk/models/reported_tag.rb +249 -0
  128. data/lib/intrinio-sdk/models/security.rb +453 -0
  129. data/lib/intrinio-sdk/models/security_screen_clause.rb +242 -0
  130. data/lib/intrinio-sdk/models/security_screen_group.rb +213 -0
  131. data/lib/intrinio-sdk/models/security_screen_result.rb +199 -0
  132. data/lib/intrinio-sdk/models/security_screen_result_data.rb +209 -0
  133. data/lib/intrinio-sdk/models/security_summary.rb +279 -0
  134. data/lib/intrinio-sdk/models/sic_index.rb +229 -0
  135. data/lib/intrinio-sdk/models/standardized_financial.rb +198 -0
  136. data/lib/intrinio-sdk/models/stock_exchange.rb +279 -0
  137. data/lib/intrinio-sdk/models/stock_market_index.rb +279 -0
  138. data/lib/intrinio-sdk/models/stock_market_index_summary.rb +269 -0
  139. data/lib/intrinio-sdk/models/stock_price.rb +352 -0
  140. data/lib/intrinio-sdk/models/stock_price_adjustment.rb +229 -0
  141. data/lib/intrinio-sdk/models/stock_price_adjustment_summary.rb +239 -0
  142. data/lib/intrinio-sdk/models/stock_price_summary.rb +342 -0
  143. data/lib/intrinio-sdk/version.rb +15 -0
  144. data/spec/api/company_api_spec.rb +233 -0
  145. data/spec/api/data_point_api_spec.rb +61 -0
  146. data/spec/api/data_tag_api_spec.rb +88 -0
  147. data/spec/api/filing_api_spec.rb +75 -0
  148. data/spec/api/fundamentals_api_spec.rb +86 -0
  149. data/spec/api/historical_data_api_spec.rb +53 -0
  150. data/spec/api/index_api_spec.rb +275 -0
  151. data/spec/api/security_api_spec.rb +161 -0
  152. data/spec/api/stock_exchange_api_spec.rb +113 -0
  153. data/spec/api_client_spec.rb +226 -0
  154. data/spec/configuration_spec.rb +42 -0
  155. data/spec/models/api_response_companies_spec.rb +48 -0
  156. data/spec/models/api_response_company_filings_spec.rb +54 -0
  157. data/spec/models/api_response_company_fundamentals_spec.rb +54 -0
  158. data/spec/models/api_response_company_historical_data_spec.rb +54 -0
  159. data/spec/models/api_response_company_news_spec.rb +54 -0
  160. data/spec/models/api_response_company_securities_spec.rb +54 -0
  161. data/spec/models/api_response_data_tags_spec.rb +48 -0
  162. data/spec/models/api_response_economic_index_historical_data_spec.rb +54 -0
  163. data/spec/models/api_response_economic_indices_spec.rb +48 -0
  164. data/spec/models/api_response_filings_spec.rb +48 -0
  165. data/spec/models/api_response_historical_data_spec.rb +48 -0
  166. data/spec/models/api_response_news_spec.rb +48 -0
  167. data/spec/models/api_response_reported_financials_spec.rb +54 -0
  168. data/spec/models/api_response_securities_spec.rb +48 -0
  169. data/spec/models/api_response_security_historical_data_spec.rb +54 -0
  170. data/spec/models/api_response_security_stock_price_adjustments_spec.rb +54 -0
  171. data/spec/models/api_response_security_stock_prices_spec.rb +54 -0
  172. data/spec/models/api_response_sic_index_historical_data_spec.rb +54 -0
  173. data/spec/models/api_response_sic_indices_spec.rb +48 -0
  174. data/spec/models/api_response_standardized_financials_spec.rb +54 -0
  175. data/spec/models/api_response_stock_exchange_securities_spec.rb +54 -0
  176. data/spec/models/api_response_stock_exchange_stock_price_adjustments_spec.rb +54 -0
  177. data/spec/models/api_response_stock_exchange_stock_prices_spec.rb +54 -0
  178. data/spec/models/api_response_stock_exchanges_spec.rb +48 -0
  179. data/spec/models/api_response_stock_market_index_historical_data_spec.rb +54 -0
  180. data/spec/models/api_response_stock_market_indices_spec.rb +48 -0
  181. data/spec/models/company_filing_spec.rb +96 -0
  182. data/spec/models/company_news_spec.rb +72 -0
  183. data/spec/models/company_news_summary_spec.rb +66 -0
  184. data/spec/models/company_spec.rb +228 -0
  185. data/spec/models/company_summary_spec.rb +66 -0
  186. data/spec/models/data_tag_spec.rb +100 -0
  187. data/spec/models/data_tag_summary_spec.rb +60 -0
  188. data/spec/models/economic_index_spec.rb +108 -0
  189. data/spec/models/economic_index_summary_spec.rb +102 -0
  190. data/spec/models/filing_spec.rb +96 -0
  191. data/spec/models/filing_summary_spec.rb +90 -0
  192. data/spec/models/fundamental_spec.rb +94 -0
  193. data/spec/models/fundamental_summary_spec.rb +88 -0
  194. data/spec/models/historical_data_spec.rb +48 -0
  195. data/spec/models/reported_financial_spec.rb +48 -0
  196. data/spec/models/reported_tag_spec.rb +78 -0
  197. data/spec/models/security_screen_clause_spec.rb +58 -0
  198. data/spec/models/security_screen_group_spec.rb +54 -0
  199. data/spec/models/security_screen_result_data_spec.rb +54 -0
  200. data/spec/models/security_screen_result_spec.rb +48 -0
  201. data/spec/models/security_spec.rb +198 -0
  202. data/spec/models/security_summary_spec.rb +96 -0
  203. data/spec/models/sic_index_spec.rb +66 -0
  204. data/spec/models/standardized_financial_spec.rb +48 -0
  205. data/spec/models/stock_exchange_spec.rb +96 -0
  206. data/spec/models/stock_market_index_spec.rb +96 -0
  207. data/spec/models/stock_market_index_summary_spec.rb +90 -0
  208. data/spec/models/stock_price_adjustment_spec.rb +66 -0
  209. data/spec/models/stock_price_adjustment_summary_spec.rb +72 -0
  210. data/spec/models/stock_price_spec.rb +124 -0
  211. data/spec/models/stock_price_summary_spec.rb +118 -0
  212. data/spec/spec_helper.rb +111 -0
  213. metadata +509 -0
@@ -0,0 +1,15 @@
1
+ =begin
2
+ #Intrinio API
3
+
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
+
6
+ OpenAPI spec version: 2.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ module Intrinio
14
+ VERSION = "1.0.0"
15
+ end
@@ -0,0 +1,233 @@
1
+ =begin
2
+ #Intrinio API
3
+
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
+
6
+ OpenAPI spec version: 2.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Intrinio::CompanyApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'CompanyApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = Intrinio::CompanyApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of CompanyApi' do
30
+ it 'should create an instance of CompanyApi' do
31
+ expect(@instance).to be_instance_of(Intrinio::CompanyApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for filter_companies
36
+ # Filter Companies
37
+ # Returns Companies matching the specified filters
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [Date] :last_filing_date Last filing date
40
+ # @option opts [String] :sic Standard Industrial Classification code
41
+ # @option opts [String] :template Template
42
+ # @option opts [String] :sector Industry sector
43
+ # @option opts [String] :industry_category Industry category
44
+ # @option opts [String] :industry_group Industry group
45
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
46
+ # @return [ApiResponseCompanies]
47
+ describe 'filter_companies test' do
48
+ it "should work" do
49
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
50
+ end
51
+ end
52
+
53
+ # unit tests for filter_company_fundamentals
54
+ # Filter Fundamentals for a Company
55
+ # Returns Fundamentals for the Company with the given `identifier` and matching the specified filters
56
+ # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
57
+ # @param [Hash] opts the optional parameters
58
+ # @option opts [Date] :filed_after Filed on or after this date
59
+ # @option opts [Date] :filed_before Filed on or before this date
60
+ # @option opts [BOOLEAN] :reported_only Only as-reported fundamentals
61
+ # @option opts [Integer] :fiscal_year Only for the given fiscal year
62
+ # @option opts [String] :statement_code Only of the given statement code
63
+ # @option opts [String] :type Only of the given type
64
+ # @option opts [Date] :start_date Only on or after the given date
65
+ # @option opts [Date] :end_date Only on or before the given date
66
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
67
+ # @return [ApiResponseCompanyFundamentals]
68
+ describe 'filter_company_fundamentals test' do
69
+ it "should work" do
70
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
71
+ end
72
+ end
73
+
74
+ # unit tests for get_all_companies
75
+ # Get All Companies
76
+ #
77
+ # @param [Hash] opts the optional parameters
78
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
79
+ # @return [ApiResponseCompanies]
80
+ describe 'get_all_companies test' do
81
+ it "should work" do
82
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
83
+ end
84
+ end
85
+
86
+ # unit tests for get_all_company_news
87
+ # Get All Company News
88
+ # Returns all news for all companies
89
+ # @param [Hash] opts the optional parameters
90
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
91
+ # @return [ApiResponseNews]
92
+ describe 'get_all_company_news test' do
93
+ it "should work" do
94
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
95
+ end
96
+ end
97
+
98
+ # unit tests for get_company
99
+ # Get a Company by ID
100
+ #
101
+ # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
102
+ # @param [Hash] opts the optional parameters
103
+ # @return [Company]
104
+ describe 'get_company test' do
105
+ it "should work" do
106
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
107
+ end
108
+ end
109
+
110
+ # unit tests for get_company_data_point_number
111
+ # Get Company Data Point (Number)
112
+ # Returns a numeric value for the given `tag` for the Company with the given `identifier`
113
+ # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
114
+ # @param tag An Intrinio data tag
115
+ # @param [Hash] opts the optional parameters
116
+ # @return [Float]
117
+ describe 'get_company_data_point_number test' do
118
+ it "should work" do
119
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
120
+ end
121
+ end
122
+
123
+ # unit tests for get_company_data_point_text
124
+ # Get Company Data Point (Text)
125
+ # Returns a text value for the given `tag` for the Company with the given `identifier`
126
+ # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
127
+ # @param tag An Intrinio data tag
128
+ # @param [Hash] opts the optional parameters
129
+ # @return [String]
130
+ describe 'get_company_data_point_text test' do
131
+ it "should work" do
132
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
133
+ end
134
+ end
135
+
136
+ # unit tests for get_company_filings
137
+ # Get Filings for a Company
138
+ # Returns a complete list of SEC filings for the Company with the given `identifier`
139
+ # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
140
+ # @param [Hash] opts the optional parameters
141
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
142
+ # @return [ApiResponseCompanyFilings]
143
+ describe 'get_company_filings test' do
144
+ it "should work" do
145
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
146
+ end
147
+ end
148
+
149
+ # unit tests for get_company_fundamentals
150
+ # Get All Fundamentals for a Company
151
+ # Returns all Fundamentals for the Company with the given `identifier`
152
+ # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
153
+ # @param [Hash] opts the optional parameters
154
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
155
+ # @return [ApiResponseCompanyFundamentals]
156
+ describe 'get_company_fundamentals test' do
157
+ it "should work" do
158
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
159
+ end
160
+ end
161
+
162
+ # unit tests for get_company_historical_data
163
+ # Get Company Historical Data
164
+ # Returns historical values for the given `tag` and the Company with the given `identifier`
165
+ # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
166
+ # @param tag Item
167
+ # @param [Hash] opts the optional parameters
168
+ # @option opts [String] :type Filter by type, when applicable
169
+ # @option opts [Date] :start_date Get historical data on or after this date
170
+ # @option opts [Date] :end_date Get historical data on or before this date
171
+ # @option opts [String] :sort_order Sort by date `asc` or `desc`
172
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
173
+ # @return [ApiResponseCompanyHistoricalData]
174
+ describe 'get_company_historical_data test' do
175
+ it "should work" do
176
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
177
+ end
178
+ end
179
+
180
+ # unit tests for get_company_news
181
+ # Get News for a Company
182
+ # Returns news for the Company with the given `identifier`
183
+ # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
184
+ # @param [Hash] opts the optional parameters
185
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
186
+ # @return [ApiResponseCompanyNews]
187
+ describe 'get_company_news test' do
188
+ it "should work" do
189
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
190
+ end
191
+ end
192
+
193
+ # unit tests for get_company_securities
194
+ # Get Securities by Company
195
+ # Return Securities for the Company with `identifier`
196
+ # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
197
+ # @param [Hash] opts the optional parameters
198
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
199
+ # @return [ApiResponseCompanySecurities]
200
+ describe 'get_company_securities test' do
201
+ it "should work" do
202
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
203
+ end
204
+ end
205
+
206
+ # unit tests for lookup_company_fundamental
207
+ # Lookup a Fundamental for a Company
208
+ # Returns the Fundamental for the Company with the given `identifier` and with the given parameters
209
+ # @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
210
+ # @param statement_code The statement code
211
+ # @param fiscal_period The fiscal period
212
+ # @param fiscal_year The fiscal year
213
+ # @param [Hash] opts the optional parameters
214
+ # @return [Fundamental]
215
+ describe 'lookup_company_fundamental test' do
216
+ it "should work" do
217
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
218
+ end
219
+ end
220
+
221
+ # unit tests for search_companies
222
+ # Search Companies
223
+ # Searches for Companies matching the text `query`
224
+ # @param query Search parameters
225
+ # @param [Hash] opts the optional parameters
226
+ # @return [ApiResponseCompanies]
227
+ describe 'search_companies test' do
228
+ it "should work" do
229
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
230
+ end
231
+ end
232
+
233
+ end
@@ -0,0 +1,61 @@
1
+ =begin
2
+ #Intrinio API
3
+
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
+
6
+ OpenAPI spec version: 2.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Intrinio::DataPointApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'DataPointApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = Intrinio::DataPointApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DataPointApi' do
30
+ it 'should create an instance of DataPointApi' do
31
+ expect(@instance).to be_instance_of(Intrinio::DataPointApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for get_data_point_number
36
+ # Get a Data Point (Number)
37
+ # Returns a numeric value for the given `tag` and the entity with the given `identifier`
38
+ # @param identifier An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
39
+ # @param tag An Intrinio data tag ID or code-name
40
+ # @param [Hash] opts the optional parameters
41
+ # @return [Float]
42
+ describe 'get_data_point_number test' do
43
+ it "should work" do
44
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
45
+ end
46
+ end
47
+
48
+ # unit tests for get_data_point_text
49
+ # Get a Data Point (Text)
50
+ # Returns a text value for the given `tag` and the entity with the given `identifier`
51
+ # @param identifier An identifier for an entity such as a Company, Security, Index, etc (Ticker, FIGI, ISIN, CUSIP, CIK, LEI, Intrinio ID)
52
+ # @param tag An Intrinio data tag ID or code-name
53
+ # @param [Hash] opts the optional parameters
54
+ # @return [String]
55
+ describe 'get_data_point_text test' do
56
+ it "should work" do
57
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
58
+ end
59
+ end
60
+
61
+ end
@@ -0,0 +1,88 @@
1
+ =begin
2
+ #Intrinio API
3
+
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
+
6
+ OpenAPI spec version: 2.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Intrinio::DataTagApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'DataTagApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = Intrinio::DataTagApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of DataTagApi' do
30
+ it 'should create an instance of DataTagApi' do
31
+ expect(@instance).to be_instance_of(Intrinio::DataTagApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for filter_data_tags
36
+ # Filter Data Tags
37
+ # Returns Data Tags that match the given filters
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :tag Tag
40
+ # @option opts [String] :type Type
41
+ # @option opts [String] :parent ID of tag parent
42
+ # @option opts [String] :statement_code Statement Code
43
+ # @option opts [String] :fs_template Template
44
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
45
+ # @return [ApiResponseDataTags]
46
+ describe 'filter_data_tags test' do
47
+ it "should work" do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ # unit tests for get_all_data_tags
53
+ # Get All Data Tags
54
+ # Returns All Data Tags
55
+ # @param [Hash] opts the optional parameters
56
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
57
+ # @return [ApiResponseDataTags]
58
+ describe 'get_all_data_tags test' do
59
+ it "should work" do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ # unit tests for get_data_tag_by_id
65
+ # Get a Data Tag by ID
66
+ # Returns a Data Tag with the specified `identifier`
67
+ # @param identifier The Intrinio ID or the code-name of the Data Tag
68
+ # @param [Hash] opts the optional parameters
69
+ # @return [DataTag]
70
+ describe 'get_data_tag_by_id test' do
71
+ it "should work" do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ # unit tests for search_data_tags
77
+ # Search Data Tags
78
+ # Searches for Data Tags matching the text `query`
79
+ # @param query
80
+ # @param [Hash] opts the optional parameters
81
+ # @return [ApiResponseDataTags]
82
+ describe 'search_data_tags test' do
83
+ it "should work" do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ end
@@ -0,0 +1,75 @@
1
+ =begin
2
+ #Intrinio API
3
+
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
+
6
+ OpenAPI spec version: 2.0.0
7
+
8
+ Generated by: https://github.com/swagger-api/swagger-codegen.git
9
+ Swagger Codegen version: 2.3.0-SNAPSHOT
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+
16
+ # Unit tests for Intrinio::FilingApi
17
+ # Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
18
+ # Please update as you see appropriate
19
+ describe 'FilingApi' do
20
+ before do
21
+ # run before each test
22
+ @instance = Intrinio::FilingApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of FilingApi' do
30
+ it 'should create an instance of FilingApi' do
31
+ expect(@instance).to be_instance_of(Intrinio::FilingApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for filter_filings
36
+ # Filter Filings
37
+ # Returns filings that match the specified filters
38
+ # @param company Filings for the given `company` identifier (ticker, CIK, LEI, Intrinio ID)
39
+ # @param [Hash] opts the optional parameters
40
+ # @option opts [String] :report_type Filter by report type
41
+ # @option opts [Date] :start_date Filed on or after the given date
42
+ # @option opts [Date] :end_date Filed before or after the given date
43
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
44
+ # @return [ApiResponseFilings]
45
+ describe 'filter_filings test' do
46
+ it "should work" do
47
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
+ end
49
+ end
50
+
51
+ # unit tests for get_all_filings
52
+ # Get All Filings
53
+ # Returns all filings
54
+ # @param [Hash] opts the optional parameters
55
+ # @option opts [String] :next_page Gets the next page of data from a previous API call
56
+ # @return [ApiResponseFilings]
57
+ describe 'get_all_filings test' do
58
+ it "should work" do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
63
+ # unit tests for get_filing_by_id
64
+ # Get a Filing by ID
65
+ # Return the filing with the given ID
66
+ # @param id The Intrinio ID of the Filing
67
+ # @param [Hash] opts the optional parameters
68
+ # @return [Filing]
69
+ describe 'get_filing_by_id test' do
70
+ it "should work" do
71
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
72
+ end
73
+ end
74
+
75
+ end