intrinio-sdk 5.13.0 → 5.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +6 -1
- data/docs/ApiResponseCompanyAnswers.md +25 -0
- data/docs/CompanyApi.md +80 -0
- data/docs/TheaEntityAnswer.md +25 -0
- data/docs/TheaSourceDocument.md +24 -0
- data/docs/TheaSourceDocumentTags.md +21 -0
- data/lib/intrinio-sdk.rb +4 -0
- data/lib/intrinio-sdk/api/company_api.rb +60 -0
- data/lib/intrinio-sdk/models/api_response_company_answers.rb +210 -0
- data/lib/intrinio-sdk/models/thea_entity_answer.rb +210 -0
- data/lib/intrinio-sdk/models/thea_source_document.rb +201 -0
- data/lib/intrinio-sdk/models/thea_source_document_tags.rb +199 -0
- data/lib/intrinio-sdk/version.rb +1 -1
- data/spec/api/company_api_spec.rb +13 -0
- data/spec/models/api_response_company_answers_spec.rb +54 -0
- data/spec/models/thea_entity_answer_spec.rb +54 -0
- data/spec/models/thea_source_document_spec.rb +48 -0
- data/spec/models/thea_source_document_tags_spec.rb +48 -0
- metadata +17 -1
data/lib/intrinio-sdk/version.rb
CHANGED
@@ -78,6 +78,19 @@ describe 'CompanyApi' do
|
|
78
78
|
end
|
79
79
|
end
|
80
80
|
|
81
|
+
# unit tests for get_company_answers
|
82
|
+
# Company Answers
|
83
|
+
# Returns answers for a question about the Company with the given `identifier`
|
84
|
+
# @param identifier A Company identifier (Ticker, CIK, LEI, Intrinio ID)
|
85
|
+
# @param query The query to ask the Thea API
|
86
|
+
# @param [Hash] opts the optional parameters
|
87
|
+
# @return [ApiResponseCompanyAnswers]
|
88
|
+
describe 'get_company_answers test' do
|
89
|
+
it "should work" do
|
90
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
91
|
+
end
|
92
|
+
end
|
93
|
+
|
81
94
|
# unit tests for get_company_data_point_number
|
82
95
|
# Data Point (Number) for Company
|
83
96
|
# Returns a numeric value for the given `tag` for the Company with the given `identifier`
|
@@ -0,0 +1,54 @@
|
|
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.23.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: unset
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Intrinio::ApiResponseCompanyAnswers
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'ApiResponseCompanyAnswers' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Intrinio::ApiResponseCompanyAnswers.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of ApiResponseCompanyAnswers' do
|
31
|
+
it 'should create an instance of ApiResponseCompanyAnswers' do
|
32
|
+
expect(@instance).to be_instance_of(Intrinio::ApiResponseCompanyAnswers)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "source"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "query"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "answers"' 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
|
+
end
|
54
|
+
|
@@ -0,0 +1,54 @@
|
|
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.23.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: unset
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Intrinio::TheaEntityAnswer
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'TheaEntityAnswer' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Intrinio::TheaEntityAnswer.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of TheaEntityAnswer' do
|
31
|
+
it 'should create an instance of TheaEntityAnswer' do
|
32
|
+
expect(@instance).to be_instance_of(Intrinio::TheaEntityAnswer)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "answer"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "content"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
describe 'test attribute "source_documents"' 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
|
+
end
|
54
|
+
|
@@ -0,0 +1,48 @@
|
|
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.23.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: unset
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Intrinio::TheaSourceDocument
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'TheaSourceDocument' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Intrinio::TheaSourceDocument.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of TheaSourceDocument' do
|
31
|
+
it 'should create an instance of TheaSourceDocument' do
|
32
|
+
expect(@instance).to be_instance_of(Intrinio::TheaSourceDocument)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "tags"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
|
@@ -0,0 +1,48 @@
|
|
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.23.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
Swagger Codegen version: unset
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for Intrinio::TheaSourceDocumentTags
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'TheaSourceDocumentTags' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = Intrinio::TheaSourceDocumentTags.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of TheaSourceDocumentTags' do
|
31
|
+
it 'should create an instance of TheaSourceDocumentTags' do
|
32
|
+
expect(@instance).to be_instance_of(Intrinio::TheaSourceDocumentTags)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "key"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
describe 'test attribute "value"' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
end
|
48
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: intrinio-sdk
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.13.
|
4
|
+
version: 5.13.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Intrinio
|
@@ -229,6 +229,7 @@ files:
|
|
229
229
|
- docs/ApiResponseBulkDownloadLinks.md
|
230
230
|
- docs/ApiResponseCompanies.md
|
231
231
|
- docs/ApiResponseCompaniesSearch.md
|
232
|
+
- docs/ApiResponseCompanyAnswers.md
|
232
233
|
- docs/ApiResponseCompanyFilings.md
|
233
234
|
- docs/ApiResponseCompanyFundamentals.md
|
234
235
|
- docs/ApiResponseCompanyHistoricalData.md
|
@@ -449,6 +450,9 @@ files:
|
|
449
450
|
- docs/StockPriceSummary.md
|
450
451
|
- docs/TechnicalApi.md
|
451
452
|
- docs/TechnicalIndicator.md
|
453
|
+
- docs/TheaEntityAnswer.md
|
454
|
+
- docs/TheaSourceDocument.md
|
455
|
+
- docs/TheaSourceDocumentTags.md
|
452
456
|
- docs/TripleExponentialAverageTechnicalValue.md
|
453
457
|
- docs/TrueStrengthIndexTechnicalValue.md
|
454
458
|
- docs/UltimateOscillatorTechnicalValue.md
|
@@ -503,6 +507,7 @@ files:
|
|
503
507
|
- lib/intrinio-sdk/models/api_response_bulk_download_links.rb
|
504
508
|
- lib/intrinio-sdk/models/api_response_companies.rb
|
505
509
|
- lib/intrinio-sdk/models/api_response_companies_search.rb
|
510
|
+
- lib/intrinio-sdk/models/api_response_company_answers.rb
|
506
511
|
- lib/intrinio-sdk/models/api_response_company_filings.rb
|
507
512
|
- lib/intrinio-sdk/models/api_response_company_fundamentals.rb
|
508
513
|
- lib/intrinio-sdk/models/api_response_company_historical_data.rb
|
@@ -706,6 +711,9 @@ files:
|
|
706
711
|
- lib/intrinio-sdk/models/stock_price_interval.rb
|
707
712
|
- lib/intrinio-sdk/models/stock_price_summary.rb
|
708
713
|
- lib/intrinio-sdk/models/technical_indicator.rb
|
714
|
+
- lib/intrinio-sdk/models/thea_entity_answer.rb
|
715
|
+
- lib/intrinio-sdk/models/thea_source_document.rb
|
716
|
+
- lib/intrinio-sdk/models/thea_source_document_tags.rb
|
709
717
|
- lib/intrinio-sdk/models/triple_exponential_average_technical_value.rb
|
710
718
|
- lib/intrinio-sdk/models/true_strength_index_technical_value.rb
|
711
719
|
- lib/intrinio-sdk/models/ultimate_oscillator_technical_value.rb
|
@@ -756,6 +764,7 @@ files:
|
|
756
764
|
- spec/models/api_response_bulk_download_links_spec.rb
|
757
765
|
- spec/models/api_response_companies_search_spec.rb
|
758
766
|
- spec/models/api_response_companies_spec.rb
|
767
|
+
- spec/models/api_response_company_answers_spec.rb
|
759
768
|
- spec/models/api_response_company_filings_spec.rb
|
760
769
|
- spec/models/api_response_company_fundamentals_spec.rb
|
761
770
|
- spec/models/api_response_company_historical_data_spec.rb
|
@@ -959,6 +968,9 @@ files:
|
|
959
968
|
- spec/models/stock_price_spec.rb
|
960
969
|
- spec/models/stock_price_summary_spec.rb
|
961
970
|
- spec/models/technical_indicator_spec.rb
|
971
|
+
- spec/models/thea_entity_answer_spec.rb
|
972
|
+
- spec/models/thea_source_document_spec.rb
|
973
|
+
- spec/models/thea_source_document_tags_spec.rb
|
962
974
|
- spec/models/triple_exponential_average_technical_value_spec.rb
|
963
975
|
- spec/models/true_strength_index_technical_value_spec.rb
|
964
976
|
- spec/models/ultimate_oscillator_technical_value_spec.rb
|
@@ -1039,6 +1051,7 @@ test_files:
|
|
1039
1051
|
- spec/models/stock_market_index_spec.rb
|
1040
1052
|
- spec/models/api_response_zacks_target_price_consensuses_spec.rb
|
1041
1053
|
- spec/models/api_response_option_prices_spec.rb
|
1054
|
+
- spec/models/thea_source_document_tags_spec.rb
|
1042
1055
|
- spec/models/api_response_security_intraday_prices_spec.rb
|
1043
1056
|
- spec/models/on_balance_volume_mean_technical_value_spec.rb
|
1044
1057
|
- spec/models/api_response_zacks_etf_holdings_spec.rb
|
@@ -1066,6 +1079,7 @@ test_files:
|
|
1066
1079
|
- spec/models/ultimate_oscillator_technical_value_spec.rb
|
1067
1080
|
- spec/models/api_response_sic_index_historical_data_spec.rb
|
1068
1081
|
- spec/models/vortex_indicator_technical_value_spec.rb
|
1082
|
+
- spec/models/thea_source_document_spec.rb
|
1069
1083
|
- spec/models/owner_summary_spec.rb
|
1070
1084
|
- spec/models/economic_index_summary_spec.rb
|
1071
1085
|
- spec/models/filing_summary_spec.rb
|
@@ -1099,6 +1113,7 @@ test_files:
|
|
1099
1113
|
- spec/models/api_response_stock_market_indices_spec.rb
|
1100
1114
|
- spec/models/zacks_eps_estimate_spec.rb
|
1101
1115
|
- spec/models/api_response_security_institutional_ownership_spec.rb
|
1116
|
+
- spec/models/thea_entity_answer_spec.rb
|
1102
1117
|
- spec/models/api_response_company_shares_outstanding_spec.rb
|
1103
1118
|
- spec/models/api_response_filing_notes_search_spec.rb
|
1104
1119
|
- spec/models/api_response_data_tags_spec.rb
|
@@ -1215,6 +1230,7 @@ test_files:
|
|
1215
1230
|
- spec/models/relative_strength_index_technical_value_spec.rb
|
1216
1231
|
- spec/models/api_response_options_tickers_spec.rb
|
1217
1232
|
- spec/models/api_response_company_news_spec.rb
|
1233
|
+
- spec/models/api_response_company_answers_spec.rb
|
1218
1234
|
- spec/models/api_response_security_know_sure_thing_spec.rb
|
1219
1235
|
- spec/models/zacks_analyst_rating_summary_spec.rb
|
1220
1236
|
- spec/models/keltner_channel_technical_value_spec.rb
|