intrinio-sdk 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +78 -52
- data/docs/ApiResponseFilingNotes.md +9 -0
- data/docs/ApiResponseFilingNotesSearch.md +8 -0
- data/docs/ApiResponseStockExchangeRealtimeStockPrices.md +9 -0
- data/docs/CompanyApi.md +34 -28
- data/docs/DataPointApi.md +4 -4
- data/docs/DataTagApi.md +5 -5
- data/docs/DividendRecord.md +17 -0
- data/docs/EarningsRecord.md +30 -0
- data/docs/FilingApi.md +273 -7
- data/docs/FilingNote.md +11 -0
- data/docs/FilingNoteFiling.md +11 -0
- data/docs/FilingNoteSummary.md +10 -0
- data/docs/FundamentalsApi.md +9 -9
- data/docs/HistoricalDataApi.md +2 -2
- data/docs/IndexApi.md +30 -30
- data/docs/RealtimeStockPrice.md +21 -0
- data/docs/RealtimeStockPriceSecurity.md +12 -0
- data/docs/SecurityApi.md +148 -17
- data/docs/StockExchangeApi.md +64 -15
- data/intrinio-sdk.gemspec +1 -1
- data/lib/intrinio-sdk.rb +11 -1
- data/lib/intrinio-sdk/api/company_api.rb +41 -35
- data/lib/intrinio-sdk/api/data_point_api.rb +5 -5
- data/lib/intrinio-sdk/api/data_tag_api.rb +7 -7
- data/lib/intrinio-sdk/api/filing_api.rb +364 -11
- data/lib/intrinio-sdk/api/fundamentals_api.rb +11 -11
- data/lib/intrinio-sdk/api/historical_data_api.rb +3 -3
- data/lib/intrinio-sdk/api/index_api.rb +31 -31
- data/lib/intrinio-sdk/api/security_api.rb +194 -23
- data/lib/intrinio-sdk/api/stock_exchange_api.rb +85 -23
- 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_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_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_filing_notes.rb +200 -0
- data/lib/intrinio-sdk/models/api_response_filing_notes_search.rb +190 -0
- 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_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_security_historical_data.rb +1 -1
- 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_standardized_financials.rb +1 -1
- data/lib/intrinio-sdk/models/api_response_stock_exchange_realtime_stock_prices.rb +201 -0
- 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/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 +311 -0
- data/lib/intrinio-sdk/models/earnings_record.rb +465 -0
- 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 +218 -0
- data/lib/intrinio-sdk/models/filing_note_filing.rb +219 -0
- data/lib/intrinio-sdk/models/filing_note_summary.rb +208 -0
- 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 +1 -1
- data/lib/intrinio-sdk/models/historical_data.rb +1 -1
- data/lib/intrinio-sdk/models/realtime_stock_price.rb +318 -0
- data/lib/intrinio-sdk/models/realtime_stock_price_security.rb +229 -0
- 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/models/api_response_filing_notes_search_spec.rb +42 -0
- data/spec/models/api_response_filing_notes_spec.rb +48 -0
- data/spec/models/api_response_stock_exchange_realtime_stock_prices_spec.rb +48 -0
- data/spec/models/dividend_record_spec.rb +100 -0
- data/spec/models/earnings_record_spec.rb +186 -0
- data/spec/models/filing_note_filing_spec.rb +60 -0
- data/spec/models/filing_note_spec.rb +60 -0
- data/spec/models/filing_note_summary_spec.rb +54 -0
- data/spec/models/realtime_stock_price_security_spec.rb +66 -0
- data/spec/models/realtime_stock_price_spec.rb +120 -0
- metadata +43 -3
@@ -0,0 +1,17 @@
|
|
1
|
+
# Intrinio::DividendRecord
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**ex_dividend** | **Float** | Amount of dividend in US dollars | [optional]
|
7
|
+
**currency** | **String** | The 3-digit currency code the dividend amount was reported in | [optional]
|
8
|
+
**announcement_date** | **Date** | Date dividend was announced | [optional]
|
9
|
+
**record_date** | **Date** | Date before which holders-of-record will receive the dividend | [optional]
|
10
|
+
**pay_date** | **Date** | Date the divdiend was paid | [optional]
|
11
|
+
**frequency** | **String** | Identifies payment frequency of announced dividend | [optional]
|
12
|
+
**status** | **String** | Status of the dividend | [optional]
|
13
|
+
**forward_yield** | **Float** | The forward dividend yield | [optional]
|
14
|
+
**forward_rate** | **Float** | The forward dividend rate | [optional]
|
15
|
+
**security** | [**SecuritySummary**](SecuritySummary.md) | | [optional]
|
16
|
+
|
17
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Intrinio::EarningsRecord
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**quarter** | **String** | The letter “Q” followed by the quarter number the earnings information applies to | [optional]
|
7
|
+
**time_of_day** | **String** | Indicates the time of the announcement | [optional]
|
8
|
+
**broadcast_url** | **String** | Link for Conference Call recording | [optional]
|
9
|
+
**transcript_url** | **String** | Link to the earnings release transcript | [optional]
|
10
|
+
**transcript_quarter** | **String** | The letter “Q” followed by the quarter number the earnings transcript applies to | [optional]
|
11
|
+
**transcript_fiscal_year** | **String** | Fiscal year in YYYY format for the earnings transcript | [optional]
|
12
|
+
**conference_call_date** | **Date** | Date of the conference call | [optional]
|
13
|
+
**conference_call_time** | **String** | Published time of the conference call | [optional]
|
14
|
+
**conference_call_phone_number** | **String** | Publicly available phone number for replay conference call | [optional]
|
15
|
+
**conference_call_passcode** | **String** | Passcode for replay conference call | [optional]
|
16
|
+
**last_confirmation_date** | **Date** | Date of last earnings date update by a WSH analyst | [optional]
|
17
|
+
**board_of_directors_meeting_date** | **Date** | Date of Board/Shareholder Meeting | [optional]
|
18
|
+
**board_of_directors_meeting_type** | **String** | The type of meeting - \"B\" indicates a Board of Directors meeting and \"S\" indicates a Shareholder meeting | [optional]
|
19
|
+
**company_website** | **String** | Website link for the company | [optional]
|
20
|
+
**q1_date** | **Date** | Earnings Date for 1st quarter | [optional]
|
21
|
+
**q2_date** | **Date** | Earnings Date for 2nd quarter | [optional]
|
22
|
+
**q3_date** | **Date** | Earnings Date for 3rd quarter | [optional]
|
23
|
+
**q4_date** | **Date** | Earnings Date for 4th quarter | [optional]
|
24
|
+
**type** | **String** | The nature of the next reported earnings date - \"V\" indicates a Verified date, \"T\" indicates that the date was gathered from the company, but is still considered Tentative, and \"I\" indicates that the date is forecased or Inferred | [optional]
|
25
|
+
**next_earnings_date** | **Date** | Next earnings date | [optional]
|
26
|
+
**next_earnings_quarter** | **String** | The quarter of the next earnings release | [optional]
|
27
|
+
**next_earnings_fiscal_year** | **Integer** | The fiscal year associated with next earnings date and next earnings quarter | [optional]
|
28
|
+
**security** | [**SecuritySummary**](SecuritySummary.md) | | [optional]
|
29
|
+
|
30
|
+
|
data/docs/FilingApi.md
CHANGED
@@ -5,8 +5,14 @@ All URIs are relative to *https://api-v2.intrinio.com*
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
7
|
[**filter_filings**](FilingApi.md#filter_filings) | **GET** /filings/filter | Filter Filings
|
8
|
-
[**
|
9
|
-
[**
|
8
|
+
[**filter_notes**](FilingApi.md#filter_notes) | **GET** /filings/notes/filter | Filter SEC filing notes
|
9
|
+
[**get_all_filings**](FilingApi.md#get_all_filings) | **GET** /filings | All Filings
|
10
|
+
[**get_all_notes**](FilingApi.md#get_all_notes) | **GET** /filings/notes | Get All SEC filing notes
|
11
|
+
[**get_filing_by_id**](FilingApi.md#get_filing_by_id) | **GET** /filings/{id} | Lookup Filing
|
12
|
+
[**get_note**](FilingApi.md#get_note) | **GET** /filings/notes/{identifier} | Get an SEC filing note by ID
|
13
|
+
[**get_note_html**](FilingApi.md#get_note_html) | **GET** /filings/notes/{identifier}/html | Returns the content of an SEC filing note as originally filed
|
14
|
+
[**get_note_text**](FilingApi.md#get_note_text) | **GET** /filings/notes/{identifier}/text | Returns the content of an SEC filing note stripped of HTML
|
15
|
+
[**search_notes**](FilingApi.md#search_notes) | **GET** /filings/notes/search | Search Filing Notes
|
10
16
|
|
11
17
|
|
12
18
|
# **filter_filings**
|
@@ -14,7 +20,7 @@ Method | HTTP request | Description
|
|
14
20
|
|
15
21
|
Filter Filings
|
16
22
|
|
17
|
-
Returns
|
23
|
+
Returns Filings that match the specified filters
|
18
24
|
|
19
25
|
### Example
|
20
26
|
```ruby
|
@@ -59,12 +65,65 @@ Name | Type | Description | Notes
|
|
59
65
|
|
60
66
|
[**ApiResponseFilings**](ApiResponseFilings.md)
|
61
67
|
|
68
|
+
# **filter_notes**
|
69
|
+
> ApiResponseFilingNotes filter_notes(opts)
|
70
|
+
|
71
|
+
Filter SEC filing notes
|
72
|
+
|
73
|
+
Returns SEC filing notes matching the supplied criteria
|
74
|
+
|
75
|
+
### Example
|
76
|
+
```ruby
|
77
|
+
# Load the gem
|
78
|
+
require 'intrinio-sdk'
|
79
|
+
|
80
|
+
# Setup authorization
|
81
|
+
Intrinio.configure do |config|
|
82
|
+
config.api_key['api_key'] = 'YOUR API KEY'
|
83
|
+
end
|
84
|
+
|
85
|
+
filing_api = Intrinio::FilingApi.new
|
86
|
+
|
87
|
+
opts = {
|
88
|
+
company: "AAPL", # String | A Company identifier (Ticker, CIK, LEI, Intrinio ID)
|
89
|
+
report_type: "10-Q", # String | Notes contained in filings that match the given report type
|
90
|
+
filing_start_date: Date.parse("2018-07-15"), # Date | Limit search to filings on or after this date
|
91
|
+
filing_end_date: Date.parse("2018-11-15"), # Date | Limit search to filings on or before this date
|
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
|
+
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
|
+
next_page: nil # String | Gets the next page of data from a previous API call
|
95
|
+
}
|
96
|
+
|
97
|
+
begin
|
98
|
+
result = filing_api.filter_notes(opts)
|
99
|
+
p result
|
100
|
+
rescue Intrinio::ApiError => e
|
101
|
+
puts "Exception when calling FilingApi->filter_notes: #{e}"
|
102
|
+
end
|
103
|
+
```
|
104
|
+
|
105
|
+
### Parameters
|
106
|
+
|
107
|
+
Name | Type | Description | Notes
|
108
|
+
------------- | ------------- | ------------- | -------------
|
109
|
+
**company** | **String**| A Company identifier (Ticker, CIK, LEI, Intrinio ID) | [optional]
|
110
|
+
**report_type** | **String**| Notes contained in filings that match the given report type | [optional]
|
111
|
+
**filing_start_date** | **Date**| Limit search to filings on or after this date | [optional]
|
112
|
+
**filing_end_date** | **Date**| Limit search to filings on or before this date | [optional]
|
113
|
+
**period_ended_start_date** | **Date**| Limit search to filings with a period end date on or after this date | [optional]
|
114
|
+
**period_ended_end_date** | **Date**| Limit search to filings with a period end date on or before this date | [optional]
|
115
|
+
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
116
|
+
|
117
|
+
### Return type
|
118
|
+
|
119
|
+
[**ApiResponseFilingNotes**](ApiResponseFilingNotes.md)
|
120
|
+
|
62
121
|
# **get_all_filings**
|
63
122
|
> ApiResponseFilings get_all_filings(opts)
|
64
123
|
|
65
|
-
|
124
|
+
All Filings
|
66
125
|
|
67
|
-
Returns all
|
126
|
+
Returns all Filings
|
68
127
|
|
69
128
|
### Example
|
70
129
|
```ruby
|
@@ -100,12 +159,53 @@ Name | Type | Description | Notes
|
|
100
159
|
|
101
160
|
[**ApiResponseFilings**](ApiResponseFilings.md)
|
102
161
|
|
162
|
+
# **get_all_notes**
|
163
|
+
> ApiResponseFilingNotes get_all_notes(opts)
|
164
|
+
|
165
|
+
Get All SEC filing notes
|
166
|
+
|
167
|
+
Return All notes from SEC 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
|
+
------------- | ------------- | ------------- | -------------
|
197
|
+
**next_page** | **String**| Gets the next page of data from a previous API call | [optional]
|
198
|
+
|
199
|
+
### Return type
|
200
|
+
|
201
|
+
[**ApiResponseFilingNotes**](ApiResponseFilingNotes.md)
|
202
|
+
|
103
203
|
# **get_filing_by_id**
|
104
204
|
> Filing get_filing_by_id(id)
|
105
205
|
|
106
|
-
|
206
|
+
Lookup Filing
|
107
207
|
|
108
|
-
|
208
|
+
Returns the Filing with the given `identifier`
|
109
209
|
|
110
210
|
### Example
|
111
211
|
```ruby
|
@@ -140,3 +240,169 @@ Name | Type | Description | Notes
|
|
140
240
|
|
141
241
|
[**Filing**](Filing.md)
|
142
242
|
|
243
|
+
# **get_note**
|
244
|
+
> FilingNote get_note(identifier, opts)
|
245
|
+
|
246
|
+
Get an SEC filing note by ID
|
247
|
+
|
248
|
+
### Example
|
249
|
+
```ruby
|
250
|
+
# Load the gem
|
251
|
+
require 'intrinio-sdk'
|
252
|
+
|
253
|
+
# Setup authorization
|
254
|
+
Intrinio.configure do |config|
|
255
|
+
config.api_key['api_key'] = 'YOUR API KEY'
|
256
|
+
end
|
257
|
+
|
258
|
+
filing_api = Intrinio::FilingApi.new
|
259
|
+
|
260
|
+
identifier = "xbn_3fghz" # String | The Intrinio ID of the filing note
|
261
|
+
|
262
|
+
opts = {
|
263
|
+
content_format: "text" # String | Returns content in html (as filed) or plain text
|
264
|
+
}
|
265
|
+
|
266
|
+
begin
|
267
|
+
result = filing_api.get_note(identifier, opts)
|
268
|
+
p result
|
269
|
+
rescue Intrinio::ApiError => e
|
270
|
+
puts "Exception when calling FilingApi->get_note: #{e}"
|
271
|
+
end
|
272
|
+
```
|
273
|
+
|
274
|
+
### Parameters
|
275
|
+
|
276
|
+
Name | Type | Description | Notes
|
277
|
+
------------- | ------------- | ------------- | -------------
|
278
|
+
**identifier** | **String**| The Intrinio ID of the filing note |
|
279
|
+
**content_format** | **String**| Returns content in html (as filed) or plain text | [optional] [default to text]
|
280
|
+
|
281
|
+
### Return type
|
282
|
+
|
283
|
+
[**FilingNote**](FilingNote.md)
|
284
|
+
|
285
|
+
# **get_note_html**
|
286
|
+
> String get_note_html(identifier)
|
287
|
+
|
288
|
+
Returns the content of an SEC filing note as originally filed
|
289
|
+
|
290
|
+
### Example
|
291
|
+
```ruby
|
292
|
+
# Load the gem
|
293
|
+
require 'intrinio-sdk'
|
294
|
+
|
295
|
+
# Setup authorization
|
296
|
+
Intrinio.configure do |config|
|
297
|
+
config.api_key['api_key'] = 'YOUR API KEY'
|
298
|
+
end
|
299
|
+
|
300
|
+
filing_api = Intrinio::FilingApi.new
|
301
|
+
|
302
|
+
identifier = "xbn_3fghz" # String | The Intrinio ID of the filing note
|
303
|
+
|
304
|
+
|
305
|
+
begin
|
306
|
+
result = filing_api.get_note_html(identifier)
|
307
|
+
p result
|
308
|
+
rescue Intrinio::ApiError => e
|
309
|
+
puts "Exception when calling FilingApi->get_note_html: #{e}"
|
310
|
+
end
|
311
|
+
```
|
312
|
+
|
313
|
+
### Parameters
|
314
|
+
|
315
|
+
Name | Type | Description | Notes
|
316
|
+
------------- | ------------- | ------------- | -------------
|
317
|
+
**identifier** | **String**| The Intrinio ID of the filing note |
|
318
|
+
|
319
|
+
### Return type
|
320
|
+
|
321
|
+
**String**
|
322
|
+
|
323
|
+
# **get_note_text**
|
324
|
+
> String get_note_text(identifier)
|
325
|
+
|
326
|
+
Returns the content of an SEC filing note stripped of HTML
|
327
|
+
|
328
|
+
### Example
|
329
|
+
```ruby
|
330
|
+
# Load the gem
|
331
|
+
require 'intrinio-sdk'
|
332
|
+
|
333
|
+
# Setup authorization
|
334
|
+
Intrinio.configure do |config|
|
335
|
+
config.api_key['api_key'] = 'YOUR API KEY'
|
336
|
+
end
|
337
|
+
|
338
|
+
filing_api = Intrinio::FilingApi.new
|
339
|
+
|
340
|
+
identifier = "xbn_3fghz" # String | The Intrinio ID of the filing note
|
341
|
+
|
342
|
+
|
343
|
+
begin
|
344
|
+
result = filing_api.get_note_text(identifier)
|
345
|
+
p result
|
346
|
+
rescue Intrinio::ApiError => e
|
347
|
+
puts "Exception when calling FilingApi->get_note_text: #{e}"
|
348
|
+
end
|
349
|
+
```
|
350
|
+
|
351
|
+
### Parameters
|
352
|
+
|
353
|
+
Name | Type | Description | Notes
|
354
|
+
------------- | ------------- | ------------- | -------------
|
355
|
+
**identifier** | **String**| The Intrinio ID of the filing note |
|
356
|
+
|
357
|
+
### Return type
|
358
|
+
|
359
|
+
**String**
|
360
|
+
|
361
|
+
# **search_notes**
|
362
|
+
> ApiResponseFilingNotesSearch search_notes(query, opts)
|
363
|
+
|
364
|
+
Search Filing Notes
|
365
|
+
|
366
|
+
Searches SEC filing notes using the text in `query`
|
367
|
+
|
368
|
+
### Example
|
369
|
+
```ruby
|
370
|
+
# Load the gem
|
371
|
+
require 'intrinio-sdk'
|
372
|
+
|
373
|
+
# Setup authorization
|
374
|
+
Intrinio.configure do |config|
|
375
|
+
config.api_key['api_key'] = 'YOUR API KEY'
|
376
|
+
end
|
377
|
+
|
378
|
+
filing_api = Intrinio::FilingApi.new
|
379
|
+
|
380
|
+
query = "inflation" # String | Search for notes that contain all or parts of this text
|
381
|
+
|
382
|
+
opts = {
|
383
|
+
filing_start_date: Date.parse("2018-07-15"), # Date | Limit search to filings on or after this date
|
384
|
+
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
|
386
|
+
}
|
387
|
+
|
388
|
+
begin
|
389
|
+
result = filing_api.search_notes(query, opts)
|
390
|
+
p result
|
391
|
+
rescue Intrinio::ApiError => e
|
392
|
+
puts "Exception when calling FilingApi->search_notes: #{e}"
|
393
|
+
end
|
394
|
+
```
|
395
|
+
|
396
|
+
### Parameters
|
397
|
+
|
398
|
+
Name | Type | Description | Notes
|
399
|
+
------------- | ------------- | ------------- | -------------
|
400
|
+
**query** | **String**| Search for notes that contain all or parts of this text |
|
401
|
+
**filing_start_date** | **Date**| Limit search to filings on or after this date | [optional]
|
402
|
+
**filing_end_date** | **Date**| Limit search to filings on or before this date | [optional]
|
403
|
+
**page_size** | **Float**| The number of results to return | [optional] [default to 100]
|
404
|
+
|
405
|
+
### Return type
|
406
|
+
|
407
|
+
[**ApiResponseFilingNotesSearch**](ApiResponseFilingNotesSearch.md)
|
408
|
+
|
data/docs/FilingNote.md
ADDED
@@ -0,0 +1,11 @@
|
|
1
|
+
# Intrinio::FilingNote
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **String** | The Intrinio ID of the note | [optional]
|
7
|
+
**xbrl_tag** | **String** | The XBRL Tag used for the note | [optional]
|
8
|
+
**content** | **String** | The plain text (after html has been removed) of the note, or text including html if the content_format parameter has been set to html | [optional]
|
9
|
+
**filing** | [**FilingNoteFiling**](FilingNoteFiling.md) | | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,11 @@
|
|
1
|
+
# Intrinio::FilingNoteFiling
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**cik** | **String** | The Central Index Key (CIK) assigned to the company | [optional]
|
7
|
+
**report_type** | **String** | The type of report (10-Q, 10-K, etc) filed | [optional]
|
8
|
+
**period_end_date** | **Date** | The ending date of the fiscal period for the filing | [optional]
|
9
|
+
**filing_date** | **Date** | The date the report was filed with the SEC | [optional]
|
10
|
+
|
11
|
+
|
@@ -0,0 +1,10 @@
|
|
1
|
+
# Intrinio::FilingNoteSummary
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
Name | Type | Description | Notes
|
5
|
+
------------ | ------------- | ------------- | -------------
|
6
|
+
**id** | **String** | The Intrinio ID of the note | [optional]
|
7
|
+
**xbrl_tag** | **String** | The XBRL tag used for the note by the filing entity | [optional]
|
8
|
+
**filing** | [**FilingNoteFiling**](FilingNoteFiling.md) | | [optional]
|
9
|
+
|
10
|
+
|
data/docs/FundamentalsApi.md
CHANGED
@@ -4,18 +4,18 @@ All URIs are relative to *https://api-v2.intrinio.com*
|
|
4
4
|
|
5
5
|
Method | HTTP request | Description
|
6
6
|
------------- | ------------- | -------------
|
7
|
-
[**get_fundamental_by_id**](FundamentalsApi.md#get_fundamental_by_id) | **GET** /fundamentals/{id} |
|
8
|
-
[**get_fundamental_reported_financials**](FundamentalsApi.md#get_fundamental_reported_financials) | **GET** /fundamentals/{id}/reported_financials |
|
9
|
-
[**get_fundamental_standardized_financials**](FundamentalsApi.md#get_fundamental_standardized_financials) | **GET** /fundamentals/{id}/standardized_financials |
|
10
|
-
[**lookup_fundamental**](FundamentalsApi.md#lookup_fundamental) | **GET** /fundamentals/lookup/{identifier}/{statement_code}/{fiscal_year}/{fiscal_period} | Lookup
|
7
|
+
[**get_fundamental_by_id**](FundamentalsApi.md#get_fundamental_by_id) | **GET** /fundamentals/{id} | Fundamental by ID
|
8
|
+
[**get_fundamental_reported_financials**](FundamentalsApi.md#get_fundamental_reported_financials) | **GET** /fundamentals/{id}/reported_financials | Reported Financials
|
9
|
+
[**get_fundamental_standardized_financials**](FundamentalsApi.md#get_fundamental_standardized_financials) | **GET** /fundamentals/{id}/standardized_financials | Standardized Financials
|
10
|
+
[**lookup_fundamental**](FundamentalsApi.md#lookup_fundamental) | **GET** /fundamentals/lookup/{identifier}/{statement_code}/{fiscal_year}/{fiscal_period} | Lookup Fundamental
|
11
11
|
|
12
12
|
|
13
13
|
# **get_fundamental_by_id**
|
14
14
|
> Fundamental get_fundamental_by_id(id)
|
15
15
|
|
16
|
-
|
16
|
+
Fundamental by ID
|
17
17
|
|
18
|
-
|
18
|
+
Returns detailed fundamental data for the given `id`.
|
19
19
|
|
20
20
|
### Example
|
21
21
|
```ruby
|
@@ -53,7 +53,7 @@ Name | Type | Description | Notes
|
|
53
53
|
# **get_fundamental_reported_financials**
|
54
54
|
> ApiResponseReportedFinancials get_fundamental_reported_financials(id)
|
55
55
|
|
56
|
-
|
56
|
+
Reported Financials
|
57
57
|
|
58
58
|
Returns the As-Reported Financials directly from the financial statements of the XBRL filings from the company
|
59
59
|
|
@@ -93,7 +93,7 @@ Name | Type | Description | Notes
|
|
93
93
|
# **get_fundamental_standardized_financials**
|
94
94
|
> ApiResponseStandardizedFinancials get_fundamental_standardized_financials(id)
|
95
95
|
|
96
|
-
|
96
|
+
Standardized Financials
|
97
97
|
|
98
98
|
Returns professional-grade historical financial data. This data is standardized, cleansed and verified to ensure the highest quality data sourced directly from the XBRL financial statements. The primary purpose of standardized financials are to facilitate comparability across a single company’s fundamentals and across all companies fundamentals. For example, it is possible to compare total revenues between two companies as of a certain point in time, or within a single company across multiple time periods. This is not possible using the as reported financial statements because of the inherent complexity of reporting standards.
|
99
99
|
|
@@ -133,7 +133,7 @@ Name | Type | Description | Notes
|
|
133
133
|
# **lookup_fundamental**
|
134
134
|
> Fundamental lookup_fundamental(identifier, statement_code, fiscal_year, fiscal_period)
|
135
135
|
|
136
|
-
Lookup
|
136
|
+
Lookup Fundamental
|
137
137
|
|
138
138
|
Returns the Fundamental for the Company with the given `identifier` and with the given parameters
|
139
139
|
|