aylien_news_api 4.1.1 → 4.5.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/README.md +100 -31
- data/docs/AggregatedSentiment.md +21 -0
- data/docs/DefaultApi.md +491 -7
- data/docs/DeprecatedEntities.md +19 -0
- data/docs/DeprecatedEntity.md +33 -0
- data/docs/DeprecatedEntitySurfaceForm.md +21 -0
- data/docs/DeprecatedRelatedStories.md +27 -0
- data/docs/DeprecatedStories.md +25 -0
- data/docs/DeprecatedStory.md +61 -0
- data/docs/Entity.md +16 -8
- data/docs/EntityInText.md +19 -0
- data/docs/EntityLinks.md +6 -2
- data/docs/EntityMention.md +19 -0
- data/docs/EntityMentionIndex.md +19 -0
- data/docs/EntitySentiment.md +19 -0
- data/docs/EntitySurfaceForm.md +21 -0
- 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/Story.md +4 -2
- data/docs/TimeSeries.md +3 -1
- data/docs/Trend.md +3 -1
- data/lib/aylien_news_api.rb +16 -1
- data/lib/aylien_news_api/api/default_api.rb +728 -11
- data/lib/aylien_news_api/models/aggregated_sentiment.rb +228 -0
- data/lib/aylien_news_api/models/deprecated_entities.rb +221 -0
- data/lib/aylien_news_api/models/deprecated_entity.rb +314 -0
- data/lib/aylien_news_api/models/deprecated_entity_surface_form.rb +244 -0
- data/lib/aylien_news_api/models/deprecated_related_stories.rb +260 -0
- data/lib/aylien_news_api/models/deprecated_stories.rb +252 -0
- data/lib/aylien_news_api/models/deprecated_story.rb +429 -0
- data/lib/aylien_news_api/models/entity.rb +96 -44
- data/lib/aylien_news_api/models/entity_in_text.rb +217 -0
- data/lib/aylien_news_api/models/entity_links.rb +25 -5
- data/lib/aylien_news_api/models/entity_mention.rb +215 -0
- data/lib/aylien_news_api/models/entity_mention_index.rb +265 -0
- 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/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 +1 -0
- data/lib/aylien_news_api/models/stories.rb +1 -0
- data/lib/aylien_news_api/models/story.rb +19 -6
- 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/version.rb +1 -1
- data/spec/api/default_api_spec.rb +226 -3
- data/spec/models/aggregated_sentiment_spec.rb +53 -0
- data/spec/models/deprecated_entities_spec.rb +47 -0
- data/spec/models/deprecated_entity_spec.rb +89 -0
- data/spec/models/deprecated_entity_surface_form_spec.rb +53 -0
- data/spec/models/deprecated_related_stories_spec.rb +71 -0
- data/spec/models/deprecated_stories_spec.rb +65 -0
- data/spec/models/deprecated_story_spec.rb +173 -0
- data/spec/models/entity_in_text_spec.rb +47 -0
- data/spec/models/entity_links_spec.rb +12 -0
- data/spec/models/entity_mention_index_spec.rb +47 -0
- data/spec/models/entity_mention_spec.rb +47 -0
- data/spec/models/entity_sentiment_spec.rb +47 -0
- data/spec/models/entity_spec.rb +28 -4
- data/spec/models/entity_surface_form_spec.rb +53 -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/story_spec.rb +6 -0
- data/spec/models/time_series_spec.rb +6 -0
- data/spec/models/trend_spec.rb +6 -0
- metadata +66 -2
@@ -0,0 +1,19 @@
|
|
1
|
+
# AylienNewsApi::DeprecatedEntities
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**body** | [**Array<DeprecatedEntity>**](DeprecatedEntity.md) | An array of extracted entities from the story body | [optional]
|
8
|
+
**title** | [**Array<DeprecatedEntity>**](DeprecatedEntity.md) | An array of extracted entities from the story title | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'AylienNewsApi'
|
14
|
+
|
15
|
+
instance = AylienNewsApi::DeprecatedEntities.new(body: null,
|
16
|
+
title: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
# AylienNewsApi::DeprecatedEntity
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | The unique ID of the entity | [optional]
|
8
|
+
**indices** | **Array<Array<Integer>>** | The indices of the entity text | [optional]
|
9
|
+
**links** | [**EntityLinks**](EntityLinks.md) | | [optional]
|
10
|
+
**text** | **String** | The entity text | [optional]
|
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<DeprecatedEntitySurfaceForm>**](DeprecatedEntitySurfaceForm.md) | | [optional]
|
15
|
+
**prominence_score** | **Float** | Describes how relevant an entity is to the article | [optional]
|
16
|
+
|
17
|
+
## Code Sample
|
18
|
+
|
19
|
+
```ruby
|
20
|
+
require 'AylienNewsApi'
|
21
|
+
|
22
|
+
instance = AylienNewsApi::DeprecatedEntity.new(id: null,
|
23
|
+
indices: null,
|
24
|
+
links: null,
|
25
|
+
text: null,
|
26
|
+
stock_ticker: null,
|
27
|
+
types: null,
|
28
|
+
sentiment: null,
|
29
|
+
surface_forms: null,
|
30
|
+
prominence_score: null)
|
31
|
+
```
|
32
|
+
|
33
|
+
|
@@ -0,0 +1,21 @@
|
|
1
|
+
# AylienNewsApi::DeprecatedEntitySurfaceForm
|
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::DeprecatedEntitySurfaceForm.new(text: null,
|
17
|
+
indices: null,
|
18
|
+
frequency: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# AylienNewsApi::DeprecatedRelatedStories
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**related_stories** | [**Array<DeprecatedStory>**](DeprecatedStory.md) | An array of related stories for the input story | [optional]
|
8
|
+
**story_body** | **String** | The input story body | [optional]
|
9
|
+
**story_language** | **String** | The input story language | [optional]
|
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]
|
13
|
+
|
14
|
+
## Code Sample
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
require 'AylienNewsApi'
|
18
|
+
|
19
|
+
instance = AylienNewsApi::DeprecatedRelatedStories.new(related_stories: null,
|
20
|
+
story_body: null,
|
21
|
+
story_language: null,
|
22
|
+
story_title: null,
|
23
|
+
published_at_end: null,
|
24
|
+
published_at_start: null)
|
25
|
+
```
|
26
|
+
|
27
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
# AylienNewsApi::DeprecatedStories
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**next_page_cursor** | **String** | The next page cursor | [optional]
|
8
|
+
**stories** | [**Array<DeprecatedStory>**](DeprecatedStory.md) | An array of stories | [optional]
|
9
|
+
**published_at_end** | **DateTime** | The end of a period in which searched stories were published | [optional]
|
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]
|
12
|
+
|
13
|
+
## Code Sample
|
14
|
+
|
15
|
+
```ruby
|
16
|
+
require 'AylienNewsApi'
|
17
|
+
|
18
|
+
instance = AylienNewsApi::DeprecatedStories.new(next_page_cursor: null,
|
19
|
+
stories: null,
|
20
|
+
published_at_end: null,
|
21
|
+
published_at_start: null,
|
22
|
+
warnings: null)
|
23
|
+
```
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,61 @@
|
|
1
|
+
# AylienNewsApi::DeprecatedStory
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**author** | [**Author**](Author.md) | | [optional]
|
8
|
+
**body** | **String** | Body of the story | [optional]
|
9
|
+
**categories** | [**Array<Category>**](Category.md) | Suggested categories for the story | [optional]
|
10
|
+
**characters_count** | **Integer** | Character count of the story body | [optional]
|
11
|
+
**clusters** | **Array<Integer>** | An array of clusters the story is associated with | [optional]
|
12
|
+
**entities** | [**DeprecatedEntities**](DeprecatedEntities.md) | | [optional]
|
13
|
+
**hashtags** | **Array<String>** | An array of suggested Story hashtags | [optional]
|
14
|
+
**id** | **Integer** | ID of the story which is a unique identification | [optional]
|
15
|
+
**keywords** | **Array<String>** | Extracted keywords mentioned in the story title or body | [optional]
|
16
|
+
**language** | **String** | Language of the story | [optional]
|
17
|
+
**links** | [**StoryLinks**](StoryLinks.md) | | [optional]
|
18
|
+
**media** | [**Array<Media>**](Media.md) | An array of extracted media such as images and videos | [optional]
|
19
|
+
**paragraphs_count** | **Integer** | Paragraph count of the story body | [optional]
|
20
|
+
**published_at** | **DateTime** | Published date of the story | [optional]
|
21
|
+
**sentences_count** | **Integer** | Sentence count of the story body | [optional]
|
22
|
+
**sentiment** | [**Sentiments**](Sentiments.md) | | [optional]
|
23
|
+
**social_shares_count** | [**ShareCounts**](ShareCounts.md) | | [optional]
|
24
|
+
**source** | [**Source**](Source.md) | | [optional]
|
25
|
+
**summary** | [**Summary**](Summary.md) | | [optional]
|
26
|
+
**title** | **String** | Title of the story | [optional]
|
27
|
+
**translations** | [**StoryTranslations**](StoryTranslations.md) | | [optional]
|
28
|
+
**words_count** | **Integer** | Word count of the story body | [optional]
|
29
|
+
**license_type** | **Integer** | License type of the story | [optional]
|
30
|
+
|
31
|
+
## Code Sample
|
32
|
+
|
33
|
+
```ruby
|
34
|
+
require 'AylienNewsApi'
|
35
|
+
|
36
|
+
instance = AylienNewsApi::DeprecatedStory.new(author: null,
|
37
|
+
body: null,
|
38
|
+
categories: null,
|
39
|
+
characters_count: null,
|
40
|
+
clusters: null,
|
41
|
+
entities: null,
|
42
|
+
hashtags: null,
|
43
|
+
id: null,
|
44
|
+
keywords: null,
|
45
|
+
language: null,
|
46
|
+
links: null,
|
47
|
+
media: null,
|
48
|
+
paragraphs_count: null,
|
49
|
+
published_at: null,
|
50
|
+
sentences_count: null,
|
51
|
+
sentiment: null,
|
52
|
+
social_shares_count: null,
|
53
|
+
source: null,
|
54
|
+
summary: null,
|
55
|
+
title: null,
|
56
|
+
translations: null,
|
57
|
+
words_count: null,
|
58
|
+
license_type: null)
|
59
|
+
```
|
60
|
+
|
61
|
+
|
data/docs/Entity.md
CHANGED
@@ -4,22 +4,30 @@
|
|
4
4
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
|
-
**
|
7
|
+
**id** | **String** | The unique ID of the entity | [optional]
|
8
8
|
**links** | [**EntityLinks**](EntityLinks.md) | | [optional]
|
9
|
-
**
|
10
|
-
**
|
11
|
-
**
|
9
|
+
**stock_tickers** | **Array<String>** | The stock tickers of the entity (might be empty) | [optional]
|
10
|
+
**types** | **Array<String>** | An array of the entity types | [optional]
|
11
|
+
**overall_sentiment** | [**EntitySentiment**](EntitySentiment.md) | | [optional]
|
12
|
+
**overall_prominence** | **Float** | Describes how relevant an entity is to the article | [optional]
|
13
|
+
**overall_frequency** | **Integer** | Amount of entity surface form mentions in the article | [optional]
|
14
|
+
**body** | [**EntityInText**](EntityInText.md) | | [optional]
|
15
|
+
**title** | [**EntityInText**](EntityInText.md) | | [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,
|
19
23
|
links: null,
|
20
|
-
|
21
|
-
|
22
|
-
|
24
|
+
stock_tickers: null,
|
25
|
+
types: null,
|
26
|
+
overall_sentiment: null,
|
27
|
+
overall_prominence: null,
|
28
|
+
overall_frequency: null,
|
29
|
+
body: null,
|
30
|
+
title: null)
|
23
31
|
```
|
24
32
|
|
25
33
|
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# AylienNewsApi::EntityInText
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**sentiment** | [**EntitySentiment**](EntitySentiment.md) | | [optional]
|
8
|
+
**surface_forms** | [**Array<EntitySurfaceForm>**](EntitySurfaceForm.md) | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'AylienNewsApi'
|
14
|
+
|
15
|
+
instance = AylienNewsApi::EntityInText.new(sentiment: null,
|
16
|
+
surface_forms: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
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::EntityMention
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**index** | [**EntityMentionIndex**](EntityMentionIndex.md) | | [optional]
|
8
|
+
**sentiment** | [**EntitySentiment**](EntitySentiment.md) | | [optional]
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'AylienNewsApi'
|
14
|
+
|
15
|
+
instance = AylienNewsApi::EntityMention.new(index: null,
|
16
|
+
sentiment: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -0,0 +1,19 @@
|
|
1
|
+
# AylienNewsApi::EntityMentionIndex
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**start** | **Integer** | Start index of a single entity mention in the text (counting from 0) |
|
8
|
+
**_end** | **Integer** | End index of a single entity mention in the text (counting from 0) |
|
9
|
+
|
10
|
+
## Code Sample
|
11
|
+
|
12
|
+
```ruby
|
13
|
+
require 'AylienNewsApi'
|
14
|
+
|
15
|
+
instance = AylienNewsApi::EntityMentionIndex.new(start: null,
|
16
|
+
_end: null)
|
17
|
+
```
|
18
|
+
|
19
|
+
|
@@ -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
|
+
**frequency** | **Integer** | Amount of entity surface form mentions in the article | [optional]
|
9
|
+
**mentions** | [**Array<EntityMention>**](EntityMention.md) | Mentions of the entity text | [optional]
|
10
|
+
|
11
|
+
## Code Sample
|
12
|
+
|
13
|
+
```ruby
|
14
|
+
require 'AylienNewsApi'
|
15
|
+
|
16
|
+
instance = AylienNewsApi::EntitySurfaceForm.new(text: null,
|
17
|
+
frequency: null,
|
18
|
+
mentions: null)
|
19
|
+
```
|
20
|
+
|
21
|
+
|
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
|
+
|