finnhub_ruby 1.1.13 → 1.1.16
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 +2 -2
- data/docs/BondCandles.md +22 -0
- data/docs/BondProfile.md +58 -0
- data/docs/DefaultApi.md +392 -8
- 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/UsaSpending.md +56 -0
- data/docs/UsaSpendingResult.md +20 -0
- data/docs/VisaApplication.md +2 -2
- data/finnhub_ruby-1.1.13.gem +0 -0
- data/finnhub_ruby-1.1.14.gem +0 -0
- data/finnhub_ruby-1.1.15.gem +0 -0
- data/lib/finnhub_ruby/api/default_api.rb +395 -14
- 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/usa_spending.rb +409 -0
- data/lib/finnhub_ruby/models/usa_spending_result.rb +231 -0
- data/lib/finnhub_ruby/models/visa_application.rb +7 -7
- 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/usa_spending_result_spec.rb +40 -0
- data/spec/models/usa_spending_spec.rb +148 -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/UsaSpending.md
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
# FinnhubRuby::UsaSpending
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **symbol** | **String** | Symbol. | [optional] |
|
8
|
+
| **recipient_name** | **String** | Company's name. | [optional] |
|
9
|
+
| **recipient_parent_name** | **String** | Company's name. | [optional] |
|
10
|
+
| **award_description** | **String** | Description. | [optional] |
|
11
|
+
| **country** | **String** | Recipient's country. | [optional] |
|
12
|
+
| **action_date** | **String** | Period. | [optional] |
|
13
|
+
| **total_value** | **Float** | Income reported by lobbying firms. | [optional] |
|
14
|
+
| **performance_start_date** | **String** | Performance start date. | [optional] |
|
15
|
+
| **performance_end_date** | **String** | Performance end date. | [optional] |
|
16
|
+
| **awarding_agency_name** | **String** | Award agency. | [optional] |
|
17
|
+
| **awarding_sub_agency_name** | **String** | Award sub-agency. | [optional] |
|
18
|
+
| **awarding_office_name** | **String** | Award office name. | [optional] |
|
19
|
+
| **performance_country** | **String** | Performance country. | [optional] |
|
20
|
+
| **performance_city** | **String** | Performance city. | [optional] |
|
21
|
+
| **performance_county** | **String** | Performance county. | [optional] |
|
22
|
+
| **performance_state** | **String** | Performance state. | [optional] |
|
23
|
+
| **performance_zip_code** | **String** | Performance zip code. | [optional] |
|
24
|
+
| **performance_congressional_district** | **String** | Performance congressional district. | [optional] |
|
25
|
+
| **naics_code** | **String** | NAICS code. | [optional] |
|
26
|
+
| **permalink** | **String** | Permalink. | [optional] |
|
27
|
+
|
28
|
+
## Example
|
29
|
+
|
30
|
+
```ruby
|
31
|
+
require 'finnhub_ruby'
|
32
|
+
|
33
|
+
instance = FinnhubRuby::UsaSpending.new(
|
34
|
+
symbol: null,
|
35
|
+
recipient_name: null,
|
36
|
+
recipient_parent_name: null,
|
37
|
+
award_description: null,
|
38
|
+
country: null,
|
39
|
+
action_date: null,
|
40
|
+
total_value: null,
|
41
|
+
performance_start_date: null,
|
42
|
+
performance_end_date: null,
|
43
|
+
awarding_agency_name: null,
|
44
|
+
awarding_sub_agency_name: null,
|
45
|
+
awarding_office_name: null,
|
46
|
+
performance_country: null,
|
47
|
+
performance_city: null,
|
48
|
+
performance_county: null,
|
49
|
+
performance_state: null,
|
50
|
+
performance_zip_code: null,
|
51
|
+
performance_congressional_district: null,
|
52
|
+
naics_code: null,
|
53
|
+
permalink: null
|
54
|
+
)
|
55
|
+
```
|
56
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
# FinnhubRuby::UsaSpendingResult
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
| Name | Type | Description | Notes |
|
6
|
+
| ---- | ---- | ----------- | ----- |
|
7
|
+
| **symbol** | **String** | Symbol. | [optional] |
|
8
|
+
| **data** | [**Array<UsaSpending>**](UsaSpending.md) | Array of government's spending data points. | [optional] |
|
9
|
+
|
10
|
+
## Example
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'finnhub_ruby'
|
14
|
+
|
15
|
+
instance = FinnhubRuby::UsaSpendingResult.new(
|
16
|
+
symbol: null,
|
17
|
+
data: null
|
18
|
+
)
|
19
|
+
```
|
20
|
+
|
data/docs/VisaApplication.md
CHANGED
@@ -24,7 +24,7 @@
|
|
24
24
|
| **worksite_postal_code** | **String** | Worksite postal code. | [optional] |
|
25
25
|
| **wage_range_from** | **Float** | Wage range from. | [optional] |
|
26
26
|
| **wage_range_to** | **Float** | Wage range to. | [optional] |
|
27
|
-
| **
|
27
|
+
| **wage_unit_of_pay** | **String** | Wage unit of pay. | [optional] |
|
28
28
|
| **wage_level** | **String** | Wage level. | [optional] |
|
29
29
|
| **h1b_dependent** | **String** | H1B dependent flag. | [optional] |
|
30
30
|
|
@@ -54,7 +54,7 @@ instance = FinnhubRuby::VisaApplication.new(
|
|
54
54
|
worksite_postal_code: null,
|
55
55
|
wage_range_from: null,
|
56
56
|
wage_range_to: null,
|
57
|
-
|
57
|
+
wage_unit_of_pay: null,
|
58
58
|
wage_level: null,
|
59
59
|
h1b_dependent: null
|
60
60
|
)
|
Binary file
|
Binary file
|
Binary file
|