aylien_news_api 5.0.0 → 5.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -0
- data/aylien_news_api.gemspec +1 -1
- data/docs/Category.md +3 -3
- data/docs/CategoryLinks.md +2 -0
- data/docs/DefaultApi.md +36 -24
- data/docs/DeprecatedStory.md +6 -2
- data/docs/DunsNumber.md +17 -0
- data/docs/Entity.md +3 -1
- data/docs/ExternalIds.md +17 -0
- data/docs/Story.md +6 -2
- data/lib/aylien_news_api/api/default_api.rb +55 -37
- data/lib/aylien_news_api/api_client.rb +1 -1
- data/lib/aylien_news_api/api_error.rb +1 -1
- data/lib/aylien_news_api/configuration.rb +1 -1
- data/lib/aylien_news_api/models/aggregated_sentiment.rb +1 -1
- data/lib/aylien_news_api/models/author.rb +1 -1
- data/lib/aylien_news_api/models/autocomplete.rb +1 -1
- data/lib/aylien_news_api/models/autocompletes.rb +1 -1
- data/lib/aylien_news_api/models/category.rb +40 -14
- data/lib/aylien_news_api/models/category_links.rb +16 -2
- data/lib/aylien_news_api/models/category_taxonomy.rb +2 -1
- data/lib/aylien_news_api/models/cluster.rb +1 -1
- data/lib/aylien_news_api/models/clusters.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_entities.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_entity.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_entity_surface_form.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_related_stories.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_stories.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_story.rb +28 -6
- data/lib/aylien_news_api/models/duns_number.rb +206 -0
- data/lib/aylien_news_api/models/entity.rb +14 -5
- data/lib/aylien_news_api/models/entity_in_text.rb +1 -1
- data/lib/aylien_news_api/models/entity_links.rb +1 -1
- data/lib/aylien_news_api/models/entity_mention.rb +1 -1
- data/lib/aylien_news_api/models/entity_mention_index.rb +1 -1
- data/lib/aylien_news_api/models/entity_sentiment.rb +1 -1
- data/lib/aylien_news_api/models/entity_surface_form.rb +1 -1
- data/lib/aylien_news_api/models/error.rb +1 -1
- data/lib/aylien_news_api/models/error_links.rb +1 -1
- data/lib/aylien_news_api/models/errors.rb +1 -1
- data/lib/aylien_news_api/models/external_ids.rb +210 -0
- data/lib/aylien_news_api/models/histogram_interval.rb +1 -1
- data/lib/aylien_news_api/models/histograms.rb +1 -1
- data/lib/aylien_news_api/models/location.rb +1 -1
- data/lib/aylien_news_api/models/logicals.rb +1 -1
- data/lib/aylien_news_api/models/media.rb +1 -1
- data/lib/aylien_news_api/models/media_format.rb +1 -1
- data/lib/aylien_news_api/models/media_type.rb +1 -1
- data/lib/aylien_news_api/models/nested_entity.rb +1 -1
- data/lib/aylien_news_api/models/parameter.rb +1 -1
- data/lib/aylien_news_api/models/query.rb +1 -1
- data/lib/aylien_news_api/models/rank.rb +1 -1
- data/lib/aylien_news_api/models/rankings.rb +1 -1
- data/lib/aylien_news_api/models/related_stories.rb +1 -1
- data/lib/aylien_news_api/models/representative_story.rb +1 -1
- data/lib/aylien_news_api/models/scope.rb +1 -1
- data/lib/aylien_news_api/models/scope_level.rb +1 -1
- data/lib/aylien_news_api/models/sentiment.rb +1 -1
- data/lib/aylien_news_api/models/sentiment_polarity.rb +1 -1
- data/lib/aylien_news_api/models/sentiments.rb +1 -1
- data/lib/aylien_news_api/models/share_count.rb +1 -1
- data/lib/aylien_news_api/models/share_counts.rb +1 -1
- data/lib/aylien_news_api/models/source.rb +1 -1
- data/lib/aylien_news_api/models/stories.rb +1 -1
- data/lib/aylien_news_api/models/story.rb +28 -6
- data/lib/aylien_news_api/models/story_cluster.rb +1 -1
- data/lib/aylien_news_api/models/story_links.rb +1 -1
- data/lib/aylien_news_api/models/story_translation.rb +1 -1
- data/lib/aylien_news_api/models/story_translations.rb +1 -1
- data/lib/aylien_news_api/models/summary.rb +1 -1
- data/lib/aylien_news_api/models/time_series.rb +1 -1
- data/lib/aylien_news_api/models/time_series_list.rb +1 -1
- data/lib/aylien_news_api/models/trend.rb +1 -1
- data/lib/aylien_news_api/models/trends.rb +1 -1
- data/lib/aylien_news_api/models/warning.rb +1 -1
- data/lib/aylien_news_api/version.rb +2 -2
- data/lib/aylien_news_api.rb +3 -1
- data/spec/api/default_api_spec.rb +19 -13
- data/spec/api_client_spec.rb +1 -1
- data/spec/configuration_spec.rb +1 -1
- data/spec/models/aggregated_sentiment_spec.rb +1 -1
- data/spec/models/author_spec.rb +1 -1
- data/spec/models/autocomplete_spec.rb +1 -1
- data/spec/models/autocompletes_spec.rb +1 -1
- data/spec/models/category_links_spec.rb +7 -1
- data/spec/models/category_spec.rb +4 -4
- data/spec/models/category_taxonomy_spec.rb +1 -1
- data/spec/models/cluster_spec.rb +1 -1
- data/spec/models/clusters_spec.rb +1 -1
- data/spec/models/deprecated_entities_spec.rb +1 -1
- data/spec/models/deprecated_entity_spec.rb +1 -1
- data/spec/models/deprecated_entity_surface_form_spec.rb +1 -1
- data/spec/models/deprecated_related_stories_spec.rb +1 -1
- data/spec/models/deprecated_stories_spec.rb +1 -1
- data/spec/models/deprecated_story_spec.rb +13 -1
- data/spec/models/duns_number_spec.rb +41 -0
- data/spec/models/entity_in_text_spec.rb +1 -1
- data/spec/models/entity_links_spec.rb +1 -1
- data/spec/models/entity_mention_index_spec.rb +1 -1
- data/spec/models/entity_mention_spec.rb +1 -1
- data/spec/models/entity_sentiment_spec.rb +1 -1
- data/spec/models/entity_spec.rb +7 -1
- data/spec/models/entity_surface_form_spec.rb +1 -1
- data/spec/models/error_links_spec.rb +1 -1
- data/spec/models/error_spec.rb +1 -1
- data/spec/models/errors_spec.rb +1 -1
- data/spec/models/external_ids_spec.rb +41 -0
- data/spec/models/histogram_interval_spec.rb +1 -1
- data/spec/models/histograms_spec.rb +1 -1
- data/spec/models/location_spec.rb +1 -1
- data/spec/models/logicals_spec.rb +1 -1
- data/spec/models/media_format_spec.rb +1 -1
- data/spec/models/media_spec.rb +1 -1
- data/spec/models/media_type_spec.rb +1 -1
- data/spec/models/nested_entity_spec.rb +1 -1
- data/spec/models/parameter_spec.rb +1 -1
- data/spec/models/query_spec.rb +1 -1
- data/spec/models/rank_spec.rb +1 -1
- data/spec/models/rankings_spec.rb +1 -1
- data/spec/models/related_stories_spec.rb +1 -1
- data/spec/models/representative_story_spec.rb +1 -1
- data/spec/models/scope_level_spec.rb +1 -1
- data/spec/models/scope_spec.rb +1 -1
- data/spec/models/sentiment_polarity_spec.rb +1 -1
- data/spec/models/sentiment_spec.rb +1 -1
- data/spec/models/sentiments_spec.rb +1 -1
- data/spec/models/share_count_spec.rb +1 -1
- data/spec/models/share_counts_spec.rb +1 -1
- data/spec/models/source_spec.rb +1 -1
- data/spec/models/stories_spec.rb +1 -1
- data/spec/models/story_cluster_spec.rb +1 -1
- data/spec/models/story_links_spec.rb +1 -1
- data/spec/models/story_spec.rb +13 -1
- data/spec/models/story_translation_spec.rb +1 -1
- data/spec/models/story_translations_spec.rb +1 -1
- data/spec/models/summary_spec.rb +1 -1
- data/spec/models/time_series_list_spec.rb +1 -1
- data/spec/models/time_series_spec.rb +1 -1
- data/spec/models/trend_spec.rb +1 -1
- data/spec/models/trends_spec.rb +1 -1
- data/spec/models/warning_spec.rb +1 -1
- data/spec/spec_helper.rb +1 -1
- metadata +68 -60
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5de5047ef92a948536555e14d03e575aa9e3bb8a14bd9d04d07d0bc6556cd806
|
4
|
+
data.tar.gz: 277b33ed85956cc8a0d2293aa7976f23e626593fb4c2e1d3672bbe6cf8bbebf7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c16cbfe59d93d63e7896b3f750166dc27913682b006bb415cb208bf18616dc663e3f79dece408e683589207ff3ac2f17745cfc99e423b54502f62d4df17f3a46
|
7
|
+
data.tar.gz: f09bdf2e07bcb23353dbba14ae458efa05dc5c3bbcff8739be3c80016be37934d5dd7da2ccd6b500b2f797fff9493fbce4ff1da983a495e4cd0f8ec4bcca2a4d
|
data/README.md
CHANGED
@@ -90,12 +90,14 @@ Class | Method | HTTP request | Description
|
|
90
90
|
- [AylienNewsApi::Cluster](docs/Cluster.md)
|
91
91
|
- [AylienNewsApi::Clusters](docs/Clusters.md)
|
92
92
|
- [AylienNewsApi::Coverages](docs/Coverages.md)
|
93
|
+
- [AylienNewsApi::DunsNumber](docs/DunsNumber.md)
|
93
94
|
- [AylienNewsApi::Entities](docs/Entities.md)
|
94
95
|
- [AylienNewsApi::Entity](docs/Entity.md)
|
95
96
|
- [AylienNewsApi::EntityLinks](docs/EntityLinks.md)
|
96
97
|
- [AylienNewsApi::Error](docs/Error.md)
|
97
98
|
- [AylienNewsApi::ErrorLinks](docs/ErrorLinks.md)
|
98
99
|
- [AylienNewsApi::Errors](docs/Errors.md)
|
100
|
+
- [AylienNewsApi::ExternalIds](docs/ExternalIds.md)
|
99
101
|
- [AylienNewsApi::HistogramInterval](docs/HistogramInterval.md)
|
100
102
|
- [AylienNewsApi::Histograms](docs/Histograms.md)
|
101
103
|
- [AylienNewsApi::Location](docs/Location.md)
|
data/aylien_news_api.gemspec
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
|
6
6
|
#The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client.
|
7
7
|
|
8
|
-
The version of the OpenAPI document: 5.
|
8
|
+
The version of the OpenAPI document: 5.1.1
|
9
9
|
Contact: support@aylien.com
|
10
10
|
Generated by: https://openapi-generator.tech
|
11
11
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
data/docs/Category.md
CHANGED
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
|
|
8
8
|
**id** | **String** | The ID of the category | [optional]
|
9
9
|
**label** | **String** | The label of the category | [optional]
|
10
10
|
**level** | **Integer** | The level of the category | [optional]
|
11
|
-
**links** | [**CategoryLinks**](CategoryLinks.md) | | [optional]
|
12
11
|
**score** | **Float** | The score of the category | [optional]
|
13
12
|
**taxonomy** | [**CategoryTaxonomy**](CategoryTaxonomy.md) | | [optional]
|
13
|
+
**links** | [**CategoryLinks**](CategoryLinks.md) | | [optional]
|
14
14
|
|
15
15
|
## Code Sample
|
16
16
|
|
@@ -21,9 +21,9 @@ instance = AylienNewsApi::Category.new(confident: null,
|
|
21
21
|
id: null,
|
22
22
|
label: null,
|
23
23
|
level: null,
|
24
|
-
links: null,
|
25
24
|
score: null,
|
26
|
-
taxonomy: null
|
25
|
+
taxonomy: null,
|
26
|
+
links: null)
|
27
27
|
```
|
28
28
|
|
29
29
|
|
data/docs/CategoryLinks.md
CHANGED
@@ -5,6 +5,7 @@
|
|
5
5
|
Name | Type | Description | Notes
|
6
6
|
------------ | ------------- | ------------- | -------------
|
7
7
|
**parent** | **String** | A URL pointing to the parent category | [optional]
|
8
|
+
**parents** | **Array<String>** | A collection of URLs pointing to the category parents | [optional]
|
8
9
|
**_self** | **String** | A URL pointing to the category | [optional]
|
9
10
|
|
10
11
|
## Code Sample
|
@@ -13,6 +14,7 @@ Name | Type | Description | Notes
|
|
13
14
|
require 'AylienNewsApi'
|
14
15
|
|
15
16
|
instance = AylienNewsApi::CategoryLinks.new(parent: null,
|
17
|
+
parents: null,
|
16
18
|
_self: null)
|
17
19
|
```
|
18
20
|
|
data/docs/DefaultApi.md
CHANGED
@@ -311,10 +311,11 @@ opts = {
|
|
311
311
|
not_entities_types: ['entities_types_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
312
312
|
entities_stock_tickers: ['entities_stock_tickers_example'], # Array<String> | This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
313
313
|
entities_body_stock_tickers: ['entities_body_stock_tickers_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `stock_tickers` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
314
|
-
|
315
|
-
|
314
|
+
entities_surface_forms_text: ['entities_surface_forms_text_example'], # Array<String> | This parameter is used to find stories based on the specified entities `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
315
|
+
not_entities_surface_forms_text: ['entities_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
316
316
|
entities_title_surface_forms_text: 'entities_title_surface_forms_text_example', # String | This parameter is used to find stories based on the specified entities `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
317
317
|
not_entities_title_surface_forms_text: ['entities_title_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
318
|
+
entities_body_surface_forms_text: ['entities_body_surface_forms_text_example'], # Array<String> | This parameter is used to find stories based on the specified entities `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
318
319
|
not_entities_body_surface_forms_text: ['entities_body_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
319
320
|
sentiment_title_polarity: 'sentiment_title_polarity_example', # String | This parameter is used for finding stories whose title sentiment is the specified value.
|
320
321
|
not_sentiment_title_polarity: 'sentiment_title_polarity_example', # String | This parameter is used for excluding stories whose title sentiment is the specified value.
|
@@ -425,10 +426,11 @@ Name | Type | Description | Notes
|
|
425
426
|
**not_entities_types** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
426
427
|
**entities_stock_tickers** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
427
428
|
**entities_body_stock_tickers** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `stock_tickers` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
428
|
-
**
|
429
|
-
**
|
429
|
+
**entities_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
430
|
+
**not_entities_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
430
431
|
**entities_title_surface_forms_text** | **String**| This parameter is used to find stories based on the specified entities `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
431
432
|
**not_entities_title_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
433
|
+
**entities_body_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
432
434
|
**not_entities_body_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
433
435
|
**sentiment_title_polarity** | **String**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional]
|
434
436
|
**not_sentiment_title_polarity** | **String**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional]
|
@@ -564,10 +566,11 @@ opts = {
|
|
564
566
|
not_entities_types: ['entities_types_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
565
567
|
entities_stock_tickers: ['entities_stock_tickers_example'], # Array<String> | This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
566
568
|
entities_body_stock_tickers: ['entities_body_stock_tickers_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `stock_tickers` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
567
|
-
|
568
|
-
|
569
|
+
entities_surface_forms_text: ['entities_surface_forms_text_example'], # Array<String> | This parameter is used to find stories based on the specified entities `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
570
|
+
not_entities_surface_forms_text: ['entities_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
569
571
|
entities_title_surface_forms_text: 'entities_title_surface_forms_text_example', # String | This parameter is used to find stories based on the specified entities `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
570
572
|
not_entities_title_surface_forms_text: ['entities_title_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
573
|
+
entities_body_surface_forms_text: ['entities_body_surface_forms_text_example'], # Array<String> | This parameter is used to find stories based on the specified entities `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
571
574
|
not_entities_body_surface_forms_text: ['entities_body_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
572
575
|
sentiment_title_polarity: 'sentiment_title_polarity_example', # String | This parameter is used for finding stories whose title sentiment is the specified value.
|
573
576
|
not_sentiment_title_polarity: 'sentiment_title_polarity_example', # String | This parameter is used for excluding stories whose title sentiment is the specified value.
|
@@ -681,10 +684,11 @@ Name | Type | Description | Notes
|
|
681
684
|
**not_entities_types** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
682
685
|
**entities_stock_tickers** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
683
686
|
**entities_body_stock_tickers** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `stock_tickers` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
684
|
-
**
|
685
|
-
**
|
687
|
+
**entities_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
688
|
+
**not_entities_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
686
689
|
**entities_title_surface_forms_text** | **String**| This parameter is used to find stories based on the specified entities `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
687
690
|
**not_entities_title_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
691
|
+
**entities_body_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
688
692
|
**not_entities_body_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
689
693
|
**sentiment_title_polarity** | **String**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional]
|
690
694
|
**not_sentiment_title_polarity** | **String**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional]
|
@@ -824,10 +828,11 @@ opts = {
|
|
824
828
|
not_entities_types: ['entities_types_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
825
829
|
entities_stock_tickers: ['entities_stock_tickers_example'], # Array<String> | This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
826
830
|
entities_body_stock_tickers: ['entities_body_stock_tickers_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `stock_tickers` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
827
|
-
|
828
|
-
|
831
|
+
entities_surface_forms_text: ['entities_surface_forms_text_example'], # Array<String> | This parameter is used to find stories based on the specified entities `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
832
|
+
not_entities_surface_forms_text: ['entities_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
829
833
|
entities_title_surface_forms_text: 'entities_title_surface_forms_text_example', # String | This parameter is used to find stories based on the specified entities `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
830
834
|
not_entities_title_surface_forms_text: ['entities_title_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
835
|
+
entities_body_surface_forms_text: ['entities_body_surface_forms_text_example'], # Array<String> | This parameter is used to find stories based on the specified entities `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
831
836
|
not_entities_body_surface_forms_text: ['entities_body_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
832
837
|
sentiment_title_polarity: 'sentiment_title_polarity_example', # String | This parameter is used for finding stories whose title sentiment is the specified value.
|
833
838
|
not_sentiment_title_polarity: 'sentiment_title_polarity_example', # String | This parameter is used for excluding stories whose title sentiment is the specified value.
|
@@ -941,10 +946,11 @@ Name | Type | Description | Notes
|
|
941
946
|
**not_entities_types** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
942
947
|
**entities_stock_tickers** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
943
948
|
**entities_body_stock_tickers** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `stock_tickers` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
944
|
-
**
|
945
|
-
**
|
949
|
+
**entities_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
950
|
+
**not_entities_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
946
951
|
**entities_title_surface_forms_text** | **String**| This parameter is used to find stories based on the specified entities `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
947
952
|
**not_entities_title_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
953
|
+
**entities_body_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
948
954
|
**not_entities_body_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
949
955
|
**sentiment_title_polarity** | **String**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional]
|
950
956
|
**not_sentiment_title_polarity** | **String**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional]
|
@@ -1086,10 +1092,11 @@ opts = {
|
|
1086
1092
|
not_entities_types: ['entities_types_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1087
1093
|
entities_stock_tickers: ['entities_stock_tickers_example'], # Array<String> | This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1088
1094
|
entities_body_stock_tickers: ['entities_body_stock_tickers_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `stock_tickers` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1089
|
-
|
1090
|
-
|
1095
|
+
entities_surface_forms_text: ['entities_surface_forms_text_example'], # Array<String> | This parameter is used to find stories based on the specified entities `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1096
|
+
not_entities_surface_forms_text: ['entities_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1091
1097
|
entities_title_surface_forms_text: 'entities_title_surface_forms_text_example', # String | This parameter is used to find stories based on the specified entities `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1092
1098
|
not_entities_title_surface_forms_text: ['entities_title_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1099
|
+
entities_body_surface_forms_text: ['entities_body_surface_forms_text_example'], # Array<String> | This parameter is used to find stories based on the specified entities `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1093
1100
|
not_entities_body_surface_forms_text: ['entities_body_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1094
1101
|
sentiment_title_polarity: 'sentiment_title_polarity_example', # String | This parameter is used for finding stories whose title sentiment is the specified value.
|
1095
1102
|
not_sentiment_title_polarity: 'sentiment_title_polarity_example', # String | This parameter is used for excluding stories whose title sentiment is the specified value.
|
@@ -1201,10 +1208,11 @@ Name | Type | Description | Notes
|
|
1201
1208
|
**not_entities_types** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1202
1209
|
**entities_stock_tickers** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1203
1210
|
**entities_body_stock_tickers** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `stock_tickers` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1204
|
-
**
|
1205
|
-
**
|
1211
|
+
**entities_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1212
|
+
**not_entities_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1206
1213
|
**entities_title_surface_forms_text** | **String**| This parameter is used to find stories based on the specified entities `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1207
1214
|
**not_entities_title_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1215
|
+
**entities_body_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1208
1216
|
**not_entities_body_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1209
1217
|
**sentiment_title_polarity** | **String**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional]
|
1210
1218
|
**not_sentiment_title_polarity** | **String**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional]
|
@@ -1339,10 +1347,11 @@ opts = {
|
|
1339
1347
|
not_entities_types: ['entities_types_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1340
1348
|
entities_stock_tickers: ['entities_stock_tickers_example'], # Array<String> | This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1341
1349
|
entities_body_stock_tickers: ['entities_body_stock_tickers_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `stock_tickers` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1342
|
-
|
1343
|
-
|
1350
|
+
entities_surface_forms_text: ['entities_surface_forms_text_example'], # Array<String> | This parameter is used to find stories based on the specified entities `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1351
|
+
not_entities_surface_forms_text: ['entities_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1344
1352
|
entities_title_surface_forms_text: 'entities_title_surface_forms_text_example', # String | This parameter is used to find stories based on the specified entities `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1345
1353
|
not_entities_title_surface_forms_text: ['entities_title_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1354
|
+
entities_body_surface_forms_text: ['entities_body_surface_forms_text_example'], # Array<String> | This parameter is used to find stories based on the specified entities `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1346
1355
|
not_entities_body_surface_forms_text: ['entities_body_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1347
1356
|
sentiment_title_polarity: 'sentiment_title_polarity_example', # String | This parameter is used for finding stories whose title sentiment is the specified value.
|
1348
1357
|
not_sentiment_title_polarity: 'sentiment_title_polarity_example', # String | This parameter is used for excluding stories whose title sentiment is the specified value.
|
@@ -1448,10 +1457,11 @@ Name | Type | Description | Notes
|
|
1448
1457
|
**not_entities_types** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1449
1458
|
**entities_stock_tickers** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1450
1459
|
**entities_body_stock_tickers** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `stock_tickers` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1451
|
-
**
|
1452
|
-
**
|
1460
|
+
**entities_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1461
|
+
**not_entities_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1453
1462
|
**entities_title_surface_forms_text** | **String**| This parameter is used to find stories based on the specified entities `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1454
1463
|
**not_entities_title_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1464
|
+
**entities_body_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1455
1465
|
**not_entities_body_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1456
1466
|
**sentiment_title_polarity** | **String**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional]
|
1457
1467
|
**not_sentiment_title_polarity** | **String**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional]
|
@@ -1589,10 +1599,11 @@ opts = {
|
|
1589
1599
|
not_entities_types: ['entities_types_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1590
1600
|
entities_stock_tickers: ['entities_stock_tickers_example'], # Array<String> | This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1591
1601
|
entities_body_stock_tickers: ['entities_body_stock_tickers_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `stock_tickers` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1592
|
-
|
1593
|
-
|
1602
|
+
entities_surface_forms_text: ['entities_surface_forms_text_example'], # Array<String> | This parameter is used to find stories based on the specified entities `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1603
|
+
not_entities_surface_forms_text: ['entities_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1594
1604
|
entities_title_surface_forms_text: 'entities_title_surface_forms_text_example', # String | This parameter is used to find stories based on the specified entities `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1595
1605
|
not_entities_title_surface_forms_text: ['entities_title_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1606
|
+
entities_body_surface_forms_text: ['entities_body_surface_forms_text_example'], # Array<String> | This parameter is used to find stories based on the specified entities `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1596
1607
|
not_entities_body_surface_forms_text: ['entities_body_surface_forms_text_example'], # Array<String> | This parameter is used to exclude stories based on the specified entity's `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1597
1608
|
sentiment_title_polarity: 'sentiment_title_polarity_example', # String | This parameter is used for finding stories whose title sentiment is the specified value.
|
1598
1609
|
not_sentiment_title_polarity: 'sentiment_title_polarity_example', # String | This parameter is used for excluding stories whose title sentiment is the specified value.
|
@@ -1700,10 +1711,11 @@ Name | Type | Description | Notes
|
|
1700
1711
|
**not_entities_types** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1701
1712
|
**entities_stock_tickers** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1702
1713
|
**entities_body_stock_tickers** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `stock_tickers` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1703
|
-
**
|
1704
|
-
**
|
1714
|
+
**entities_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1715
|
+
**not_entities_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1705
1716
|
**entities_title_surface_forms_text** | **String**| This parameter is used to find stories based on the specified entities `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1706
1717
|
**not_entities_title_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1718
|
+
**entities_body_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to find stories based on the specified entities `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1707
1719
|
**not_entities_body_surface_forms_text** | [**Array<String>**](String.md)| This parameter is used to exclude stories based on the specified entity's `surface_form` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities). | [optional]
|
1708
1720
|
**sentiment_title_polarity** | **String**| This parameter is used for finding stories whose title sentiment is the specified value. | [optional]
|
1709
1721
|
**not_sentiment_title_polarity** | **String**| This parameter is used for excluding stories whose title sentiment is the specified value. | [optional]
|
data/docs/DeprecatedStory.md
CHANGED
@@ -17,7 +17,8 @@ Name | Type | Description | Notes
|
|
17
17
|
**links** | [**StoryLinks**](StoryLinks.md) | | [optional]
|
18
18
|
**media** | [**Array<Media>**](Media.md) | An array of extracted media such as images and videos | [optional]
|
19
19
|
**paragraphs_count** | **Integer** | Paragraph count of the story body | [optional]
|
20
|
-
**
|
20
|
+
**published_datetime** | **DateTime** | Publication time of the story, if available, otherwise time of acquisition | [optional]
|
21
|
+
**published_at** | **DateTime** | Acquisition time of the story | [optional]
|
21
22
|
**sentences_count** | **Integer** | Sentence count of the story body | [optional]
|
22
23
|
**sentiment** | [**Sentiments**](Sentiments.md) | | [optional]
|
23
24
|
**social_shares_count** | [**ShareCounts**](ShareCounts.md) | | [optional]
|
@@ -27,6 +28,7 @@ Name | Type | Description | Notes
|
|
27
28
|
**translations** | [**StoryTranslations**](StoryTranslations.md) | | [optional]
|
28
29
|
**words_count** | **Integer** | Word count of the story body | [optional]
|
29
30
|
**license_type** | **Integer** | License type of the story | [optional]
|
31
|
+
**industries** | [**Array<Category>**](Category.md) | An array of industries categories | [optional]
|
30
32
|
|
31
33
|
## Code Sample
|
32
34
|
|
@@ -46,6 +48,7 @@ instance = AylienNewsApi::DeprecatedStory.new(author: null,
|
|
46
48
|
links: null,
|
47
49
|
media: null,
|
48
50
|
paragraphs_count: null,
|
51
|
+
published_datetime: null,
|
49
52
|
published_at: null,
|
50
53
|
sentences_count: null,
|
51
54
|
sentiment: null,
|
@@ -55,7 +58,8 @@ instance = AylienNewsApi::DeprecatedStory.new(author: null,
|
|
55
58
|
title: null,
|
56
59
|
translations: null,
|
57
60
|
words_count: null,
|
58
|
-
license_type: null
|
61
|
+
license_type: null,
|
62
|
+
industries: null)
|
59
63
|
```
|
60
64
|
|
61
65
|
|
data/docs/DunsNumber.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# AylienNewsApi::DunsNumber
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**id** | **String** | | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'AylienNewsApi'
|
13
|
+
|
14
|
+
instance = AylienNewsApi::DunsNumber.new(id: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/Entity.md
CHANGED
@@ -13,6 +13,7 @@ Name | Type | Description | Notes
|
|
13
13
|
**overall_frequency** | **Integer** | Amount of entity surface form mentions in the article | [optional]
|
14
14
|
**body** | [**EntityInText**](EntityInText.md) | | [optional]
|
15
15
|
**title** | [**EntityInText**](EntityInText.md) | | [optional]
|
16
|
+
**external_ids** | [**ExternalIds**](ExternalIds.md) | | [optional]
|
16
17
|
|
17
18
|
## Code Sample
|
18
19
|
|
@@ -27,7 +28,8 @@ instance = AylienNewsApi::Entity.new(id: null,
|
|
27
28
|
overall_prominence: null,
|
28
29
|
overall_frequency: null,
|
29
30
|
body: null,
|
30
|
-
title: null
|
31
|
+
title: null,
|
32
|
+
external_ids: null)
|
31
33
|
```
|
32
34
|
|
33
35
|
|
data/docs/ExternalIds.md
ADDED
@@ -0,0 +1,17 @@
|
|
1
|
+
# AylienNewsApi::ExternalIds
|
2
|
+
|
3
|
+
## Properties
|
4
|
+
|
5
|
+
Name | Type | Description | Notes
|
6
|
+
------------ | ------------- | ------------- | -------------
|
7
|
+
**duns** | [**Array<DunsNumber>**](DunsNumber.md) | DUNS number(s) of the entity | [optional]
|
8
|
+
|
9
|
+
## Code Sample
|
10
|
+
|
11
|
+
```ruby
|
12
|
+
require 'AylienNewsApi'
|
13
|
+
|
14
|
+
instance = AylienNewsApi::ExternalIds.new(duns: null)
|
15
|
+
```
|
16
|
+
|
17
|
+
|
data/docs/Story.md
CHANGED
@@ -17,7 +17,8 @@ Name | Type | Description | Notes
|
|
17
17
|
**links** | [**StoryLinks**](StoryLinks.md) | | [optional]
|
18
18
|
**media** | [**Array<Media>**](Media.md) | An array of extracted media such as images and videos | [optional]
|
19
19
|
**paragraphs_count** | **Integer** | Paragraph count of the story body | [optional]
|
20
|
-
**
|
20
|
+
**published_datetime** | **DateTime** | Publication time of the story, if available, otherwise time of acquisition | [optional]
|
21
|
+
**published_at** | **DateTime** | Acquisition time of the story | [optional]
|
21
22
|
**sentences_count** | **Integer** | Sentence count of the story body | [optional]
|
22
23
|
**sentiment** | [**Sentiments**](Sentiments.md) | | [optional]
|
23
24
|
**social_shares_count** | [**ShareCounts**](ShareCounts.md) | | [optional]
|
@@ -27,6 +28,7 @@ Name | Type | Description | Notes
|
|
27
28
|
**translations** | [**StoryTranslations**](StoryTranslations.md) | | [optional]
|
28
29
|
**words_count** | **Integer** | Word count of the story body | [optional]
|
29
30
|
**license_type** | **Integer** | License type of the story | [optional]
|
31
|
+
**industries** | [**Array<Category>**](Category.md) | An array of industries categories | [optional]
|
30
32
|
|
31
33
|
## Code Sample
|
32
34
|
|
@@ -46,6 +48,7 @@ instance = AylienNewsApi::Story.new(author: null,
|
|
46
48
|
links: null,
|
47
49
|
media: null,
|
48
50
|
paragraphs_count: null,
|
51
|
+
published_datetime: null,
|
49
52
|
published_at: null,
|
50
53
|
sentences_count: null,
|
51
54
|
sentiment: null,
|
@@ -55,7 +58,8 @@ instance = AylienNewsApi::Story.new(author: null,
|
|
55
58
|
title: null,
|
56
59
|
translations: null,
|
57
60
|
words_count: null,
|
58
|
-
license_type: null
|
61
|
+
license_type: null,
|
62
|
+
industries: null)
|
59
63
|
```
|
60
64
|
|
61
65
|
|