finnhub_ruby 1.1.12 → 1.1.15
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 +4 -4
- data/README.md +5 -2
- data/docs/BondCandles.md +22 -0
- data/docs/BondProfile.md +58 -0
- data/docs/DefaultApi.md +393 -7
- data/docs/InsiderSentiments.md +20 -0
- data/docs/InsiderSentimentsData.md +26 -0
- data/docs/LobbyingData.md +46 -0
- data/docs/LobbyingResult.md +20 -0
- data/docs/UsptoPatent.md +1 -1
- data/docs/VisaApplication.md +62 -0
- data/docs/VisaApplicationResult.md +20 -0
- data/finnhub_ruby-1.1.12.gem +0 -0
- data/finnhub_ruby-1.1.13.gem +0 -0
- data/finnhub_ruby-1.1.14.gem +0 -0
- data/lib/finnhub_ruby/api/default_api.rb +394 -10
- data/lib/finnhub_ruby/models/bond_candles.rb +243 -0
- data/lib/finnhub_ruby/models/bond_profile.rb +419 -0
- data/lib/finnhub_ruby/models/insider_sentiments.rb +231 -0
- data/lib/finnhub_ruby/models/insider_sentiments_data.rb +259 -0
- data/lib/finnhub_ruby/models/lobbying_data.rb +359 -0
- data/lib/finnhub_ruby/models/lobbying_result.rb +231 -0
- data/lib/finnhub_ruby/models/uspto_patent.rb +1 -1
- data/lib/finnhub_ruby/models/visa_application.rb +439 -0
- data/lib/finnhub_ruby/models/visa_application_result.rb +231 -0
- data/lib/finnhub_ruby/version.rb +1 -1
- data/lib/finnhub_ruby.rb +8 -0
- data/spec/models/bond_candles_spec.rb +46 -0
- data/spec/models/bond_profile_spec.rb +154 -0
- data/spec/models/insider_sentiments_data_spec.rb +58 -0
- data/spec/models/insider_sentiments_spec.rb +40 -0
- data/spec/models/lobbying_data_spec.rb +118 -0
- data/spec/models/lobbying_result_spec.rb +40 -0
- data/spec/models/visa_application_result_spec.rb +40 -0
- data/spec/models/visa_application_spec.rb +166 -0
- metadata +37 -2
@@ -0,0 +1,46 @@
|
|
1
|
+
# FinnhubRuby::LobbyingData
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **symbol** | **String** | Symbol. | [optional] |
|
8
|
+
| **name** | **String** | Company's name. | [optional] |
|
9
|
+
| **description** | **String** | Description. | [optional] |
|
10
|
+
| **country** | **String** | Country. | [optional] |
|
11
|
+
| **year** | **Integer** | Year. | [optional] |
|
12
|
+
| **period** | **String** | Period. | [optional] |
|
13
|
+
| **income** | **Float** | Income reported by lobbying firms. | [optional] |
|
14
|
+
| **expenses** | **Float** | Expenses reported by the company. | [optional] |
|
15
|
+
| **document_url** | **String** | Document's URL. | [optional] |
|
16
|
+
| **posted_name** | **String** | Posted name. | [optional] |
|
17
|
+
| **date** | **String** | Date. | [optional] |
|
18
|
+
| **client_id** | **String** | Client ID. | [optional] |
|
19
|
+
| **registrant_id** | **String** | Registrant ID. | [optional] |
|
20
|
+
| **senate_id** | **String** | Senate ID. | [optional] |
|
21
|
+
| **houseregistrant_id** | **String** | House registrant ID. | [optional] |
|
22
|
+
|
23
|
+
## Example
|
24
|
+
|
25
|
+
```ruby
|
26
|
+
require 'finnhub_ruby'
|
27
|
+
|
28
|
+
instance = FinnhubRuby::LobbyingData.new(
|
29
|
+
symbol: null,
|
30
|
+
name: null,
|
31
|
+
description: null,
|
32
|
+
country: null,
|
33
|
+
year: null,
|
34
|
+
period: null,
|
35
|
+
income: null,
|
36
|
+
expenses: null,
|
37
|
+
document_url: null,
|
38
|
+
posted_name: null,
|
39
|
+
date: null,
|
40
|
+
client_id: null,
|
41
|
+
registrant_id: null,
|
42
|
+
senate_id: null,
|
43
|
+
houseregistrant_id: null
|
44
|
+
)
|
45
|
+
```
|
46
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FinnhubRuby::LobbyingResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **symbol** | **String** | Symbol. | [optional] |
|
8
|
+
| **data** | [**Array<LobbyingData>**](LobbyingData.md) | Array of lobbying activities. | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'finnhub_ruby'
|
14
|
+
|
15
|
+
instance = FinnhubRuby::LobbyingResult.new(
|
16
|
+
symbol: null,
|
17
|
+
data: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/UsptoPatent.md
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
| **description** | **String** | Description. | [optional] |
|
11
11
|
| **filing_status** | **String** | Filing status. | [optional] |
|
12
12
|
| **patent_number** | **String** | Patent number. | [optional] |
|
13
|
-
| **publication_date** | **String** |
|
13
|
+
| **publication_date** | **String** | Publication date. | [optional] |
|
14
14
|
| **patent_type** | **String** | Patent's type. | [optional] |
|
15
15
|
| **url** | **String** | URL of the original article. | [optional] |
|
16
16
|
|
@@ -0,0 +1,62 @@
|
|
1
|
+
# FinnhubRuby::VisaApplication
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **year** | **Integer** | Year. | [optional] |
|
8
|
+
| **quarter** | **Integer** | Quarter. | [optional] |
|
9
|
+
| **symbol** | **String** | Symbol. | [optional] |
|
10
|
+
| **case_number** | **String** | Case number. | [optional] |
|
11
|
+
| **case_status** | **String** | Case status. | [optional] |
|
12
|
+
| **received_date** | **String** | Received date. | [optional] |
|
13
|
+
| **visa_class** | **String** | Visa class. | [optional] |
|
14
|
+
| **job_title** | **String** | Job Title. | [optional] |
|
15
|
+
| **soc_code** | **String** | SOC Code. A list of SOC code can be found <a href=\"https://www.bls.gov/oes/current/oes_stru.htm\" target=\"_blank\">here</a>. | [optional] |
|
16
|
+
| **full_time_position** | **String** | Full-time position flag. | [optional] |
|
17
|
+
| **begin_date** | **String** | Job's start date. | [optional] |
|
18
|
+
| **end_date** | **String** | Job's end date. | [optional] |
|
19
|
+
| **employer_name** | **String** | Company's name. | [optional] |
|
20
|
+
| **worksite_address** | **String** | Worksite address. | [optional] |
|
21
|
+
| **worksite_city** | **String** | Worksite city. | [optional] |
|
22
|
+
| **worksite_county** | **String** | Worksite county. | [optional] |
|
23
|
+
| **worksite_state** | **String** | Worksite state. | [optional] |
|
24
|
+
| **worksite_postal_code** | **String** | Worksite postal code. | [optional] |
|
25
|
+
| **wage_range_from** | **Float** | Wage range from. | [optional] |
|
26
|
+
| **wage_range_to** | **Float** | Wage range to. | [optional] |
|
27
|
+
| **wage_unit_of_pay** | **String** | Wage unit of pay. | [optional] |
|
28
|
+
| **wage_level** | **String** | Wage level. | [optional] |
|
29
|
+
| **h1b_dependent** | **String** | H1B dependent flag. | [optional] |
|
30
|
+
|
31
|
+
## Example
|
32
|
+
|
33
|
+
```ruby
|
34
|
+
require 'finnhub_ruby'
|
35
|
+
|
36
|
+
instance = FinnhubRuby::VisaApplication.new(
|
37
|
+
year: null,
|
38
|
+
quarter: null,
|
39
|
+
symbol: null,
|
40
|
+
case_number: null,
|
41
|
+
case_status: null,
|
42
|
+
received_date: null,
|
43
|
+
visa_class: null,
|
44
|
+
job_title: null,
|
45
|
+
soc_code: null,
|
46
|
+
full_time_position: null,
|
47
|
+
begin_date: null,
|
48
|
+
end_date: null,
|
49
|
+
employer_name: null,
|
50
|
+
worksite_address: null,
|
51
|
+
worksite_city: null,
|
52
|
+
worksite_county: null,
|
53
|
+
worksite_state: null,
|
54
|
+
worksite_postal_code: null,
|
55
|
+
wage_range_from: null,
|
56
|
+
wage_range_to: null,
|
57
|
+
wage_unit_of_pay: null,
|
58
|
+
wage_level: null,
|
59
|
+
h1b_dependent: null
|
60
|
+
)
|
61
|
+
```
|
62
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FinnhubRuby::VisaApplicationResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **symbol** | **String** | Symbol. | [optional] |
|
8
|
+
| **data** | [**Array<VisaApplication>**](VisaApplication.md) | Array of H1b and Permanent visa applications. | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'finnhub_ruby'
|
14
|
+
|
15
|
+
instance = FinnhubRuby::VisaApplicationResult.new(
|
16
|
+
symbol: null,
|
17
|
+
data: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
Binary file
|
Binary file
|
Binary file
|