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.
- checksums.yaml +7 -0
- data/Gemfile +7 -0
- data/README.md +176 -0
- data/Rakefile +8 -0
- data/docs/ApiResponseCompanies.md +9 -0
- data/docs/ApiResponseCompanyFilings.md +10 -0
- data/docs/ApiResponseCompanyFundamentals.md +10 -0
- data/docs/ApiResponseCompanyHistoricalData.md +10 -0
- data/docs/ApiResponseCompanyNews.md +10 -0
- data/docs/ApiResponseCompanySecurities.md +10 -0
- data/docs/ApiResponseDataTags.md +9 -0
- data/docs/ApiResponseEconomicIndexHistoricalData.md +10 -0
- data/docs/ApiResponseEconomicIndices.md +9 -0
- data/docs/ApiResponseFilings.md +9 -0
- data/docs/ApiResponseHistoricalData.md +9 -0
- data/docs/ApiResponseNews.md +9 -0
- data/docs/ApiResponseReportedFinancials.md +10 -0
- data/docs/ApiResponseSICIndexHistoricalData.md +10 -0
- data/docs/ApiResponseSICIndices.md +9 -0
- data/docs/ApiResponseSecurities.md +9 -0
- data/docs/ApiResponseSecurityHistoricalData.md +10 -0
- data/docs/ApiResponseSecurityStockPriceAdjustments.md +10 -0
- data/docs/ApiResponseSecurityStockPrices.md +10 -0
- data/docs/ApiResponseStandardizedFinancials.md +10 -0
- data/docs/ApiResponseStockExchangeSecurities.md +10 -0
- data/docs/ApiResponseStockExchangeStockPriceAdjustments.md +10 -0
- data/docs/ApiResponseStockExchangeStockPrices.md +10 -0
- data/docs/ApiResponseStockExchanges.md +9 -0
- data/docs/ApiResponseStockMarketIndexHistoricalData.md +10 -0
- data/docs/ApiResponseStockMarketIndices.md +9 -0
- data/docs/Company.md +39 -0
- data/docs/CompanyApi.md +659 -0
- data/docs/CompanyFiling.md +17 -0
- data/docs/CompanyNews.md +13 -0
- data/docs/CompanyNewsSummary.md +12 -0
- data/docs/CompanySummary.md +12 -0
- data/docs/DataPointApi.md +96 -0
- data/docs/DataTag.md +17 -0
- data/docs/DataTagApi.md +184 -0
- data/docs/DataTagSummary.md +11 -0
- data/docs/EconomicIndex.md +19 -0
- data/docs/EconomicIndexSummary.md +18 -0
- data/docs/Filing.md +17 -0
- data/docs/FilingApi.md +142 -0
- data/docs/FilingSummary.md +16 -0
- data/docs/Fundamental.md +16 -0
- data/docs/FundamentalSummary.md +15 -0
- data/docs/FundamentalsApi.md +181 -0
- data/docs/HistoricalData.md +9 -0
- data/docs/HistoricalDataApi.md +64 -0
- data/docs/IndexApi.md +800 -0
- data/docs/ReportedFinancial.md +9 -0
- data/docs/ReportedTag.md +14 -0
- data/docs/SICIndex.md +12 -0
- data/docs/Security.md +34 -0
- data/docs/SecurityApi.md +420 -0
- data/docs/SecurityScreenClause.md +10 -0
- data/docs/SecurityScreenGroup.md +10 -0
- data/docs/SecurityScreenResult.md +9 -0
- data/docs/SecurityScreenResultData.md +10 -0
- data/docs/SecuritySummary.md +17 -0
- data/docs/StandardizedFinancial.md +9 -0
- data/docs/StockExchange.md +17 -0
- data/docs/StockExchangeApi.md +267 -0
- data/docs/StockMarketIndex.md +17 -0
- data/docs/StockMarketIndexSummary.md +16 -0
- data/docs/StockPrice.md +21 -0
- data/docs/StockPriceAdjustment.md +12 -0
- data/docs/StockPriceAdjustmentSummary.md +13 -0
- data/docs/StockPriceSummary.md +20 -0
- data/git_push.sh +55 -0
- data/intrinio-sdk.gemspec +45 -0
- data/lib/intrinio-sdk.rb +105 -0
- data/lib/intrinio-sdk/api/company_api.rb +885 -0
- data/lib/intrinio-sdk/api/data_point_api.rb +141 -0
- data/lib/intrinio-sdk/api/data_tag_api.rb +251 -0
- data/lib/intrinio-sdk/api/filing_api.rb +192 -0
- data/lib/intrinio-sdk/api/fundamentals_api.rb +261 -0
- data/lib/intrinio-sdk/api/historical_data_api.rb +100 -0
- data/lib/intrinio-sdk/api/index_api.rb +1079 -0
- data/lib/intrinio-sdk/api/security_api.rb +568 -0
- data/lib/intrinio-sdk/api/stock_exchange_api.rb +353 -0
- data/lib/intrinio-sdk/api_client.rb +389 -0
- data/lib/intrinio-sdk/api_error.rb +38 -0
- data/lib/intrinio-sdk/configuration.rb +209 -0
- data/lib/intrinio-sdk/models/api_response_companies.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_company_filings.rb +209 -0
- data/lib/intrinio-sdk/models/api_response_company_fundamentals.rb +209 -0
- data/lib/intrinio-sdk/models/api_response_company_historical_data.rb +209 -0
- data/lib/intrinio-sdk/models/api_response_company_news.rb +209 -0
- data/lib/intrinio-sdk/models/api_response_company_securities.rb +209 -0
- data/lib/intrinio-sdk/models/api_response_data_tags.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_economic_index_historical_data.rb +209 -0
- data/lib/intrinio-sdk/models/api_response_economic_indices.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_filings.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_historical_data.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_news.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_reported_financials.rb +209 -0
- data/lib/intrinio-sdk/models/api_response_securities.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_security_historical_data.rb +209 -0
- data/lib/intrinio-sdk/models/api_response_security_stock_price_adjustments.rb +211 -0
- data/lib/intrinio-sdk/models/api_response_security_stock_prices.rb +211 -0
- data/lib/intrinio-sdk/models/api_response_sic_index_historical_data.rb +209 -0
- data/lib/intrinio-sdk/models/api_response_sic_indices.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_standardized_financials.rb +209 -0
- data/lib/intrinio-sdk/models/api_response_stock_exchange_securities.rb +211 -0
- data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments.rb +211 -0
- data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_prices.rb +211 -0
- data/lib/intrinio-sdk/models/api_response_stock_exchanges.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_stock_market_index_historical_data.rb +209 -0
- data/lib/intrinio-sdk/models/api_response_stock_market_indices.rb +200 -0
- data/lib/intrinio-sdk/models/company.rb +498 -0
- data/lib/intrinio-sdk/models/company_filing.rb +278 -0
- data/lib/intrinio-sdk/models/company_news.rb +239 -0
- data/lib/intrinio-sdk/models/company_news_summary.rb +229 -0
- data/lib/intrinio-sdk/models/company_summary.rb +229 -0
- data/lib/intrinio-sdk/models/data_tag.rb +312 -0
- data/lib/intrinio-sdk/models/data_tag_summary.rb +219 -0
- data/lib/intrinio-sdk/models/economic_index.rb +299 -0
- data/lib/intrinio-sdk/models/economic_index_summary.rb +289 -0
- data/lib/intrinio-sdk/models/filing.rb +278 -0
- data/lib/intrinio-sdk/models/filing_summary.rb +269 -0
- data/lib/intrinio-sdk/models/fundamental.rb +302 -0
- data/lib/intrinio-sdk/models/fundamental_summary.rb +292 -0
- data/lib/intrinio-sdk/models/historical_data.rb +199 -0
- data/lib/intrinio-sdk/models/reported_financial.rb +198 -0
- data/lib/intrinio-sdk/models/reported_tag.rb +249 -0
- data/lib/intrinio-sdk/models/security.rb +453 -0
- data/lib/intrinio-sdk/models/security_screen_clause.rb +242 -0
- data/lib/intrinio-sdk/models/security_screen_group.rb +213 -0
- data/lib/intrinio-sdk/models/security_screen_result.rb +199 -0
- data/lib/intrinio-sdk/models/security_screen_result_data.rb +209 -0
- data/lib/intrinio-sdk/models/security_summary.rb +279 -0
- data/lib/intrinio-sdk/models/sic_index.rb +229 -0
- data/lib/intrinio-sdk/models/standardized_financial.rb +198 -0
- data/lib/intrinio-sdk/models/stock_exchange.rb +279 -0
- data/lib/intrinio-sdk/models/stock_market_index.rb +279 -0
- data/lib/intrinio-sdk/models/stock_market_index_summary.rb +269 -0
- data/lib/intrinio-sdk/models/stock_price.rb +352 -0
- data/lib/intrinio-sdk/models/stock_price_adjustment.rb +229 -0
- data/lib/intrinio-sdk/models/stock_price_adjustment_summary.rb +239 -0
- data/lib/intrinio-sdk/models/stock_price_summary.rb +342 -0
- data/lib/intrinio-sdk/version.rb +15 -0
- data/spec/api/company_api_spec.rb +233 -0
- data/spec/api/data_point_api_spec.rb +61 -0
- data/spec/api/data_tag_api_spec.rb +88 -0
- data/spec/api/filing_api_spec.rb +75 -0
- data/spec/api/fundamentals_api_spec.rb +86 -0
- data/spec/api/historical_data_api_spec.rb +53 -0
- data/spec/api/index_api_spec.rb +275 -0
- data/spec/api/security_api_spec.rb +161 -0
- data/spec/api/stock_exchange_api_spec.rb +113 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/api_response_companies_spec.rb +48 -0
- data/spec/models/api_response_company_filings_spec.rb +54 -0
- data/spec/models/api_response_company_fundamentals_spec.rb +54 -0
- data/spec/models/api_response_company_historical_data_spec.rb +54 -0
- data/spec/models/api_response_company_news_spec.rb +54 -0
- data/spec/models/api_response_company_securities_spec.rb +54 -0
- data/spec/models/api_response_data_tags_spec.rb +48 -0
- data/spec/models/api_response_economic_index_historical_data_spec.rb +54 -0
- data/spec/models/api_response_economic_indices_spec.rb +48 -0
- data/spec/models/api_response_filings_spec.rb +48 -0
- data/spec/models/api_response_historical_data_spec.rb +48 -0
- data/spec/models/api_response_news_spec.rb +48 -0
- data/spec/models/api_response_reported_financials_spec.rb +54 -0
- data/spec/models/api_response_securities_spec.rb +48 -0
- data/spec/models/api_response_security_historical_data_spec.rb +54 -0
- data/spec/models/api_response_security_stock_price_adjustments_spec.rb +54 -0
- data/spec/models/api_response_security_stock_prices_spec.rb +54 -0
- data/spec/models/api_response_sic_index_historical_data_spec.rb +54 -0
- data/spec/models/api_response_sic_indices_spec.rb +48 -0
- data/spec/models/api_response_standardized_financials_spec.rb +54 -0
- data/spec/models/api_response_stock_exchange_securities_spec.rb +54 -0
- data/spec/models/api_response_stock_exchange_stock_price_adjustments_spec.rb +54 -0
- data/spec/models/api_response_stock_exchange_stock_prices_spec.rb +54 -0
- data/spec/models/api_response_stock_exchanges_spec.rb +48 -0
- data/spec/models/api_response_stock_market_index_historical_data_spec.rb +54 -0
- data/spec/models/api_response_stock_market_indices_spec.rb +48 -0
- data/spec/models/company_filing_spec.rb +96 -0
- data/spec/models/company_news_spec.rb +72 -0
- data/spec/models/company_news_summary_spec.rb +66 -0
- data/spec/models/company_spec.rb +228 -0
- data/spec/models/company_summary_spec.rb +66 -0
- data/spec/models/data_tag_spec.rb +100 -0
- data/spec/models/data_tag_summary_spec.rb +60 -0
- data/spec/models/economic_index_spec.rb +108 -0
- data/spec/models/economic_index_summary_spec.rb +102 -0
- data/spec/models/filing_spec.rb +96 -0
- data/spec/models/filing_summary_spec.rb +90 -0
- data/spec/models/fundamental_spec.rb +94 -0
- data/spec/models/fundamental_summary_spec.rb +88 -0
- data/spec/models/historical_data_spec.rb +48 -0
- data/spec/models/reported_financial_spec.rb +48 -0
- data/spec/models/reported_tag_spec.rb +78 -0
- data/spec/models/security_screen_clause_spec.rb +58 -0
- data/spec/models/security_screen_group_spec.rb +54 -0
- data/spec/models/security_screen_result_data_spec.rb +54 -0
- data/spec/models/security_screen_result_spec.rb +48 -0
- data/spec/models/security_spec.rb +198 -0
- data/spec/models/security_summary_spec.rb +96 -0
- data/spec/models/sic_index_spec.rb +66 -0
- data/spec/models/standardized_financial_spec.rb +48 -0
- data/spec/models/stock_exchange_spec.rb +96 -0
- data/spec/models/stock_market_index_spec.rb +96 -0
- data/spec/models/stock_market_index_summary_spec.rb +90 -0
- data/spec/models/stock_price_adjustment_spec.rb +66 -0
- data/spec/models/stock_price_adjustment_summary_spec.rb +72 -0
- data/spec/models/stock_price_spec.rb +124 -0
- data/spec/models/stock_price_summary_spec.rb +118 -0
- data/spec/spec_helper.rb +111 -0
- 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
|