aylien_news_api 4.0.0 → 4.4.0
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/docs/AggregatedSentiment.md +21 -0
- data/docs/DefaultApi.md +353 -1
- data/docs/Entity.md +13 -5
- data/docs/EntityLinks.md +6 -2
- data/docs/EntitySentiment.md +19 -0
- data/docs/EntitySurfaceForm.md +21 -0
- data/docs/ErrorLinks.md +3 -1
- data/docs/Logicals.md +21 -0
- data/docs/NestedEntity.md +33 -0
- data/docs/Parameter.md +127 -0
- data/docs/Query.md +31 -0
- data/docs/RelatedStories.md +5 -1
- data/docs/Stories.md +3 -1
- data/docs/Story.md +3 -1
- data/docs/TimeSeries.md +3 -1
- data/docs/Trend.md +3 -1
- data/docs/Warning.md +21 -0
- data/lib/aylien_news_api.rb +8 -0
- data/lib/aylien_news_api/api/default_api.rb +521 -2
- data/lib/aylien_news_api/models/aggregated_sentiment.rb +228 -0
- data/lib/aylien_news_api/models/entity.rb +68 -28
- data/lib/aylien_news_api/models/entity_links.rb +25 -5
- data/lib/aylien_news_api/models/entity_sentiment.rb +240 -0
- data/lib/aylien_news_api/models/entity_surface_form.rb +244 -0
- data/lib/aylien_news_api/models/error_links.rb +13 -4
- data/lib/aylien_news_api/models/logicals.rb +230 -0
- data/lib/aylien_news_api/models/nested_entity.rb +278 -0
- data/lib/aylien_news_api/models/parameter.rb +701 -0
- data/lib/aylien_news_api/models/query.rb +271 -0
- data/lib/aylien_news_api/models/related_stories.rb +24 -4
- data/lib/aylien_news_api/models/stories.rb +16 -4
- data/lib/aylien_news_api/models/story.rb +14 -4
- data/lib/aylien_news_api/models/time_series.rb +13 -4
- data/lib/aylien_news_api/models/trend.rb +13 -4
- data/lib/aylien_news_api/models/warning.rb +226 -0
- data/lib/aylien_news_api/version.rb +1 -1
- data/spec/api/default_api_spec.rb +145 -0
- data/spec/models/aggregated_sentiment_spec.rb +53 -0
- data/spec/models/entity_links_spec.rb +12 -0
- data/spec/models/entity_sentiment_spec.rb +47 -0
- data/spec/models/entity_spec.rb +26 -2
- data/spec/models/entity_surface_form_spec.rb +53 -0
- data/spec/models/error_links_spec.rb +6 -0
- data/spec/models/logicals_spec.rb +53 -0
- data/spec/models/nested_entity_spec.rb +89 -0
- data/spec/models/parameter_spec.rb +371 -0
- data/spec/models/query_spec.rb +83 -0
- data/spec/models/related_stories_spec.rb +12 -0
- data/spec/models/stories_spec.rb +6 -0
- data/spec/models/story_spec.rb +6 -0
- data/spec/models/time_series_spec.rb +6 -0
- data/spec/models/trend_spec.rb +6 -0
- data/spec/models/warning_spec.rb +53 -0
- metadata +34 -2
data/docs/Entity.md
CHANGED
@@ -4,22 +4,30 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | The unique ID of the entity | [optional]
|
7
8
|
**indices** | **Array<Array<Integer>>** | The indices of the entity text | [optional]
|
8
9
|
**links** | [**EntityLinks**](EntityLinks.md) | | [optional]
|
9
|
-
**score** | **Float** | The entity score | [optional]
|
10
10
|
**text** | **String** | The entity text | [optional]
|
11
|
-
**
|
11
|
+
**stock_ticker** | **String** | The stock_ticker of the entity (might be null) | [optional]
|
12
|
+
**types** | **Array<String>** | An array of the entity types | [optional]
|
13
|
+
**sentiment** | [**EntitySentiment**](EntitySentiment.md) | | [optional]
|
14
|
+
**surface_forms** | [**Array<EntitySurfaceForm>**](EntitySurfaceForm.md) | | [optional]
|
15
|
+
**prominence_score** | **Float** | Describes how relevant an entity is to the article | [optional]
|
12
16
|
|
13
17
|
## Code Sample
|
14
18
|
|
15
19
|
```ruby
|
16
20
|
require 'AylienNewsApi'
|
17
21
|
|
18
|
-
instance = AylienNewsApi::Entity.new(
|
22
|
+
instance = AylienNewsApi::Entity.new(id: null,
|
23
|
+
indices: null,
|
19
24
|
links: null,
|
20
|
-
score: null,
|
21
25
|
text: null,
|
22
|
-
|
26
|
+
stock_ticker: null,
|
27
|
+
types: null,
|
28
|
+
sentiment: null,
|
29
|
+
surface_forms: null,
|
30
|
+
prominence_score: null)
|
23
31
|
```
|
24
32
|
|
25
33
|
|
data/docs/EntityLinks.md
CHANGED
@@ -4,14 +4,18 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**dbpedia** | **String** | A dbpedia resource URL | [optional]
|
7
|
+
**dbpedia** | **String** | A dbpedia resource URL (deprecated) | [optional]
|
8
|
+
**wikipedia** | **String** | A wikipedia resource URL | [optional]
|
9
|
+
**wikidata** | **String** | A wikidata resource URL | [optional]
|
8
10
|
|
9
11
|
## Code Sample
|
10
12
|
|
11
13
|
```ruby
|
12
14
|
require 'AylienNewsApi'
|
13
15
|
|
14
|
-
instance = AylienNewsApi::EntityLinks.new(dbpedia: null
|
16
|
+
instance = AylienNewsApi::EntityLinks.new(dbpedia: null,
|
17
|
+
wikipedia: null,
|
18
|
+
wikidata: null)
|
15
19
|
```
|
16
20
|
|
17
21
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# AylienNewsApi::EntitySentiment
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**polarity** | [**SentimentPolarity**](SentimentPolarity.md) | | [optional]
|
8
|
+
**confidence** | **Float** | Polarity confidence of the sentiment | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'AylienNewsApi'
|
14
|
+
|
15
|
+
instance = AylienNewsApi::EntitySentiment.new(polarity: null,
|
16
|
+
confidence: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# AylienNewsApi::EntitySurfaceForm
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**text** | **String** | The entity text | [optional]
|
8
|
+
**indices** | **Array<Array<Integer>>** | The indices of the entity text | [optional]
|
9
|
+
**frequency** | **Integer** | Amount of entity surface form mentions in the article | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'AylienNewsApi'
|
15
|
+
|
16
|
+
instance = AylienNewsApi::EntitySurfaceForm.new(text: null,
|
17
|
+
indices: null,
|
18
|
+
frequency: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
data/docs/ErrorLinks.md
CHANGED
@@ -5,13 +5,15 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**about** | **String** | | [optional]
|
8
|
+
**docs** | **String** | | [optional]
|
8
9
|
|
9
10
|
## Code Sample
|
10
11
|
|
11
12
|
```ruby
|
12
13
|
require 'AylienNewsApi'
|
13
14
|
|
14
|
-
instance = AylienNewsApi::ErrorLinks.new(about: null
|
15
|
+
instance = AylienNewsApi::ErrorLinks.new(about: null,
|
16
|
+
docs: null)
|
15
17
|
```
|
16
18
|
|
17
19
|
|
data/docs/Logicals.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# AylienNewsApi::Logicals
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**_and** | [**Array<AnyOfLogicalsParameter>**](AnyOfLogicalsParameter.md) | | [optional]
|
8
|
+
**_or** | [**Array<AnyOfLogicalsParameter>**](AnyOfLogicalsParameter.md) | | [optional]
|
9
|
+
**_not** | [**Array<AnyOfLogicalsParameter>**](AnyOfLogicalsParameter.md) | | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'AylienNewsApi'
|
15
|
+
|
16
|
+
instance = AylienNewsApi::Logicals.new(_and: null,
|
17
|
+
_or: null,
|
18
|
+
_not: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# AylienNewsApi::NestedEntity
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | [**Query**](Query.md) | | [optional]
|
8
|
+
**name** | [**Query**](Query.md) | | [optional]
|
9
|
+
**surface_forms_text** | [**Query**](Query.md) | | [optional]
|
10
|
+
**sentiment** | [**Query**](Query.md) | | [optional]
|
11
|
+
**element** | [**Query**](Query.md) | | [optional]
|
12
|
+
**links_wikipedia** | [**Query**](Query.md) | | [optional]
|
13
|
+
**links_wikidata** | [**Query**](Query.md) | | [optional]
|
14
|
+
**stock_ticker** | [**Query**](Query.md) | | [optional]
|
15
|
+
**type** | [**Query**](Query.md) | | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'AylienNewsApi'
|
21
|
+
|
22
|
+
instance = AylienNewsApi::NestedEntity.new(id: null,
|
23
|
+
name: null,
|
24
|
+
surface_forms_text: null,
|
25
|
+
sentiment: null,
|
26
|
+
element: null,
|
27
|
+
links_wikipedia: null,
|
28
|
+
links_wikidata: null,
|
29
|
+
stock_ticker: null,
|
30
|
+
type: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
data/docs/Parameter.md
ADDED
@@ -0,0 +1,127 @@
|
|
1
|
+
# AylienNewsApi::Parameter
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**author_id** | [**Query**](Query.md) | | [optional]
|
8
|
+
**author_name** | [**Query**](Query.md) | | [optional]
|
9
|
+
**body** | [**Query**](Query.md) | | [optional]
|
10
|
+
**categories_confident** | [**Query**](Query.md) | | [optional]
|
11
|
+
**categories_id** | [**Query**](Query.md) | | [optional]
|
12
|
+
**categories_level** | [**Query**](Query.md) | | [optional]
|
13
|
+
**categories_taxonomy** | [**Query**](Query.md) | | [optional]
|
14
|
+
**clusters** | [**Query**](Query.md) | | [optional]
|
15
|
+
**links_permalink** | [**Query**](Query.md) | | [optional]
|
16
|
+
**entities_body_links_dbpedia** | [**Query**](Query.md) | | [optional]
|
17
|
+
**entities_body_text** | [**Query**](Query.md) | | [optional]
|
18
|
+
**entities_body_type** | [**Query**](Query.md) | | [optional]
|
19
|
+
**entities_title_links_dbpedia** | [**Query**](Query.md) | | [optional]
|
20
|
+
**entities_title_text** | [**Query**](Query.md) | | [optional]
|
21
|
+
**entities_title_type** | [**Query**](Query.md) | | [optional]
|
22
|
+
**id** | [**Query**](Query.md) | | [optional]
|
23
|
+
**language** | [**Query**](Query.md) | | [optional]
|
24
|
+
**media_images_content_length_max** | [**Query**](Query.md) | | [optional]
|
25
|
+
**media_images_content_length_min** | [**Query**](Query.md) | | [optional]
|
26
|
+
**media_images_count_max** | [**Query**](Query.md) | | [optional]
|
27
|
+
**media_images_count_min** | [**Query**](Query.md) | | [optional]
|
28
|
+
**media_images_format** | [**Query**](Query.md) | | [optional]
|
29
|
+
**media_images_height_max** | [**Query**](Query.md) | | [optional]
|
30
|
+
**media_images_height_min** | [**Query**](Query.md) | | [optional]
|
31
|
+
**media_images_width_max** | [**Query**](Query.md) | | [optional]
|
32
|
+
**media_images_width_min** | [**Query**](Query.md) | | [optional]
|
33
|
+
**media_videos_count_max** | [**Query**](Query.md) | | [optional]
|
34
|
+
**media_videos_count_min** | [**Query**](Query.md) | | [optional]
|
35
|
+
**sentiment_body_polarity** | [**Query**](Query.md) | | [optional]
|
36
|
+
**sentiment_title_polarity** | [**Query**](Query.md) | | [optional]
|
37
|
+
**social_shares_count_facebook_max** | [**Query**](Query.md) | | [optional]
|
38
|
+
**social_shares_count_facebook_min** | [**Query**](Query.md) | | [optional]
|
39
|
+
**social_shares_count_reddit_max** | [**Query**](Query.md) | | [optional]
|
40
|
+
**social_shares_count_reddit_min** | [**Query**](Query.md) | | [optional]
|
41
|
+
**source_domain** | [**Query**](Query.md) | | [optional]
|
42
|
+
**source_id** | [**Query**](Query.md) | | [optional]
|
43
|
+
**source_links_in_count_max** | [**Query**](Query.md) | | [optional]
|
44
|
+
**source_links_in_count_min** | [**Query**](Query.md) | | [optional]
|
45
|
+
**source_locations_city** | [**Query**](Query.md) | | [optional]
|
46
|
+
**source_locations_country** | [**Query**](Query.md) | | [optional]
|
47
|
+
**source_locations_state** | [**Query**](Query.md) | | [optional]
|
48
|
+
**source_rankings_alexa_country** | [**Query**](Query.md) | | [optional]
|
49
|
+
**source_rankings_alexa_rank_max** | [**Query**](Query.md) | | [optional]
|
50
|
+
**source_rankings_alexa_rank_min** | [**Query**](Query.md) | | [optional]
|
51
|
+
**source_scopes_city** | [**Query**](Query.md) | | [optional]
|
52
|
+
**source_scopes_country** | [**Query**](Query.md) | | [optional]
|
53
|
+
**source_scopes_level** | [**Query**](Query.md) | | [optional]
|
54
|
+
**source_scopes_state** | [**Query**](Query.md) | | [optional]
|
55
|
+
**story_url** | [**Query**](Query.md) | | [optional]
|
56
|
+
**story_language** | [**Query**](Query.md) | | [optional]
|
57
|
+
**text** | [**Query**](Query.md) | | [optional]
|
58
|
+
**title** | [**Query**](Query.md) | | [optional]
|
59
|
+
**translations_en_body** | [**Query**](Query.md) | | [optional]
|
60
|
+
**translations_en_text** | [**Query**](Query.md) | | [optional]
|
61
|
+
**translations_en_title** | [**Query**](Query.md) | | [optional]
|
62
|
+
**entity** | [**OneOfNestedEntityLogicals**](OneOfNestedEntityLogicals.md) | | [optional]
|
63
|
+
|
64
|
+
## Code Sample
|
65
|
+
|
66
|
+
```ruby
|
67
|
+
require 'AylienNewsApi'
|
68
|
+
|
69
|
+
instance = AylienNewsApi::Parameter.new(author_id: null,
|
70
|
+
author_name: null,
|
71
|
+
body: null,
|
72
|
+
categories_confident: null,
|
73
|
+
categories_id: null,
|
74
|
+
categories_level: null,
|
75
|
+
categories_taxonomy: null,
|
76
|
+
clusters: null,
|
77
|
+
links_permalink: null,
|
78
|
+
entities_body_links_dbpedia: null,
|
79
|
+
entities_body_text: null,
|
80
|
+
entities_body_type: null,
|
81
|
+
entities_title_links_dbpedia: null,
|
82
|
+
entities_title_text: null,
|
83
|
+
entities_title_type: null,
|
84
|
+
id: null,
|
85
|
+
language: null,
|
86
|
+
media_images_content_length_max: null,
|
87
|
+
media_images_content_length_min: null,
|
88
|
+
media_images_count_max: null,
|
89
|
+
media_images_count_min: null,
|
90
|
+
media_images_format: null,
|
91
|
+
media_images_height_max: null,
|
92
|
+
media_images_height_min: null,
|
93
|
+
media_images_width_max: null,
|
94
|
+
media_images_width_min: null,
|
95
|
+
media_videos_count_max: null,
|
96
|
+
media_videos_count_min: null,
|
97
|
+
sentiment_body_polarity: null,
|
98
|
+
sentiment_title_polarity: null,
|
99
|
+
social_shares_count_facebook_max: null,
|
100
|
+
social_shares_count_facebook_min: null,
|
101
|
+
social_shares_count_reddit_max: null,
|
102
|
+
social_shares_count_reddit_min: null,
|
103
|
+
source_domain: null,
|
104
|
+
source_id: null,
|
105
|
+
source_links_in_count_max: null,
|
106
|
+
source_links_in_count_min: null,
|
107
|
+
source_locations_city: null,
|
108
|
+
source_locations_country: null,
|
109
|
+
source_locations_state: null,
|
110
|
+
source_rankings_alexa_country: null,
|
111
|
+
source_rankings_alexa_rank_max: null,
|
112
|
+
source_rankings_alexa_rank_min: null,
|
113
|
+
source_scopes_city: null,
|
114
|
+
source_scopes_country: null,
|
115
|
+
source_scopes_level: null,
|
116
|
+
source_scopes_state: null,
|
117
|
+
story_url: null,
|
118
|
+
story_language: null,
|
119
|
+
text: null,
|
120
|
+
title: null,
|
121
|
+
translations_en_body: null,
|
122
|
+
translations_en_text: null,
|
123
|
+
translations_en_title: null,
|
124
|
+
entity: null)
|
125
|
+
```
|
126
|
+
|
127
|
+
|
data/docs/Query.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# AylienNewsApi::Query
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**eq** | [**OneOfstringnumber**](OneOfstringnumber.md) | | [optional]
|
8
|
+
**text** | [**OneOfstringnumber**](OneOfstringnumber.md) | | [optional]
|
9
|
+
**_in** | [**Array<OneOfstringnumber>**](OneOfstringnumber.md) | | [optional]
|
10
|
+
**gt** | **Float** | | [optional]
|
11
|
+
**gte** | **Float** | | [optional]
|
12
|
+
**lt** | **Float** | | [optional]
|
13
|
+
**lte** | **Float** | | [optional]
|
14
|
+
**boost** | **Float** | | [optional]
|
15
|
+
|
16
|
+
## Code Sample
|
17
|
+
|
18
|
+
```ruby
|
19
|
+
require 'AylienNewsApi'
|
20
|
+
|
21
|
+
instance = AylienNewsApi::Query.new(eq: null,
|
22
|
+
text: null,
|
23
|
+
_in: null,
|
24
|
+
gt: null,
|
25
|
+
gte: null,
|
26
|
+
lt: null,
|
27
|
+
lte: null,
|
28
|
+
boost: null)
|
29
|
+
```
|
30
|
+
|
31
|
+
|
data/docs/RelatedStories.md
CHANGED
@@ -8,6 +8,8 @@ Name | Type | Description | Notes
|
|
8
8
|
**story_body** | **String** | The input story body | [optional]
|
9
9
|
**story_language** | **String** | The input story language | [optional]
|
10
10
|
**story_title** | **String** | The input story title | [optional]
|
11
|
+
**published_at_end** | **DateTime** | The end of a period in which searched stories were published | [optional]
|
12
|
+
**published_at_start** | **DateTime** | The start of a period in which searched stories were published | [optional]
|
11
13
|
|
12
14
|
## Code Sample
|
13
15
|
|
@@ -17,7 +19,9 @@ require 'AylienNewsApi'
|
|
17
19
|
instance = AylienNewsApi::RelatedStories.new(related_stories: null,
|
18
20
|
story_body: null,
|
19
21
|
story_language: null,
|
20
|
-
story_title: null
|
22
|
+
story_title: null,
|
23
|
+
published_at_end: null,
|
24
|
+
published_at_start: null)
|
21
25
|
```
|
22
26
|
|
23
27
|
|
data/docs/Stories.md
CHANGED
@@ -8,6 +8,7 @@ Name | Type | Description | Notes
|
|
8
8
|
**stories** | [**Array<Story>**](Story.md) | An array of stories | [optional]
|
9
9
|
**published_at_end** | **DateTime** | The end of a period in which searched stories were published | [optional]
|
10
10
|
**published_at_start** | **DateTime** | The start of a period in which searched stories were published | [optional]
|
11
|
+
**warnings** | [**Array<Warning>**](Warning.md) | Notifies about possible issues that occurred when searching for stories | [optional]
|
11
12
|
|
12
13
|
## Code Sample
|
13
14
|
|
@@ -17,7 +18,8 @@ require 'AylienNewsApi'
|
|
17
18
|
instance = AylienNewsApi::Stories.new(next_page_cursor: null,
|
18
19
|
stories: null,
|
19
20
|
published_at_end: null,
|
20
|
-
published_at_start: null
|
21
|
+
published_at_start: null,
|
22
|
+
warnings: null)
|
21
23
|
```
|
22
24
|
|
23
25
|
|
data/docs/Story.md
CHANGED
@@ -26,6 +26,7 @@ Name | Type | Description | Notes
|
|
26
26
|
**title** | **String** | Title of the story | [optional]
|
27
27
|
**translations** | [**StoryTranslations**](StoryTranslations.md) | | [optional]
|
28
28
|
**words_count** | **Integer** | Word count of the story body | [optional]
|
29
|
+
**license_type** | **Integer** | License type of the story | [optional]
|
29
30
|
|
30
31
|
## Code Sample
|
31
32
|
|
@@ -53,7 +54,8 @@ instance = AylienNewsApi::Story.new(author: null,
|
|
53
54
|
summary: null,
|
54
55
|
title: null,
|
55
56
|
translations: null,
|
56
|
-
words_count: null
|
57
|
+
words_count: null,
|
58
|
+
license_type: null)
|
57
59
|
```
|
58
60
|
|
59
61
|
|
data/docs/TimeSeries.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**count** | **Integer** | The count of time series bin | [optional]
|
8
8
|
**published_at** | **DateTime** | The published date of the time series bin | [optional]
|
9
|
+
**sentiment** | [**AggregatedSentiment**](AggregatedSentiment.md) | | [optional]
|
9
10
|
|
10
11
|
## Code Sample
|
11
12
|
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
require 'AylienNewsApi'
|
14
15
|
|
15
16
|
instance = AylienNewsApi::TimeSeries.new(count: null,
|
16
|
-
published_at: null
|
17
|
+
published_at: null,
|
18
|
+
sentiment: null)
|
17
19
|
```
|
18
20
|
|
19
21
|
|
data/docs/Trend.md
CHANGED
@@ -6,6 +6,7 @@ Name | Type | Description | Notes
|
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**count** | **Integer** | The count of the trend | [optional]
|
8
8
|
**value** | **String** | The value of the trend | [optional]
|
9
|
+
**sentiment** | [**AggregatedSentiment**](AggregatedSentiment.md) | | [optional]
|
9
10
|
|
10
11
|
## Code Sample
|
11
12
|
|
@@ -13,7 +14,8 @@ Name | Type | Description | Notes
|
|
13
14
|
require 'AylienNewsApi'
|
14
15
|
|
15
16
|
instance = AylienNewsApi::Trend.new(count: null,
|
16
|
-
value: null
|
17
|
+
value: null,
|
18
|
+
sentiment: null)
|
17
19
|
```
|
18
20
|
|
19
21
|
|
data/docs/Warning.md
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# AylienNewsApi::Warning
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | The identfier of the warning, represents its origin. | [optional]
|
8
|
+
**links** | [**ErrorLinks**](ErrorLinks.md) | | [optional]
|
9
|
+
**detail** | **String** | The detailed description of the warning. | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'AylienNewsApi'
|
15
|
+
|
16
|
+
instance = AylienNewsApi::Warning.new(id: null,
|
17
|
+
links: null,
|
18
|
+
detail: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|