intrinio-sdk 1.1.1 → 2.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +18 -8
- data/docs/ApiResponseCompaniesSearch.md +8 -0
- data/docs/ApiResponseDataTagsSearch.md +8 -0
- data/docs/ApiResponseEconomicIndicesSearch.md +8 -0
- data/docs/ApiResponseMunicipalities.md +9 -0
- data/docs/ApiResponseMunicipalitiyFinancials.md +9 -0
- data/docs/ApiResponseSICIndicesSearch.md +8 -0
- data/docs/ApiResponseSecuritiesSearch.md +8 -0
- data/docs/ApiResponseSecurityIntradayPrices.md +11 -0
- data/docs/ApiResponseStockMarketIndicesSearch.md +8 -0
- data/docs/CompanyApi.md +44 -115
- data/docs/DataTagApi.md +15 -51
- data/docs/FilingApi.md +19 -97
- data/docs/FundamentalSummary.md +1 -1
- data/docs/HistoricalDataApi.md +2 -0
- data/docs/IndexApi.md +33 -9
- data/docs/IntradayStockPrice.md +15 -0
- data/docs/Municipality.md +26 -0
- data/docs/MunicipalityApi.md +158 -0
- data/docs/MunicipalityFinancial.md +49 -0
- data/docs/RealtimeStockPrice.md +1 -1
- data/docs/SecurityApi.md +71 -4
- data/docs/StockExchangeApi.md +17 -42
- data/intrinio-sdk.gemspec +1 -1
- data/lib/intrinio-sdk.rb +14 -1
- data/lib/intrinio-sdk/api/company_api.rb +97 -154
- data/lib/intrinio-sdk/api/data_point_api.rb +1 -1
- data/lib/intrinio-sdk/api/data_tag_api.rb +27 -63
- data/lib/intrinio-sdk/api/filing_api.rb +42 -121
- data/lib/intrinio-sdk/api/fundamentals_api.rb +1 -1
- data/lib/intrinio-sdk/api/historical_data_api.rb +8 -1
- data/lib/intrinio-sdk/api/index_api.rb +73 -10
- data/lib/intrinio-sdk/api/municipality_api.rb +221 -0
- data/lib/intrinio-sdk/api/security_api.rb +117 -4
- data/lib/intrinio-sdk/api/stock_exchange_api.rb +45 -57
- data/lib/intrinio-sdk/api_client.rb +1 -1
- data/lib/intrinio-sdk/api_error.rb +1 -1
- data/lib/intrinio-sdk/configuration.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_companies.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_companies_search.rb +190 -0
- data/lib/intrinio-sdk/models/api_response_company_filings.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_fundamentals.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_news.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_company_securities.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_data_tags.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_data_tags_search.rb +190 -0
- data/lib/intrinio-sdk/models/api_response_economic_index_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_economic_indices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_economic_indices_search.rb +190 -0
- data/lib/intrinio-sdk/models/api_response_filing_notes.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_filing_notes_search.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_filings.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_municipalities.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_municipalitiy_financials.rb +199 -0
- data/lib/intrinio-sdk/models/api_response_news.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_reported_financials.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_securities.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_securities_search.rb +190 -0
- data/lib/intrinio-sdk/models/api_response_security_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_intraday_prices.rb +254 -0
- data/lib/intrinio-sdk/models/api_response_security_stock_price_adjustments.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_security_stock_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_sic_index_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_sic_indices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_sic_indices_search.rb +190 -0
- data/lib/intrinio-sdk/models/api_response_standardized_financials.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_realtime_stock_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_securities.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_price_adjustments.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_stock_prices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchanges.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_market_index_historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_market_indices.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_market_indices_search.rb +190 -0
- data/lib/intrinio-sdk/models/company.rb +1 -1
- data/lib/intrinio-sdk/models/company_filing.rb +1 -1
- data/lib/intrinio-sdk/models/company_news.rb +1 -1
- data/lib/intrinio-sdk/models/company_news_summary.rb +1 -1
- data/lib/intrinio-sdk/models/company_summary.rb +1 -1
- data/lib/intrinio-sdk/models/data_tag.rb +1 -1
- data/lib/intrinio-sdk/models/data_tag_summary.rb +1 -1
- data/lib/intrinio-sdk/models/dividend_record.rb +1 -1
- data/lib/intrinio-sdk/models/earnings_record.rb +1 -1
- data/lib/intrinio-sdk/models/economic_index.rb +1 -1
- data/lib/intrinio-sdk/models/economic_index_summary.rb +1 -1
- data/lib/intrinio-sdk/models/filing.rb +1 -1
- data/lib/intrinio-sdk/models/filing_note.rb +1 -1
- data/lib/intrinio-sdk/models/filing_note_filing.rb +1 -1
- data/lib/intrinio-sdk/models/filing_note_summary.rb +1 -1
- data/lib/intrinio-sdk/models/filing_summary.rb +1 -1
- data/lib/intrinio-sdk/models/fundamental.rb +1 -1
- data/lib/intrinio-sdk/models/fundamental_summary.rb +2 -2
- data/lib/intrinio-sdk/models/historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/intraday_stock_price.rb +259 -0
- data/lib/intrinio-sdk/models/municipality.rb +369 -0
- data/lib/intrinio-sdk/models/municipality_financial.rb +599 -0
- data/lib/intrinio-sdk/models/realtime_stock_price.rb +2 -2
- data/lib/intrinio-sdk/models/realtime_stock_price_security.rb +1 -1
- data/lib/intrinio-sdk/models/reported_financial.rb +1 -1
- data/lib/intrinio-sdk/models/reported_tag.rb +1 -1
- data/lib/intrinio-sdk/models/security.rb +1 -1
- data/lib/intrinio-sdk/models/security_screen_clause.rb +1 -1
- data/lib/intrinio-sdk/models/security_screen_group.rb +1 -1
- data/lib/intrinio-sdk/models/security_screen_result.rb +1 -1
- data/lib/intrinio-sdk/models/security_screen_result_data.rb +1 -1
- data/lib/intrinio-sdk/models/security_summary.rb +1 -1
- data/lib/intrinio-sdk/models/sic_index.rb +1 -1
- data/lib/intrinio-sdk/models/standardized_financial.rb +1 -1
- data/lib/intrinio-sdk/models/stock_exchange.rb +1 -1
- data/lib/intrinio-sdk/models/stock_market_index.rb +1 -1
- data/lib/intrinio-sdk/models/stock_market_index_summary.rb +1 -1
- data/lib/intrinio-sdk/models/stock_price.rb +1 -1
- data/lib/intrinio-sdk/models/stock_price_adjustment.rb +1 -1
- data/lib/intrinio-sdk/models/stock_price_adjustment_summary.rb +1 -1
- data/lib/intrinio-sdk/models/stock_price_summary.rb +1 -1
- data/lib/intrinio-sdk/version.rb +2 -2
- data/spec/api/company_api_spec.rb +37 -54
- data/spec/api/data_point_api_spec.rb +3 -3
- data/spec/api/data_tag_api_spec.rb +9 -19
- data/spec/api/filing_api_spec.rb +73 -12
- data/spec/api/fundamentals_api_spec.rb +6 -6
- data/spec/api/historical_data_api_spec.rb +3 -2
- data/spec/api/index_api_spec.rb +28 -19
- data/spec/api/municipality_api_spec.rb +84 -0
- data/spec/api/security_api_spec.rb +74 -13
- data/spec/api/stock_exchange_api_spec.rb +31 -23
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/api_response_companies_search_spec.rb +42 -0
- data/spec/models/api_response_companies_spec.rb +1 -1
- data/spec/models/api_response_company_filings_spec.rb +1 -1
- data/spec/models/api_response_company_fundamentals_spec.rb +1 -1
- data/spec/models/api_response_company_historical_data_spec.rb +1 -1
- data/spec/models/api_response_company_news_spec.rb +1 -1
- data/spec/models/api_response_company_securities_spec.rb +1 -1
- data/spec/models/api_response_data_tags_search_spec.rb +42 -0
- data/spec/models/api_response_data_tags_spec.rb +1 -1
- data/spec/models/api_response_economic_index_historical_data_spec.rb +1 -1
- data/spec/models/api_response_economic_indices_search_spec.rb +42 -0
- data/spec/models/api_response_economic_indices_spec.rb +1 -1
- data/spec/models/api_response_filings_spec.rb +1 -1
- data/spec/models/api_response_historical_data_spec.rb +1 -1
- data/spec/models/api_response_municipalities_spec.rb +48 -0
- data/spec/models/api_response_municipalitiy_financials_spec.rb +48 -0
- data/spec/models/api_response_news_spec.rb +1 -1
- data/spec/models/api_response_reported_financials_spec.rb +1 -1
- data/spec/models/api_response_securities_search_spec.rb +42 -0
- data/spec/models/api_response_securities_spec.rb +1 -1
- data/spec/models/api_response_security_historical_data_spec.rb +1 -1
- data/spec/models/api_response_security_intraday_prices_spec.rb +64 -0
- data/spec/models/api_response_security_stock_price_adjustments_spec.rb +1 -1
- data/spec/models/api_response_security_stock_prices_spec.rb +1 -1
- data/spec/models/api_response_sic_index_historical_data_spec.rb +1 -1
- data/spec/models/api_response_sic_indices_search_spec.rb +42 -0
- data/spec/models/api_response_sic_indices_spec.rb +1 -1
- data/spec/models/api_response_standardized_financials_spec.rb +1 -1
- data/spec/models/api_response_stock_exchange_securities_spec.rb +1 -1
- data/spec/models/api_response_stock_exchange_stock_price_adjustments_spec.rb +1 -1
- data/spec/models/api_response_stock_exchange_stock_prices_spec.rb +1 -1
- data/spec/models/api_response_stock_exchanges_spec.rb +1 -1
- data/spec/models/api_response_stock_market_index_historical_data_spec.rb +1 -1
- data/spec/models/api_response_stock_market_indices_search_spec.rb +42 -0
- data/spec/models/api_response_stock_market_indices_spec.rb +1 -1
- data/spec/models/company_filing_spec.rb +1 -1
- data/spec/models/company_news_spec.rb +1 -1
- data/spec/models/company_news_summary_spec.rb +1 -1
- data/spec/models/company_spec.rb +1 -1
- data/spec/models/company_summary_spec.rb +1 -1
- data/spec/models/data_tag_spec.rb +1 -1
- data/spec/models/data_tag_summary_spec.rb +1 -1
- data/spec/models/economic_index_spec.rb +1 -1
- data/spec/models/economic_index_summary_spec.rb +1 -1
- data/spec/models/filing_spec.rb +1 -1
- data/spec/models/filing_summary_spec.rb +1 -1
- data/spec/models/fundamental_spec.rb +1 -1
- data/spec/models/fundamental_summary_spec.rb +1 -1
- data/spec/models/historical_data_spec.rb +1 -1
- data/spec/models/intraday_stock_price_spec.rb +84 -0
- data/spec/models/municipality_financial_spec.rb +288 -0
- data/spec/models/municipality_spec.rb +150 -0
- data/spec/models/reported_financial_spec.rb +1 -1
- data/spec/models/reported_tag_spec.rb +1 -1
- data/spec/models/security_screen_clause_spec.rb +1 -1
- data/spec/models/security_screen_group_spec.rb +1 -1
- data/spec/models/security_screen_result_data_spec.rb +1 -1
- data/spec/models/security_screen_result_spec.rb +1 -1
- data/spec/models/security_spec.rb +1 -1
- data/spec/models/security_summary_spec.rb +1 -1
- data/spec/models/sic_index_spec.rb +1 -1
- data/spec/models/standardized_financial_spec.rb +1 -1
- data/spec/models/stock_exchange_spec.rb +1 -1
- data/spec/models/stock_market_index_spec.rb +1 -1
- data/spec/models/stock_market_index_summary_spec.rb +1 -1
- data/spec/models/stock_price_adjustment_spec.rb +7 -1
- data/spec/models/stock_price_adjustment_summary_spec.rb +1 -7
- data/spec/models/stock_price_spec.rb +1 -1
- data/spec/models/stock_price_summary_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +54 -3
- data/intrinio-sdk-1.1.0.gem +0 -0
data/docs/DataTagApi.md
CHANGED
@@ -4,18 +4,17 @@ All URIs are relative to *https://api-v2.intrinio.com*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**filter_data_tags**](DataTagApi.md#filter_data_tags) | **GET** /data_tags/filter | Filter Data Tags
|
8
7
|
[**get_all_data_tags**](DataTagApi.md#get_all_data_tags) | **GET** /data_tags | All Data Tags
|
9
8
|
[**get_data_tag_by_id**](DataTagApi.md#get_data_tag_by_id) | **GET** /data_tags/{identifier} | Lookup Data Tag
|
10
9
|
[**search_data_tags**](DataTagApi.md#search_data_tags) | **GET** /data_tags/search | Search Data Tags
|
11
10
|
|
12
11
|
|
13
|
-
# **
|
14
|
-
> ApiResponseDataTags
|
12
|
+
# **get_all_data_tags**
|
13
|
+
> ApiResponseDataTags get_all_data_tags(opts)
|
15
14
|
|
16
|
-
|
15
|
+
All Data Tags
|
17
16
|
|
18
|
-
Returns Data Tags
|
17
|
+
Returns all Data Tags. Returns Data Tags matching parameters when specified.
|
19
18
|
|
20
19
|
### Example
|
21
20
|
```ruby
|
@@ -35,14 +34,15 @@ opts = {
|
|
35
34
|
parent: nil, # String | ID of tag parent
|
36
35
|
statement_code: "income_statement", # String | Statement Code
|
37
36
|
fs_template: "industrial", # String | Template
|
37
|
+
page_size: 100, # Float | The number of results to return
|
38
38
|
next_page: nil # String | Gets the next page of data from a previous API call
|
39
39
|
}
|
40
40
|
|
41
41
|
begin
|
42
|
-
result = dataTag_api.
|
42
|
+
result = dataTag_api.get_all_data_tags(opts)
|
43
43
|
p result
|
44
44
|
rescue Intrinio::ApiError => e
|
45
|
-
puts "Exception when calling DataTagApi->
|
45
|
+
puts "Exception when calling DataTagApi->get_all_data_tags: #{e}"
|
46
46
|
end
|
47
47
|
```
|
48
48
|
|
@@ -55,47 +55,7 @@ Name | Type | Description | Notes
|
|
55
55
|
**parent** | **String**| ID of tag parent | [optional]
|
56
56
|
**statement_code** | **String**| Statement Code | [optional]
|
57
57
|
**fs_template** | **String**| Template | [optional] [default to industrial]
|
58
|
-
**
|
59
|
-
|
60
|
-
### Return type
|
61
|
-
|
62
|
-
[**ApiResponseDataTags**](ApiResponseDataTags.md)
|
63
|
-
|
64
|
-
# **get_all_data_tags**
|
65
|
-
> ApiResponseDataTags get_all_data_tags(opts)
|
66
|
-
|
67
|
-
All Data Tags
|
68
|
-
|
69
|
-
Returns All Data Tags
|
70
|
-
|
71
|
-
### Example
|
72
|
-
```ruby
|
73
|
-
# Load the gem
|
74
|
-
require 'intrinio-sdk'
|
75
|
-
|
76
|
-
# Setup authorization
|
77
|
-
Intrinio.configure do |config|
|
78
|
-
config.api_key['api_key'] = 'YOUR API KEY'
|
79
|
-
end
|
80
|
-
|
81
|
-
dataTag_api = Intrinio::DataTagApi.new
|
82
|
-
|
83
|
-
opts = {
|
84
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
85
|
-
}
|
86
|
-
|
87
|
-
begin
|
88
|
-
result = dataTag_api.get_all_data_tags(opts)
|
89
|
-
p result
|
90
|
-
rescue Intrinio::ApiError => e
|
91
|
-
puts "Exception when calling DataTagApi->get_all_data_tags: #{e}"
|
92
|
-
end
|
93
|
-
```
|
94
|
-
|
95
|
-
### Parameters
|
96
|
-
|
97
|
-
Name | Type | Description | Notes
|
98
|
-
------------- | ------------- | ------------- | -------------
|
58
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
99
59
|
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
100
60
|
|
101
61
|
### Return type
|
@@ -143,7 +103,7 @@ Name | Type | Description | Notes
|
|
143
103
|
[**DataTag**](DataTag.md)
|
144
104
|
|
145
105
|
# **search_data_tags**
|
146
|
-
>
|
106
|
+
> ApiResponseDataTagsSearch search_data_tags(query, opts)
|
147
107
|
|
148
108
|
Search Data Tags
|
149
109
|
|
@@ -163,9 +123,12 @@ dataTag_api = Intrinio::DataTagApi.new
|
|
163
123
|
|
164
124
|
query = "revenue" # String |
|
165
125
|
|
126
|
+
opts = {
|
127
|
+
page_size: 100 # Float | The number of results to return
|
128
|
+
}
|
166
129
|
|
167
130
|
begin
|
168
|
-
result = dataTag_api.search_data_tags(query)
|
131
|
+
result = dataTag_api.search_data_tags(query, opts)
|
169
132
|
p result
|
170
133
|
rescue Intrinio::ApiError => e
|
171
134
|
puts "Exception when calling DataTagApi->search_data_tags: #{e}"
|
@@ -177,8 +140,9 @@ end
|
|
177
140
|
Name | Type | Description | Notes
|
178
141
|
------------- | ------------- | ------------- | -------------
|
179
142
|
**query** | **String**| |
|
143
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
180
144
|
|
181
145
|
### Return type
|
182
146
|
|
183
|
-
[**
|
147
|
+
[**ApiResponseDataTagsSearch**](ApiResponseDataTagsSearch.md)
|
184
148
|
|
data/docs/FilingApi.md
CHANGED
@@ -4,8 +4,6 @@ All URIs are relative to *https://api-v2.intrinio.com*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**filter_filings**](FilingApi.md#filter_filings) | **GET** /filings/filter | Filter Filings
|
8
|
-
[**filter_notes**](FilingApi.md#filter_notes) | **GET** /filings/notes/filter | Filter Filing Notes
|
9
7
|
[**get_all_filings**](FilingApi.md#get_all_filings) | **GET** /filings | All Filings
|
10
8
|
[**get_all_notes**](FilingApi.md#get_all_notes) | **GET** /filings/notes | All Filing Notes
|
11
9
|
[**get_filing_by_id**](FilingApi.md#get_filing_by_id) | **GET** /filings/{id} | Lookup Filing
|
@@ -15,12 +13,12 @@ Method | HTTP request | Description
|
|
15
13
|
[**search_notes**](FilingApi.md#search_notes) | **GET** /filings/notes/search | Search Filing Notes
|
16
14
|
|
17
15
|
|
18
|
-
# **
|
19
|
-
> ApiResponseFilings
|
16
|
+
# **get_all_filings**
|
17
|
+
> ApiResponseFilings get_all_filings(company, opts)
|
20
18
|
|
21
|
-
|
19
|
+
All Filings
|
22
20
|
|
23
|
-
Returns Filings
|
21
|
+
Returns all Filings. Returns Filings matching parameters when supplied.
|
24
22
|
|
25
23
|
### Example
|
26
24
|
```ruby
|
@@ -40,14 +38,15 @@ opts = {
|
|
40
38
|
report_type: nil, # String | Filter by report type
|
41
39
|
start_date: Date.parse("2015-01-01"), # Date | Filed on or after the given date
|
42
40
|
end_date: Date.parse("2019-01-01"), # Date | Filed before or after the given date
|
41
|
+
page_size: 100, # Float | The number of results to return
|
43
42
|
next_page: nil # String | Gets the next page of data from a previous API call
|
44
43
|
}
|
45
44
|
|
46
45
|
begin
|
47
|
-
result = filing_api.
|
46
|
+
result = filing_api.get_all_filings(company, opts)
|
48
47
|
p result
|
49
48
|
rescue Intrinio::ApiError => e
|
50
|
-
puts "Exception when calling FilingApi->
|
49
|
+
puts "Exception when calling FilingApi->get_all_filings: #{e}"
|
51
50
|
end
|
52
51
|
```
|
53
52
|
|
@@ -59,18 +58,19 @@ Name | Type | Description | Notes
|
|
59
58
|
**report_type** | **String**| Filter by report type | [optional]
|
60
59
|
**start_date** | **Date**| Filed on or after the given date | [optional]
|
61
60
|
**end_date** | **Date**| Filed before or after the given date | [optional]
|
61
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
62
62
|
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
63
63
|
|
64
64
|
### Return type
|
65
65
|
|
66
66
|
[**ApiResponseFilings**](ApiResponseFilings.md)
|
67
67
|
|
68
|
-
# **
|
69
|
-
> ApiResponseFilingNotes
|
68
|
+
# **get_all_notes**
|
69
|
+
> ApiResponseFilingNotes get_all_notes(opts)
|
70
70
|
|
71
|
-
|
71
|
+
All Filing Notes
|
72
72
|
|
73
|
-
|
73
|
+
Return all Notes from all Filings, most-recent first. Returns notes matching parameters when supplied.
|
74
74
|
|
75
75
|
### Example
|
76
76
|
```ruby
|
@@ -91,14 +91,15 @@ opts = {
|
|
91
91
|
filing_end_date: Date.parse("2018-11-15"), # Date | Limit search to filings on or before this date
|
92
92
|
period_ended_start_date: Date.parse("2018-07-15"), # Date | Limit search to filings with a period end date on or after this date
|
93
93
|
period_ended_end_date: Date.parse("2018-11-15"), # Date | Limit search to filings with a period end date on or before this date
|
94
|
+
page_size: 100, # Float | The number of results to return
|
94
95
|
next_page: nil # String | Gets the next page of data from a previous API call
|
95
96
|
}
|
96
97
|
|
97
98
|
begin
|
98
|
-
result = filing_api.
|
99
|
+
result = filing_api.get_all_notes(opts)
|
99
100
|
p result
|
100
101
|
rescue Intrinio::ApiError => e
|
101
|
-
puts "Exception when calling FilingApi->
|
102
|
+
puts "Exception when calling FilingApi->get_all_notes: #{e}"
|
102
103
|
end
|
103
104
|
```
|
104
105
|
|
@@ -112,88 +113,7 @@ Name | Type | Description | Notes
|
|
112
113
|
**filing_end_date** | **Date**| Limit search to filings on or before this date | [optional]
|
113
114
|
**period_ended_start_date** | **Date**| Limit search to filings with a period end date on or after this date | [optional]
|
114
115
|
**period_ended_end_date** | **Date**| Limit search to filings with a period end date on or before this date | [optional]
|
115
|
-
**
|
116
|
-
|
117
|
-
### Return type
|
118
|
-
|
119
|
-
[**ApiResponseFilingNotes**](ApiResponseFilingNotes.md)
|
120
|
-
|
121
|
-
# **get_all_filings**
|
122
|
-
> ApiResponseFilings get_all_filings(opts)
|
123
|
-
|
124
|
-
All Filings
|
125
|
-
|
126
|
-
Returns all Filings
|
127
|
-
|
128
|
-
### Example
|
129
|
-
```ruby
|
130
|
-
# Load the gem
|
131
|
-
require 'intrinio-sdk'
|
132
|
-
|
133
|
-
# Setup authorization
|
134
|
-
Intrinio.configure do |config|
|
135
|
-
config.api_key['api_key'] = 'YOUR API KEY'
|
136
|
-
end
|
137
|
-
|
138
|
-
filing_api = Intrinio::FilingApi.new
|
139
|
-
|
140
|
-
opts = {
|
141
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
142
|
-
}
|
143
|
-
|
144
|
-
begin
|
145
|
-
result = filing_api.get_all_filings(opts)
|
146
|
-
p result
|
147
|
-
rescue Intrinio::ApiError => e
|
148
|
-
puts "Exception when calling FilingApi->get_all_filings: #{e}"
|
149
|
-
end
|
150
|
-
```
|
151
|
-
|
152
|
-
### Parameters
|
153
|
-
|
154
|
-
Name | Type | Description | Notes
|
155
|
-
------------- | ------------- | ------------- | -------------
|
156
|
-
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
157
|
-
|
158
|
-
### Return type
|
159
|
-
|
160
|
-
[**ApiResponseFilings**](ApiResponseFilings.md)
|
161
|
-
|
162
|
-
# **get_all_notes**
|
163
|
-
> ApiResponseFilingNotes get_all_notes(opts)
|
164
|
-
|
165
|
-
All Filing Notes
|
166
|
-
|
167
|
-
Return all Notes from all Filings, most-recent first
|
168
|
-
|
169
|
-
### Example
|
170
|
-
```ruby
|
171
|
-
# Load the gem
|
172
|
-
require 'intrinio-sdk'
|
173
|
-
|
174
|
-
# Setup authorization
|
175
|
-
Intrinio.configure do |config|
|
176
|
-
config.api_key['api_key'] = 'YOUR API KEY'
|
177
|
-
end
|
178
|
-
|
179
|
-
filing_api = Intrinio::FilingApi.new
|
180
|
-
|
181
|
-
opts = {
|
182
|
-
next_page: nil # String | Gets the next page of data from a previous API call
|
183
|
-
}
|
184
|
-
|
185
|
-
begin
|
186
|
-
result = filing_api.get_all_notes(opts)
|
187
|
-
p result
|
188
|
-
rescue Intrinio::ApiError => e
|
189
|
-
puts "Exception when calling FilingApi->get_all_notes: #{e}"
|
190
|
-
end
|
191
|
-
```
|
192
|
-
|
193
|
-
### Parameters
|
194
|
-
|
195
|
-
Name | Type | Description | Notes
|
196
|
-
------------- | ------------- | ------------- | -------------
|
116
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
197
117
|
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
198
118
|
|
199
119
|
### Return type
|
@@ -382,7 +302,8 @@ query = "inflation" # String | Search for notes that contain all or parts of thi
|
|
382
302
|
opts = {
|
383
303
|
filing_start_date: Date.parse("2018-07-15"), # Date | Limit search to filings on or after this date
|
384
304
|
filing_end_date: Date.parse("2018-11-30"), # Date | Limit search to filings on or before this date
|
385
|
-
page_size: 100 # Float | The number of results to return
|
305
|
+
page_size: 100, # Float | The number of results to return
|
306
|
+
page_size2: 100 # Float | The number of results to return
|
386
307
|
}
|
387
308
|
|
388
309
|
begin
|
@@ -401,6 +322,7 @@ Name | Type | Description | Notes
|
|
401
322
|
**filing_start_date** | **Date**| Limit search to filings on or after this date | [optional]
|
402
323
|
**filing_end_date** | **Date**| Limit search to filings on or before this date | [optional]
|
403
324
|
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
325
|
+
**page_size2** | **Float**| The number of results to return | [optional] [default to 100]
|
404
326
|
|
405
327
|
### Return type
|
406
328
|
|
data/docs/FundamentalSummary.md
CHANGED
@@ -10,6 +10,6 @@ Name | Type | Description | Notes
|
|
10
10
|
**type** | **String** | The type of Fundamental | [optional]
|
11
11
|
**start_date** | **Date** | The period start date | [optional]
|
12
12
|
**end_date** | **Date** | The period start date | [optional]
|
13
|
-
**filing_date** | **
|
13
|
+
**filing_date** | **DateTime** | The date and time when the Fundamental was filed with the SEC | [optional]
|
14
14
|
|
15
15
|
|
data/docs/HistoricalDataApi.md
CHANGED
@@ -35,6 +35,7 @@ opts = {
|
|
35
35
|
start_date: Date.parse("2015-01-01"), # Date | Get historical data on or after this date
|
36
36
|
end_date: Date.parse("2019-01-01"), # Date | Get historical date on or before this date
|
37
37
|
sort_order: "desc", # String | Sort by date `asc` or `desc`
|
38
|
+
page_size: 100, # Float | The number of results to return
|
38
39
|
next_page: nil # String | Gets the next page of data from a previous API call
|
39
40
|
}
|
40
41
|
|
@@ -56,6 +57,7 @@ Name | Type | Description | Notes
|
|
56
57
|
**start_date** | **Date**| Get historical data on or after this date | [optional]
|
57
58
|
**end_date** | **Date**| Get historical date on or before this date | [optional]
|
58
59
|
**sort_order** | **String**| Sort by date `asc` or `desc` | [optional] [default to desc]
|
60
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
59
61
|
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
60
62
|
|
61
63
|
### Return type
|
data/docs/IndexApi.md
CHANGED
@@ -42,6 +42,7 @@ end
|
|
42
42
|
index_api = Intrinio::IndexApi.new
|
43
43
|
|
44
44
|
opts = {
|
45
|
+
page_size: 100, # Float | The number of results to return
|
45
46
|
next_page: nil # String | Gets the next page of data from a previous API call
|
46
47
|
}
|
47
48
|
|
@@ -57,6 +58,7 @@ end
|
|
57
58
|
|
58
59
|
Name | Type | Description | Notes
|
59
60
|
------------- | ------------- | ------------- | -------------
|
61
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
60
62
|
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
61
63
|
|
62
64
|
### Return type
|
@@ -81,6 +83,7 @@ end
|
|
81
83
|
index_api = Intrinio::IndexApi.new
|
82
84
|
|
83
85
|
opts = {
|
86
|
+
page_size: 100, # Float | The number of results to return
|
84
87
|
next_page: nil # String | Gets the next page of data from a previous API call
|
85
88
|
}
|
86
89
|
|
@@ -96,6 +99,7 @@ end
|
|
96
99
|
|
97
100
|
Name | Type | Description | Notes
|
98
101
|
------------- | ------------- | ------------- | -------------
|
102
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
99
103
|
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
100
104
|
|
101
105
|
### Return type
|
@@ -120,6 +124,7 @@ end
|
|
120
124
|
index_api = Intrinio::IndexApi.new
|
121
125
|
|
122
126
|
opts = {
|
127
|
+
page_size: 100, # Float | The number of results to return
|
123
128
|
next_page: nil # String | Gets the next page of data from a previous API call
|
124
129
|
}
|
125
130
|
|
@@ -135,6 +140,7 @@ end
|
|
135
140
|
|
136
141
|
Name | Type | Description | Notes
|
137
142
|
------------- | ------------- | ------------- | -------------
|
143
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
138
144
|
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
139
145
|
|
140
146
|
### Return type
|
@@ -293,6 +299,7 @@ opts = {
|
|
293
299
|
start_date: Date.parse("2018-01-01"), # Date | Get historical data on or after this date
|
294
300
|
end_date: Date.parse("2019-01-01"), # Date | Get historical data on or before this date
|
295
301
|
sort_order: "desc", # String | Sort by date `asc` or `desc`
|
302
|
+
page_size: 100, # Float | The number of results to return
|
296
303
|
next_page: nil # String | Gets the next page of data from a previous API call
|
297
304
|
}
|
298
305
|
|
@@ -314,6 +321,7 @@ Name | Type | Description | Notes
|
|
314
321
|
**start_date** | **Date**| Get historical data on or after this date | [optional]
|
315
322
|
**end_date** | **Date**| Get historical data on or before this date | [optional]
|
316
323
|
**sort_order** | **String**| Sort by date `asc` or `desc` | [optional] [default to desc]
|
324
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
317
325
|
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
318
326
|
|
319
327
|
### Return type
|
@@ -472,6 +480,7 @@ opts = {
|
|
472
480
|
start_date: Date.parse("2018-01-01"), # Date | Get historical data on or after this date
|
473
481
|
end_date: Date.parse("2019-01-01"), # Date | Get historical data on or before this date
|
474
482
|
sort_order: "desc", # String | Sort by date `asc` or `desc`
|
483
|
+
page_size: 100, # Float | The number of results to return
|
475
484
|
next_page: nil # String | Gets the next page of data from a previous API call
|
476
485
|
}
|
477
486
|
|
@@ -493,6 +502,7 @@ Name | Type | Description | Notes
|
|
493
502
|
**start_date** | **Date**| Get historical data on or after this date | [optional]
|
494
503
|
**end_date** | **Date**| Get historical data on or before this date | [optional]
|
495
504
|
**sort_order** | **String**| Sort by date `asc` or `desc` | [optional] [default to desc]
|
505
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
496
506
|
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
497
507
|
|
498
508
|
### Return type
|
@@ -651,6 +661,7 @@ opts = {
|
|
651
661
|
start_date: Date.parse("2018-01-01"), # Date | Get historical data on or after this date
|
652
662
|
end_date: Date.parse("2019-01-01"), # Date | Get historical data on or before this date
|
653
663
|
sort_order: "desc", # String | Sort by date `asc` or `desc`
|
664
|
+
page_size: 100, # Float | The number of results to return
|
654
665
|
next_page: nil # String | Gets the next page of data from a previous API call
|
655
666
|
}
|
656
667
|
|
@@ -672,6 +683,7 @@ Name | Type | Description | Notes
|
|
672
683
|
**start_date** | **Date**| Get historical data on or after this date | [optional]
|
673
684
|
**end_date** | **Date**| Get historical data on or before this date | [optional]
|
674
685
|
**sort_order** | **String**| Sort by date `asc` or `desc` | [optional] [default to desc]
|
686
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
675
687
|
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
676
688
|
|
677
689
|
### Return type
|
@@ -679,7 +691,7 @@ Name | Type | Description | Notes
|
|
679
691
|
[**ApiResponseStockMarketIndexHistoricalData**](ApiResponseStockMarketIndexHistoricalData.md)
|
680
692
|
|
681
693
|
# **search_economic_indices**
|
682
|
-
>
|
694
|
+
> ApiResponseEconomicIndicesSearch search_economic_indices(query, opts)
|
683
695
|
|
684
696
|
Search Economic Indices
|
685
697
|
|
@@ -699,9 +711,12 @@ index_api = Intrinio::IndexApi.new
|
|
699
711
|
|
700
712
|
query = "GDP" # String | Search query
|
701
713
|
|
714
|
+
opts = {
|
715
|
+
page_size: 100 # Float | The number of results to return
|
716
|
+
}
|
702
717
|
|
703
718
|
begin
|
704
|
-
result = index_api.search_economic_indices(query)
|
719
|
+
result = index_api.search_economic_indices(query, opts)
|
705
720
|
p result
|
706
721
|
rescue Intrinio::ApiError => e
|
707
722
|
puts "Exception when calling IndexApi->search_economic_indices: #{e}"
|
@@ -713,13 +728,14 @@ end
|
|
713
728
|
Name | Type | Description | Notes
|
714
729
|
------------- | ------------- | ------------- | -------------
|
715
730
|
**query** | **String**| Search query |
|
731
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
716
732
|
|
717
733
|
### Return type
|
718
734
|
|
719
|
-
[**
|
735
|
+
[**ApiResponseEconomicIndicesSearch**](ApiResponseEconomicIndicesSearch.md)
|
720
736
|
|
721
737
|
# **search_sic_indices**
|
722
|
-
>
|
738
|
+
> ApiResponseSICIndicesSearch search_sic_indices(query, opts)
|
723
739
|
|
724
740
|
Search SIC Indices
|
725
741
|
|
@@ -739,9 +755,12 @@ index_api = Intrinio::IndexApi.new
|
|
739
755
|
|
740
756
|
query = "agriculture" # String | Search query
|
741
757
|
|
758
|
+
opts = {
|
759
|
+
page_size: 100 # Float | The number of results to return
|
760
|
+
}
|
742
761
|
|
743
762
|
begin
|
744
|
-
result = index_api.search_sic_indices(query)
|
763
|
+
result = index_api.search_sic_indices(query, opts)
|
745
764
|
p result
|
746
765
|
rescue Intrinio::ApiError => e
|
747
766
|
puts "Exception when calling IndexApi->search_sic_indices: #{e}"
|
@@ -753,13 +772,14 @@ end
|
|
753
772
|
Name | Type | Description | Notes
|
754
773
|
------------- | ------------- | ------------- | -------------
|
755
774
|
**query** | **String**| Search query |
|
775
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
756
776
|
|
757
777
|
### Return type
|
758
778
|
|
759
|
-
[**
|
779
|
+
[**ApiResponseSICIndicesSearch**](ApiResponseSICIndicesSearch.md)
|
760
780
|
|
761
781
|
# **search_stock_markets_indices**
|
762
|
-
>
|
782
|
+
> ApiResponseStockMarketIndicesSearch search_stock_markets_indices(query, opts)
|
763
783
|
|
764
784
|
Search Stock Market Indices
|
765
785
|
|
@@ -779,9 +799,12 @@ index_api = Intrinio::IndexApi.new
|
|
779
799
|
|
780
800
|
query = "dow" # String | Search query
|
781
801
|
|
802
|
+
opts = {
|
803
|
+
page_size: 100 # Float | The number of results to return
|
804
|
+
}
|
782
805
|
|
783
806
|
begin
|
784
|
-
result = index_api.search_stock_markets_indices(query)
|
807
|
+
result = index_api.search_stock_markets_indices(query, opts)
|
785
808
|
p result
|
786
809
|
rescue Intrinio::ApiError => e
|
787
810
|
puts "Exception when calling IndexApi->search_stock_markets_indices: #{e}"
|
@@ -793,8 +816,9 @@ end
|
|
793
816
|
Name | Type | Description | Notes
|
794
817
|
------------- | ------------- | ------------- | -------------
|
795
818
|
**query** | **String**| Search query |
|
819
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
796
820
|
|
797
821
|
### Return type
|
798
822
|
|
799
|
-
[**
|
823
|
+
[**ApiResponseStockMarketIndicesSearch**](ApiResponseStockMarketIndicesSearch.md)
|
800
824
|
|