aylien_news_api 4.5.0 → 5.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -100
- data/aylien_news_api.gemspec +1 -1
- data/docs/DefaultApi.md +8 -344
- data/docs/Parameter.md +12 -12
- data/lib/aylien_news_api.rb +1 -7
- data/lib/aylien_news_api/api/default_api.rb +14 -518
- 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 +1 -1
- data/lib/aylien_news_api/models/category_links.rb +1 -1
- data/lib/aylien_news_api/models/category_taxonomy.rb +1 -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/entity.rb +1 -1
- 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/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 +38 -38
- 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 +1 -1
- 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/spec/api/default_api_spec.rb +5 -173
- 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 +1 -1
- data/spec/models/category_spec.rb +1 -1
- 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/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 +1 -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/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 +7 -7
- 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 +1 -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 +2 -2
data/docs/Parameter.md
CHANGED
@@ -13,12 +13,12 @@ Name | Type | Description | Notes
|
|
13
13
|
**categories_taxonomy** | [**Query**](Query.md) | | [optional]
|
14
14
|
**clusters** | [**Query**](Query.md) | | [optional]
|
15
15
|
**links_permalink** | [**Query**](Query.md) | | [optional]
|
16
|
-
**
|
17
|
-
**
|
18
|
-
**
|
19
|
-
**
|
20
|
-
**
|
21
|
-
**
|
16
|
+
**entities_id** | [**Query**](Query.md) | | [optional]
|
17
|
+
**entities_surface_forms_text** | [**Query**](Query.md) | | [optional]
|
18
|
+
**entities_links_wikipedia** | [**Query**](Query.md) | | [optional]
|
19
|
+
**entities_links_wikidata** | [**Query**](Query.md) | | [optional]
|
20
|
+
**entities_title_surface_forms_text** | [**Query**](Query.md) | | [optional]
|
21
|
+
**entities_body_surface_forms_text** | [**Query**](Query.md) | | [optional]
|
22
22
|
**id** | [**Query**](Query.md) | | [optional]
|
23
23
|
**language** | [**Query**](Query.md) | | [optional]
|
24
24
|
**media_images_content_length_max** | [**Query**](Query.md) | | [optional]
|
@@ -75,12 +75,12 @@ instance = AylienNewsApi::Parameter.new(author_id: null,
|
|
75
75
|
categories_taxonomy: null,
|
76
76
|
clusters: null,
|
77
77
|
links_permalink: null,
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
78
|
+
entities_id: null,
|
79
|
+
entities_surface_forms_text: null,
|
80
|
+
entities_links_wikipedia: null,
|
81
|
+
entities_links_wikidata: null,
|
82
|
+
entities_title_surface_forms_text: null,
|
83
|
+
entities_body_surface_forms_text: null,
|
84
84
|
id: null,
|
85
85
|
language: null,
|
86
86
|
media_images_content_length_max: null,
|
data/lib/aylien_news_api.rb
CHANGED
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 5.0
|
7
7
|
Contact: support@aylien.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -26,12 +26,6 @@ require 'aylien_news_api/models/category_links'
|
|
26
26
|
require 'aylien_news_api/models/category_taxonomy'
|
27
27
|
require 'aylien_news_api/models/cluster'
|
28
28
|
require 'aylien_news_api/models/clusters'
|
29
|
-
require 'aylien_news_api/models/deprecated_entities'
|
30
|
-
require 'aylien_news_api/models/deprecated_entity'
|
31
|
-
require 'aylien_news_api/models/deprecated_entity_surface_form'
|
32
|
-
require 'aylien_news_api/models/deprecated_related_stories'
|
33
|
-
require 'aylien_news_api/models/deprecated_stories'
|
34
|
-
require 'aylien_news_api/models/deprecated_story'
|
35
29
|
require 'aylien_news_api/models/entity'
|
36
30
|
require 'aylien_news_api/models/entity_in_text'
|
37
31
|
require 'aylien_news_api/models/entity_links'
|
@@ -3,7 +3,7 @@
|
|
3
3
|
|
4
4
|
#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.
|
5
5
|
|
6
|
-
The version of the OpenAPI document:
|
6
|
+
The version of the OpenAPI document: 5.0
|
7
7
|
Contact: support@aylien.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -30,7 +30,7 @@ module AylienNewsApi
|
|
30
30
|
# @option opts [String] :sort_direction This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (default to 'desc')
|
31
31
|
# @option opts [String] :cursor This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (default to '*')
|
32
32
|
# @option opts [Integer] :per_page This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (default to 10)
|
33
|
-
# @return [
|
33
|
+
# @return [Stories]
|
34
34
|
def advanced_list_stories(unknown_base_type, opts = {})
|
35
35
|
data, _status_code, _headers = advanced_list_stories_with_http_info(unknown_base_type, opts)
|
36
36
|
data
|
@@ -47,7 +47,7 @@ module AylienNewsApi
|
|
47
47
|
# @option opts [String] :sort_direction This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results).
|
48
48
|
# @option opts [String] :cursor This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results).
|
49
49
|
# @option opts [Integer] :per_page This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results)
|
50
|
-
# @return [Array<(
|
50
|
+
# @return [Array<(Stories, Integer, Hash)>] Stories data, response status code and response headers
|
51
51
|
def advanced_list_stories_with_http_info(unknown_base_type, opts = {})
|
52
52
|
if @api_client.config.debugging
|
53
53
|
@api_client.config.logger.debug 'Calling API: DefaultApi.advanced_list_stories ...'
|
@@ -103,7 +103,7 @@ module AylienNewsApi
|
|
103
103
|
post_body = opts[:body] || @api_client.object_to_http_body(unknown_base_type)
|
104
104
|
|
105
105
|
# return_type
|
106
|
-
return_type = opts[:return_type] || '
|
106
|
+
return_type = opts[:return_type] || 'Stories'
|
107
107
|
|
108
108
|
# auth_names
|
109
109
|
auth_names = opts[:auth_names] || ['app_id', 'app_key']
|
@@ -393,37 +393,9 @@ module AylienNewsApi
|
|
393
393
|
# @option opts [Array<String>] :entities_body_stock_tickers 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).
|
394
394
|
# @option opts [Array<String>] :entities_body_surface_forms_text 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).
|
395
395
|
# @option opts [Array<String>] :entities_surface_forms_text 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).
|
396
|
-
# @option opts [Array<String>] :entities_title_id This parameter is used to find stories based on the specified entities `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
397
|
-
# @option opts [Array<String>] :not_entities_title_id This parameter is used to exclude stories based on the specified entity's `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
398
396
|
# @option opts [String] :entities_title_surface_forms_text 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).
|
399
397
|
# @option opts [Array<String>] :not_entities_title_surface_forms_text 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).
|
400
|
-
# @option opts [Array<String>] :entities_title_text This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
401
|
-
# @option opts [Array<String>] :not_entities_title_text This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
402
|
-
# @option opts [Array<String>] :entities_title_type This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
403
|
-
# @option opts [Array<String>] :not_entities_title_type This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
404
|
-
# @option opts [Array<String>] :entities_title_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
405
|
-
# @option opts [Array<String>] :not_entities_title_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
406
|
-
# @option opts [Array<String>] :entities_title_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
407
|
-
# @option opts [Array<String>] :not_entities_title_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
408
|
-
# @option opts [Array<String>] :entities_title_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
409
|
-
# @option opts [Array<String>] :not_entities_title_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
410
|
-
# @option opts [Array<String>] :entities_title_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
411
|
-
# @option opts [Array<String>] :not_entities_title_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
412
|
-
# @option opts [Array<String>] :entities_body_id This parameter is used to find stories based on the specified entities `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
413
|
-
# @option opts [Array<String>] :not_entities_body_id This parameter is used to exclude stories based on the specified entity's `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
414
398
|
# @option opts [Array<String>] :not_entities_body_surface_forms_text 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).
|
415
|
-
# @option opts [Array<String>] :entities_body_text This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
416
|
-
# @option opts [Array<String>] :not_entities_body_text This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
417
|
-
# @option opts [Array<String>] :entities_body_type This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
418
|
-
# @option opts [Array<String>] :not_entities_body_type This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
419
|
-
# @option opts [Array<String>] :entities_body_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
420
|
-
# @option opts [Array<String>] :not_entities_body_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
421
|
-
# @option opts [Array<String>] :entities_body_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
422
|
-
# @option opts [Array<String>] :not_entities_body_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
423
|
-
# @option opts [Array<String>] :entities_body_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
424
|
-
# @option opts [Array<String>] :not_entities_body_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
425
|
-
# @option opts [Array<String>] :entities_body_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
426
|
-
# @option opts [Array<String>] :not_entities_body_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
427
399
|
# @option opts [String] :sentiment_title_polarity This parameter is used for finding stories whose title sentiment is the specified value.
|
428
400
|
# @option opts [String] :not_sentiment_title_polarity This parameter is used for excluding stories whose title sentiment is the specified value.
|
429
401
|
# @option opts [String] :sentiment_body_polarity This parameter is used for finding stories whose body sentiment is the specified value.
|
@@ -528,37 +500,9 @@ module AylienNewsApi
|
|
528
500
|
# @option opts [Array<String>] :entities_body_stock_tickers 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).
|
529
501
|
# @option opts [Array<String>] :entities_body_surface_forms_text 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).
|
530
502
|
# @option opts [Array<String>] :entities_surface_forms_text 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).
|
531
|
-
# @option opts [Array<String>] :entities_title_id This parameter is used to find stories based on the specified entities `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
532
|
-
# @option opts [Array<String>] :not_entities_title_id This parameter is used to exclude stories based on the specified entity's `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
533
503
|
# @option opts [String] :entities_title_surface_forms_text 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).
|
534
504
|
# @option opts [Array<String>] :not_entities_title_surface_forms_text 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).
|
535
|
-
# @option opts [Array<String>] :entities_title_text This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
536
|
-
# @option opts [Array<String>] :not_entities_title_text This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
537
|
-
# @option opts [Array<String>] :entities_title_type This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
538
|
-
# @option opts [Array<String>] :not_entities_title_type This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
539
|
-
# @option opts [Array<String>] :entities_title_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
540
|
-
# @option opts [Array<String>] :not_entities_title_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
541
|
-
# @option opts [Array<String>] :entities_title_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
542
|
-
# @option opts [Array<String>] :not_entities_title_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
543
|
-
# @option opts [Array<String>] :entities_title_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
544
|
-
# @option opts [Array<String>] :not_entities_title_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
545
|
-
# @option opts [Array<String>] :entities_title_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
546
|
-
# @option opts [Array<String>] :not_entities_title_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
547
|
-
# @option opts [Array<String>] :entities_body_id This parameter is used to find stories based on the specified entities `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
548
|
-
# @option opts [Array<String>] :not_entities_body_id This parameter is used to exclude stories based on the specified entity's `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
549
505
|
# @option opts [Array<String>] :not_entities_body_surface_forms_text 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).
|
550
|
-
# @option opts [Array<String>] :entities_body_text This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
551
|
-
# @option opts [Array<String>] :not_entities_body_text This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
552
|
-
# @option opts [Array<String>] :entities_body_type This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
553
|
-
# @option opts [Array<String>] :not_entities_body_type This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
554
|
-
# @option opts [Array<String>] :entities_body_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
555
|
-
# @option opts [Array<String>] :not_entities_body_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
556
|
-
# @option opts [Array<String>] :entities_body_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
557
|
-
# @option opts [Array<String>] :not_entities_body_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
558
|
-
# @option opts [Array<String>] :entities_body_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
559
|
-
# @option opts [Array<String>] :not_entities_body_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
560
|
-
# @option opts [Array<String>] :entities_body_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
561
|
-
# @option opts [Array<String>] :not_entities_body_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
562
506
|
# @option opts [String] :sentiment_title_polarity This parameter is used for finding stories whose title sentiment is the specified value.
|
563
507
|
# @option opts [String] :not_sentiment_title_polarity This parameter is used for excluding stories whose title sentiment is the specified value.
|
564
508
|
# @option opts [String] :sentiment_body_polarity This parameter is used for finding stories whose body sentiment is the specified value.
|
@@ -800,37 +744,9 @@ module AylienNewsApi
|
|
800
744
|
query_params[:'!entities.body.stock_tickers'] = opts[:'entities_body_stock_tickers'] if !opts[:'entities_body_stock_tickers'].nil?
|
801
745
|
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
802
746
|
query_params[:'!entities.surface_forms.text'] = opts[:'entities_surface_forms_text'] if !opts[:'entities_surface_forms_text'].nil?
|
803
|
-
query_params[:'entities.title.id'] = opts[:'entities_title_id'] if !opts[:'entities_title_id'].nil?
|
804
|
-
query_params[:'!entities.title.id'] = opts[:'not_entities_title_id'] if !opts[:'not_entities_title_id'].nil?
|
805
747
|
query_params[:'entities.title.surface_forms.text'] = opts[:'entities_title_surface_forms_text'] if !opts[:'entities_title_surface_forms_text'].nil?
|
806
748
|
query_params[:'!entities.title.surface_forms.text'] = opts[:'not_entities_title_surface_forms_text'] if !opts[:'not_entities_title_surface_forms_text'].nil?
|
807
|
-
query_params[:'entities.title.text'] = opts[:'entities_title_text'] if !opts[:'entities_title_text'].nil?
|
808
|
-
query_params[:'!entities.title.text'] = opts[:'not_entities_title_text'] if !opts[:'not_entities_title_text'].nil?
|
809
|
-
query_params[:'entities.title.type'] = opts[:'entities_title_type'] if !opts[:'entities_title_type'].nil?
|
810
|
-
query_params[:'!entities.title.type'] = opts[:'not_entities_title_type'] if !opts[:'not_entities_title_type'].nil?
|
811
|
-
query_params[:'entities.title.stock_ticker'] = opts[:'entities_title_stock_ticker'] if !opts[:'entities_title_stock_ticker'].nil?
|
812
|
-
query_params[:'!entities.title.stock_ticker'] = opts[:'not_entities_title_stock_ticker'] if !opts[:'not_entities_title_stock_ticker'].nil?
|
813
|
-
query_params[:'entities.title.links.dbpedia'] = opts[:'entities_title_links_dbpedia'] if !opts[:'entities_title_links_dbpedia'].nil?
|
814
|
-
query_params[:'!entities.title.links.dbpedia'] = opts[:'not_entities_title_links_dbpedia'] if !opts[:'not_entities_title_links_dbpedia'].nil?
|
815
|
-
query_params[:'entities.title.links.wikipedia'] = opts[:'entities_title_links_wikipedia'] if !opts[:'entities_title_links_wikipedia'].nil?
|
816
|
-
query_params[:'!entities.title.links.wikipedia'] = opts[:'not_entities_title_links_wikipedia'] if !opts[:'not_entities_title_links_wikipedia'].nil?
|
817
|
-
query_params[:'entities.title.links.wikidata'] = opts[:'entities_title_links_wikidata'] if !opts[:'entities_title_links_wikidata'].nil?
|
818
|
-
query_params[:'!entities.title.links.wikidata'] = opts[:'not_entities_title_links_wikidata'] if !opts[:'not_entities_title_links_wikidata'].nil?
|
819
|
-
query_params[:'entities.body.id'] = opts[:'entities_body_id'] if !opts[:'entities_body_id'].nil?
|
820
|
-
query_params[:'!entities.body.id'] = opts[:'not_entities_body_id'] if !opts[:'not_entities_body_id'].nil?
|
821
749
|
query_params[:'!entities.body.surface_forms.text'] = opts[:'not_entities_body_surface_forms_text'] if !opts[:'not_entities_body_surface_forms_text'].nil?
|
822
|
-
query_params[:'entities.body.text'] = opts[:'entities_body_text'] if !opts[:'entities_body_text'].nil?
|
823
|
-
query_params[:'!entities.body.text'] = opts[:'not_entities_body_text'] if !opts[:'not_entities_body_text'].nil?
|
824
|
-
query_params[:'entities.body.type'] = opts[:'entities_body_type'] if !opts[:'entities_body_type'].nil?
|
825
|
-
query_params[:'!entities.body.type'] = opts[:'not_entities_body_type'] if !opts[:'not_entities_body_type'].nil?
|
826
|
-
query_params[:'entities.body.stock_ticker'] = opts[:'entities_body_stock_ticker'] if !opts[:'entities_body_stock_ticker'].nil?
|
827
|
-
query_params[:'!entities.body.stock_ticker'] = opts[:'not_entities_body_stock_ticker'] if !opts[:'not_entities_body_stock_ticker'].nil?
|
828
|
-
query_params[:'entities.body.links.dbpedia'] = opts[:'entities_body_links_dbpedia'] if !opts[:'entities_body_links_dbpedia'].nil?
|
829
|
-
query_params[:'!entities.body.links.dbpedia'] = opts[:'not_entities_body_links_dbpedia'] if !opts[:'not_entities_body_links_dbpedia'].nil?
|
830
|
-
query_params[:'entities.body.links.wikipedia'] = opts[:'entities_body_links_wikipedia'] if !opts[:'entities_body_links_wikipedia'].nil?
|
831
|
-
query_params[:'!entities.body.links.wikipedia'] = opts[:'not_entities_body_links_wikipedia'] if !opts[:'not_entities_body_links_wikipedia'].nil?
|
832
|
-
query_params[:'entities.body.links.wikidata'] = opts[:'entities_body_links_wikidata'] if !opts[:'entities_body_links_wikidata'].nil?
|
833
|
-
query_params[:'!entities.body.links.wikidata'] = opts[:'not_entities_body_links_wikidata'] if !opts[:'not_entities_body_links_wikidata'].nil?
|
834
750
|
query_params[:'sentiment.title.polarity'] = opts[:'sentiment_title_polarity'] if !opts[:'sentiment_title_polarity'].nil?
|
835
751
|
query_params[:'!sentiment.title.polarity'] = opts[:'not_sentiment_title_polarity'] if !opts[:'not_sentiment_title_polarity'].nil?
|
836
752
|
query_params[:'sentiment.body.polarity'] = opts[:'sentiment_body_polarity'] if !opts[:'sentiment_body_polarity'].nil?
|
@@ -961,37 +877,9 @@ module AylienNewsApi
|
|
961
877
|
# @option opts [Array<String>] :entities_body_stock_tickers 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).
|
962
878
|
# @option opts [Array<String>] :entities_body_surface_forms_text 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).
|
963
879
|
# @option opts [Array<String>] :entities_surface_forms_text 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).
|
964
|
-
# @option opts [Array<String>] :entities_title_id This parameter is used to find stories based on the specified entities `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
965
|
-
# @option opts [Array<String>] :not_entities_title_id This parameter is used to exclude stories based on the specified entity's `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
966
880
|
# @option opts [String] :entities_title_surface_forms_text 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).
|
967
881
|
# @option opts [Array<String>] :not_entities_title_surface_forms_text 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).
|
968
|
-
# @option opts [Array<String>] :entities_title_text This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
969
|
-
# @option opts [Array<String>] :not_entities_title_text This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
970
|
-
# @option opts [Array<String>] :entities_title_type This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
971
|
-
# @option opts [Array<String>] :not_entities_title_type This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
972
|
-
# @option opts [Array<String>] :entities_title_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
973
|
-
# @option opts [Array<String>] :not_entities_title_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
974
|
-
# @option opts [Array<String>] :entities_title_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
975
|
-
# @option opts [Array<String>] :not_entities_title_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
976
|
-
# @option opts [Array<String>] :entities_title_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
977
|
-
# @option opts [Array<String>] :not_entities_title_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
978
|
-
# @option opts [Array<String>] :entities_title_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
979
|
-
# @option opts [Array<String>] :not_entities_title_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
980
|
-
# @option opts [Array<String>] :entities_body_id This parameter is used to find stories based on the specified entities `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
981
|
-
# @option opts [Array<String>] :not_entities_body_id This parameter is used to exclude stories based on the specified entity's `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
982
882
|
# @option opts [Array<String>] :not_entities_body_surface_forms_text 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).
|
983
|
-
# @option opts [Array<String>] :entities_body_text This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
984
|
-
# @option opts [Array<String>] :not_entities_body_text This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
985
|
-
# @option opts [Array<String>] :entities_body_type This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
986
|
-
# @option opts [Array<String>] :not_entities_body_type This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
987
|
-
# @option opts [Array<String>] :entities_body_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
988
|
-
# @option opts [Array<String>] :not_entities_body_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
989
|
-
# @option opts [Array<String>] :entities_body_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
990
|
-
# @option opts [Array<String>] :not_entities_body_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
991
|
-
# @option opts [Array<String>] :entities_body_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
992
|
-
# @option opts [Array<String>] :not_entities_body_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
993
|
-
# @option opts [Array<String>] :entities_body_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
994
|
-
# @option opts [Array<String>] :not_entities_body_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
995
883
|
# @option opts [String] :sentiment_title_polarity This parameter is used for finding stories whose title sentiment is the specified value.
|
996
884
|
# @option opts [String] :not_sentiment_title_polarity This parameter is used for excluding stories whose title sentiment is the specified value.
|
997
885
|
# @option opts [String] :sentiment_body_polarity This parameter is used for finding stories whose body sentiment is the specified value.
|
@@ -1057,7 +945,7 @@ module AylienNewsApi
|
|
1057
945
|
# @option opts [String] :boost_by This parameter is used for boosting the result by the specified value.
|
1058
946
|
# @option opts [String] :story_language This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (default to 'auto')
|
1059
947
|
# @option opts [Integer] :per_page This parameter is used for specifying number of items in each page. (default to 3)
|
1060
|
-
# @return [
|
948
|
+
# @return [RelatedStories]
|
1061
949
|
def list_related_stories_get(opts = {})
|
1062
950
|
data, _status_code, _headers = list_related_stories_get_with_http_info(opts)
|
1063
951
|
data
|
@@ -1098,37 +986,9 @@ module AylienNewsApi
|
|
1098
986
|
# @option opts [Array<String>] :entities_body_stock_tickers 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).
|
1099
987
|
# @option opts [Array<String>] :entities_body_surface_forms_text 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).
|
1100
988
|
# @option opts [Array<String>] :entities_surface_forms_text 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).
|
1101
|
-
# @option opts [Array<String>] :entities_title_id This parameter is used to find stories based on the specified entities `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1102
|
-
# @option opts [Array<String>] :not_entities_title_id This parameter is used to exclude stories based on the specified entity's `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1103
989
|
# @option opts [String] :entities_title_surface_forms_text 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).
|
1104
990
|
# @option opts [Array<String>] :not_entities_title_surface_forms_text 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).
|
1105
|
-
# @option opts [Array<String>] :entities_title_text This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1106
|
-
# @option opts [Array<String>] :not_entities_title_text This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1107
|
-
# @option opts [Array<String>] :entities_title_type This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1108
|
-
# @option opts [Array<String>] :not_entities_title_type This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1109
|
-
# @option opts [Array<String>] :entities_title_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1110
|
-
# @option opts [Array<String>] :not_entities_title_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1111
|
-
# @option opts [Array<String>] :entities_title_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1112
|
-
# @option opts [Array<String>] :not_entities_title_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1113
|
-
# @option opts [Array<String>] :entities_title_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1114
|
-
# @option opts [Array<String>] :not_entities_title_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1115
|
-
# @option opts [Array<String>] :entities_title_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1116
|
-
# @option opts [Array<String>] :not_entities_title_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1117
|
-
# @option opts [Array<String>] :entities_body_id This parameter is used to find stories based on the specified entities `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1118
|
-
# @option opts [Array<String>] :not_entities_body_id This parameter is used to exclude stories based on the specified entity's `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1119
991
|
# @option opts [Array<String>] :not_entities_body_surface_forms_text 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).
|
1120
|
-
# @option opts [Array<String>] :entities_body_text This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1121
|
-
# @option opts [Array<String>] :not_entities_body_text This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1122
|
-
# @option opts [Array<String>] :entities_body_type This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1123
|
-
# @option opts [Array<String>] :not_entities_body_type This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1124
|
-
# @option opts [Array<String>] :entities_body_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1125
|
-
# @option opts [Array<String>] :not_entities_body_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1126
|
-
# @option opts [Array<String>] :entities_body_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1127
|
-
# @option opts [Array<String>] :not_entities_body_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1128
|
-
# @option opts [Array<String>] :entities_body_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1129
|
-
# @option opts [Array<String>] :not_entities_body_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1130
|
-
# @option opts [Array<String>] :entities_body_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1131
|
-
# @option opts [Array<String>] :not_entities_body_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1132
992
|
# @option opts [String] :sentiment_title_polarity This parameter is used for finding stories whose title sentiment is the specified value.
|
1133
993
|
# @option opts [String] :not_sentiment_title_polarity This parameter is used for excluding stories whose title sentiment is the specified value.
|
1134
994
|
# @option opts [String] :sentiment_body_polarity This parameter is used for finding stories whose body sentiment is the specified value.
|
@@ -1194,7 +1054,7 @@ module AylienNewsApi
|
|
1194
1054
|
# @option opts [String] :boost_by This parameter is used for boosting the result by the specified value.
|
1195
1055
|
# @option opts [String] :story_language This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes.
|
1196
1056
|
# @option opts [Integer] :per_page This parameter is used for specifying number of items in each page.
|
1197
|
-
# @return [Array<(
|
1057
|
+
# @return [Array<(RelatedStories, Integer, Hash)>] RelatedStories data, response status code and response headers
|
1198
1058
|
def list_related_stories_get_with_http_info(opts = {})
|
1199
1059
|
if @api_client.config.debugging
|
1200
1060
|
@api_client.config.logger.debug 'Calling API: DefaultApi.list_related_stories_get ...'
|
@@ -1390,37 +1250,9 @@ module AylienNewsApi
|
|
1390
1250
|
query_params[:'!entities.body.stock_tickers'] = opts[:'entities_body_stock_tickers'] if !opts[:'entities_body_stock_tickers'].nil?
|
1391
1251
|
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
1392
1252
|
query_params[:'!entities.surface_forms.text'] = opts[:'entities_surface_forms_text'] if !opts[:'entities_surface_forms_text'].nil?
|
1393
|
-
query_params[:'entities.title.id'] = opts[:'entities_title_id'] if !opts[:'entities_title_id'].nil?
|
1394
|
-
query_params[:'!entities.title.id'] = opts[:'not_entities_title_id'] if !opts[:'not_entities_title_id'].nil?
|
1395
1253
|
query_params[:'entities.title.surface_forms.text'] = opts[:'entities_title_surface_forms_text'] if !opts[:'entities_title_surface_forms_text'].nil?
|
1396
1254
|
query_params[:'!entities.title.surface_forms.text'] = opts[:'not_entities_title_surface_forms_text'] if !opts[:'not_entities_title_surface_forms_text'].nil?
|
1397
|
-
query_params[:'entities.title.text'] = opts[:'entities_title_text'] if !opts[:'entities_title_text'].nil?
|
1398
|
-
query_params[:'!entities.title.text'] = opts[:'not_entities_title_text'] if !opts[:'not_entities_title_text'].nil?
|
1399
|
-
query_params[:'entities.title.type'] = opts[:'entities_title_type'] if !opts[:'entities_title_type'].nil?
|
1400
|
-
query_params[:'!entities.title.type'] = opts[:'not_entities_title_type'] if !opts[:'not_entities_title_type'].nil?
|
1401
|
-
query_params[:'entities.title.stock_ticker'] = opts[:'entities_title_stock_ticker'] if !opts[:'entities_title_stock_ticker'].nil?
|
1402
|
-
query_params[:'!entities.title.stock_ticker'] = opts[:'not_entities_title_stock_ticker'] if !opts[:'not_entities_title_stock_ticker'].nil?
|
1403
|
-
query_params[:'entities.title.links.dbpedia'] = opts[:'entities_title_links_dbpedia'] if !opts[:'entities_title_links_dbpedia'].nil?
|
1404
|
-
query_params[:'!entities.title.links.dbpedia'] = opts[:'not_entities_title_links_dbpedia'] if !opts[:'not_entities_title_links_dbpedia'].nil?
|
1405
|
-
query_params[:'entities.title.links.wikipedia'] = opts[:'entities_title_links_wikipedia'] if !opts[:'entities_title_links_wikipedia'].nil?
|
1406
|
-
query_params[:'!entities.title.links.wikipedia'] = opts[:'not_entities_title_links_wikipedia'] if !opts[:'not_entities_title_links_wikipedia'].nil?
|
1407
|
-
query_params[:'entities.title.links.wikidata'] = opts[:'entities_title_links_wikidata'] if !opts[:'entities_title_links_wikidata'].nil?
|
1408
|
-
query_params[:'!entities.title.links.wikidata'] = opts[:'not_entities_title_links_wikidata'] if !opts[:'not_entities_title_links_wikidata'].nil?
|
1409
|
-
query_params[:'entities.body.id'] = opts[:'entities_body_id'] if !opts[:'entities_body_id'].nil?
|
1410
|
-
query_params[:'!entities.body.id'] = opts[:'not_entities_body_id'] if !opts[:'not_entities_body_id'].nil?
|
1411
1255
|
query_params[:'!entities.body.surface_forms.text'] = opts[:'not_entities_body_surface_forms_text'] if !opts[:'not_entities_body_surface_forms_text'].nil?
|
1412
|
-
query_params[:'entities.body.text'] = opts[:'entities_body_text'] if !opts[:'entities_body_text'].nil?
|
1413
|
-
query_params[:'!entities.body.text'] = opts[:'not_entities_body_text'] if !opts[:'not_entities_body_text'].nil?
|
1414
|
-
query_params[:'entities.body.type'] = opts[:'entities_body_type'] if !opts[:'entities_body_type'].nil?
|
1415
|
-
query_params[:'!entities.body.type'] = opts[:'not_entities_body_type'] if !opts[:'not_entities_body_type'].nil?
|
1416
|
-
query_params[:'entities.body.stock_ticker'] = opts[:'entities_body_stock_ticker'] if !opts[:'entities_body_stock_ticker'].nil?
|
1417
|
-
query_params[:'!entities.body.stock_ticker'] = opts[:'not_entities_body_stock_ticker'] if !opts[:'not_entities_body_stock_ticker'].nil?
|
1418
|
-
query_params[:'entities.body.links.dbpedia'] = opts[:'entities_body_links_dbpedia'] if !opts[:'entities_body_links_dbpedia'].nil?
|
1419
|
-
query_params[:'!entities.body.links.dbpedia'] = opts[:'not_entities_body_links_dbpedia'] if !opts[:'not_entities_body_links_dbpedia'].nil?
|
1420
|
-
query_params[:'entities.body.links.wikipedia'] = opts[:'entities_body_links_wikipedia'] if !opts[:'entities_body_links_wikipedia'].nil?
|
1421
|
-
query_params[:'!entities.body.links.wikipedia'] = opts[:'not_entities_body_links_wikipedia'] if !opts[:'not_entities_body_links_wikipedia'].nil?
|
1422
|
-
query_params[:'entities.body.links.wikidata'] = opts[:'entities_body_links_wikidata'] if !opts[:'entities_body_links_wikidata'].nil?
|
1423
|
-
query_params[:'!entities.body.links.wikidata'] = opts[:'not_entities_body_links_wikidata'] if !opts[:'not_entities_body_links_wikidata'].nil?
|
1424
1256
|
query_params[:'sentiment.title.polarity'] = opts[:'sentiment_title_polarity'] if !opts[:'sentiment_title_polarity'].nil?
|
1425
1257
|
query_params[:'!sentiment.title.polarity'] = opts[:'not_sentiment_title_polarity'] if !opts[:'not_sentiment_title_polarity'].nil?
|
1426
1258
|
query_params[:'sentiment.body.polarity'] = opts[:'sentiment_body_polarity'] if !opts[:'sentiment_body_polarity'].nil?
|
@@ -1499,7 +1331,7 @@ module AylienNewsApi
|
|
1499
1331
|
post_body = opts[:body]
|
1500
1332
|
|
1501
1333
|
# return_type
|
1502
|
-
return_type = opts[:return_type] || '
|
1334
|
+
return_type = opts[:return_type] || 'RelatedStories'
|
1503
1335
|
|
1504
1336
|
# auth_names
|
1505
1337
|
auth_names = opts[:auth_names] || ['app_id', 'app_key']
|
@@ -1555,37 +1387,9 @@ module AylienNewsApi
|
|
1555
1387
|
# @option opts [Array<String>] :entities_body_stock_tickers 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).
|
1556
1388
|
# @option opts [Array<String>] :entities_body_surface_forms_text 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).
|
1557
1389
|
# @option opts [Array<String>] :entities_surface_forms_text 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).
|
1558
|
-
# @option opts [Array<String>] :entities_title_id This parameter is used to find stories based on the specified entities `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1559
|
-
# @option opts [Array<String>] :not_entities_title_id This parameter is used to exclude stories based on the specified entity's `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1560
1390
|
# @option opts [String] :entities_title_surface_forms_text 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).
|
1561
1391
|
# @option opts [Array<String>] :not_entities_title_surface_forms_text 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).
|
1562
|
-
# @option opts [Array<String>] :entities_title_text This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1563
|
-
# @option opts [Array<String>] :not_entities_title_text This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1564
|
-
# @option opts [Array<String>] :entities_title_type This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1565
|
-
# @option opts [Array<String>] :not_entities_title_type This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1566
|
-
# @option opts [Array<String>] :entities_title_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1567
|
-
# @option opts [Array<String>] :not_entities_title_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1568
|
-
# @option opts [Array<String>] :entities_title_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1569
|
-
# @option opts [Array<String>] :not_entities_title_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1570
|
-
# @option opts [Array<String>] :entities_title_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1571
|
-
# @option opts [Array<String>] :not_entities_title_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1572
|
-
# @option opts [Array<String>] :entities_title_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1573
|
-
# @option opts [Array<String>] :not_entities_title_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1574
|
-
# @option opts [Array<String>] :entities_body_id This parameter is used to find stories based on the specified entities `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1575
|
-
# @option opts [Array<String>] :not_entities_body_id This parameter is used to exclude stories based on the specified entity's `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1576
1392
|
# @option opts [Array<String>] :not_entities_body_surface_forms_text 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).
|
1577
|
-
# @option opts [Array<String>] :entities_body_text This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1578
|
-
# @option opts [Array<String>] :not_entities_body_text This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1579
|
-
# @option opts [Array<String>] :entities_body_type This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1580
|
-
# @option opts [Array<String>] :not_entities_body_type This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1581
|
-
# @option opts [Array<String>] :entities_body_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1582
|
-
# @option opts [Array<String>] :not_entities_body_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1583
|
-
# @option opts [Array<String>] :entities_body_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1584
|
-
# @option opts [Array<String>] :not_entities_body_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1585
|
-
# @option opts [Array<String>] :entities_body_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1586
|
-
# @option opts [Array<String>] :not_entities_body_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1587
|
-
# @option opts [Array<String>] :entities_body_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1588
|
-
# @option opts [Array<String>] :not_entities_body_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1589
1393
|
# @option opts [String] :sentiment_title_polarity This parameter is used for finding stories whose title sentiment is the specified value.
|
1590
1394
|
# @option opts [String] :not_sentiment_title_polarity This parameter is used for excluding stories whose title sentiment is the specified value.
|
1591
1395
|
# @option opts [String] :sentiment_body_polarity This parameter is used for finding stories whose body sentiment is the specified value.
|
@@ -1651,7 +1455,7 @@ module AylienNewsApi
|
|
1651
1455
|
# @option opts [String] :boost_by This parameter is used for boosting the result by the specified value.
|
1652
1456
|
# @option opts [String] :story_language This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes. (default to 'auto')
|
1653
1457
|
# @option opts [Integer] :per_page This parameter is used for specifying number of items in each page. (default to 3)
|
1654
|
-
# @return [
|
1458
|
+
# @return [RelatedStories]
|
1655
1459
|
def list_related_stories_post(opts = {})
|
1656
1460
|
data, _status_code, _headers = list_related_stories_post_with_http_info(opts)
|
1657
1461
|
data
|
@@ -1692,37 +1496,9 @@ module AylienNewsApi
|
|
1692
1496
|
# @option opts [Array<String>] :entities_body_stock_tickers 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).
|
1693
1497
|
# @option opts [Array<String>] :entities_body_surface_forms_text 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).
|
1694
1498
|
# @option opts [Array<String>] :entities_surface_forms_text 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).
|
1695
|
-
# @option opts [Array<String>] :entities_title_id This parameter is used to find stories based on the specified entities `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1696
|
-
# @option opts [Array<String>] :not_entities_title_id This parameter is used to exclude stories based on the specified entity's `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1697
1499
|
# @option opts [String] :entities_title_surface_forms_text 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).
|
1698
1500
|
# @option opts [Array<String>] :not_entities_title_surface_forms_text 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).
|
1699
|
-
# @option opts [Array<String>] :entities_title_text This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1700
|
-
# @option opts [Array<String>] :not_entities_title_text This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1701
|
-
# @option opts [Array<String>] :entities_title_type This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1702
|
-
# @option opts [Array<String>] :not_entities_title_type This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1703
|
-
# @option opts [Array<String>] :entities_title_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1704
|
-
# @option opts [Array<String>] :not_entities_title_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1705
|
-
# @option opts [Array<String>] :entities_title_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1706
|
-
# @option opts [Array<String>] :not_entities_title_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1707
|
-
# @option opts [Array<String>] :entities_title_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1708
|
-
# @option opts [Array<String>] :not_entities_title_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1709
|
-
# @option opts [Array<String>] :entities_title_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1710
|
-
# @option opts [Array<String>] :not_entities_title_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1711
|
-
# @option opts [Array<String>] :entities_body_id This parameter is used to find stories based on the specified entities `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1712
|
-
# @option opts [Array<String>] :not_entities_body_id This parameter is used to exclude stories based on the specified entity's `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1713
1501
|
# @option opts [Array<String>] :not_entities_body_surface_forms_text 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).
|
1714
|
-
# @option opts [Array<String>] :entities_body_text This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1715
|
-
# @option opts [Array<String>] :not_entities_body_text This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1716
|
-
# @option opts [Array<String>] :entities_body_type This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1717
|
-
# @option opts [Array<String>] :not_entities_body_type This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1718
|
-
# @option opts [Array<String>] :entities_body_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1719
|
-
# @option opts [Array<String>] :not_entities_body_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1720
|
-
# @option opts [Array<String>] :entities_body_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1721
|
-
# @option opts [Array<String>] :not_entities_body_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1722
|
-
# @option opts [Array<String>] :entities_body_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1723
|
-
# @option opts [Array<String>] :not_entities_body_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1724
|
-
# @option opts [Array<String>] :entities_body_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1725
|
-
# @option opts [Array<String>] :not_entities_body_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1726
1502
|
# @option opts [String] :sentiment_title_polarity This parameter is used for finding stories whose title sentiment is the specified value.
|
1727
1503
|
# @option opts [String] :not_sentiment_title_polarity This parameter is used for excluding stories whose title sentiment is the specified value.
|
1728
1504
|
# @option opts [String] :sentiment_body_polarity This parameter is used for finding stories whose body sentiment is the specified value.
|
@@ -1788,7 +1564,7 @@ module AylienNewsApi
|
|
1788
1564
|
# @option opts [String] :boost_by This parameter is used for boosting the result by the specified value.
|
1789
1565
|
# @option opts [String] :story_language This parameter is used for setting the language of the story. It supports [ISO 639-1](https://en.wikipedia.org/wiki/List_of_ISO_639-1_codes) language codes.
|
1790
1566
|
# @option opts [Integer] :per_page This parameter is used for specifying number of items in each page.
|
1791
|
-
# @return [Array<(
|
1567
|
+
# @return [Array<(RelatedStories, Integer, Hash)>] RelatedStories data, response status code and response headers
|
1792
1568
|
def list_related_stories_post_with_http_info(opts = {})
|
1793
1569
|
if @api_client.config.debugging
|
1794
1570
|
@api_client.config.logger.debug 'Calling API: DefaultApi.list_related_stories_post ...'
|
@@ -1984,37 +1760,9 @@ module AylienNewsApi
|
|
1984
1760
|
query_params[:'!entities.body.stock_tickers'] = opts[:'entities_body_stock_tickers'] if !opts[:'entities_body_stock_tickers'].nil?
|
1985
1761
|
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
1986
1762
|
query_params[:'!entities.surface_forms.text'] = opts[:'entities_surface_forms_text'] if !opts[:'entities_surface_forms_text'].nil?
|
1987
|
-
query_params[:'entities.title.id'] = opts[:'entities_title_id'] if !opts[:'entities_title_id'].nil?
|
1988
|
-
query_params[:'!entities.title.id'] = opts[:'not_entities_title_id'] if !opts[:'not_entities_title_id'].nil?
|
1989
1763
|
query_params[:'entities.title.surface_forms.text'] = opts[:'entities_title_surface_forms_text'] if !opts[:'entities_title_surface_forms_text'].nil?
|
1990
1764
|
query_params[:'!entities.title.surface_forms.text'] = opts[:'not_entities_title_surface_forms_text'] if !opts[:'not_entities_title_surface_forms_text'].nil?
|
1991
|
-
query_params[:'entities.title.text'] = opts[:'entities_title_text'] if !opts[:'entities_title_text'].nil?
|
1992
|
-
query_params[:'!entities.title.text'] = opts[:'not_entities_title_text'] if !opts[:'not_entities_title_text'].nil?
|
1993
|
-
query_params[:'entities.title.type'] = opts[:'entities_title_type'] if !opts[:'entities_title_type'].nil?
|
1994
|
-
query_params[:'!entities.title.type'] = opts[:'not_entities_title_type'] if !opts[:'not_entities_title_type'].nil?
|
1995
|
-
query_params[:'entities.title.stock_ticker'] = opts[:'entities_title_stock_ticker'] if !opts[:'entities_title_stock_ticker'].nil?
|
1996
|
-
query_params[:'!entities.title.stock_ticker'] = opts[:'not_entities_title_stock_ticker'] if !opts[:'not_entities_title_stock_ticker'].nil?
|
1997
|
-
query_params[:'entities.title.links.dbpedia'] = opts[:'entities_title_links_dbpedia'] if !opts[:'entities_title_links_dbpedia'].nil?
|
1998
|
-
query_params[:'!entities.title.links.dbpedia'] = opts[:'not_entities_title_links_dbpedia'] if !opts[:'not_entities_title_links_dbpedia'].nil?
|
1999
|
-
query_params[:'entities.title.links.wikipedia'] = opts[:'entities_title_links_wikipedia'] if !opts[:'entities_title_links_wikipedia'].nil?
|
2000
|
-
query_params[:'!entities.title.links.wikipedia'] = opts[:'not_entities_title_links_wikipedia'] if !opts[:'not_entities_title_links_wikipedia'].nil?
|
2001
|
-
query_params[:'entities.title.links.wikidata'] = opts[:'entities_title_links_wikidata'] if !opts[:'entities_title_links_wikidata'].nil?
|
2002
|
-
query_params[:'!entities.title.links.wikidata'] = opts[:'not_entities_title_links_wikidata'] if !opts[:'not_entities_title_links_wikidata'].nil?
|
2003
|
-
query_params[:'entities.body.id'] = opts[:'entities_body_id'] if !opts[:'entities_body_id'].nil?
|
2004
|
-
query_params[:'!entities.body.id'] = opts[:'not_entities_body_id'] if !opts[:'not_entities_body_id'].nil?
|
2005
1765
|
query_params[:'!entities.body.surface_forms.text'] = opts[:'not_entities_body_surface_forms_text'] if !opts[:'not_entities_body_surface_forms_text'].nil?
|
2006
|
-
query_params[:'entities.body.text'] = opts[:'entities_body_text'] if !opts[:'entities_body_text'].nil?
|
2007
|
-
query_params[:'!entities.body.text'] = opts[:'not_entities_body_text'] if !opts[:'not_entities_body_text'].nil?
|
2008
|
-
query_params[:'entities.body.type'] = opts[:'entities_body_type'] if !opts[:'entities_body_type'].nil?
|
2009
|
-
query_params[:'!entities.body.type'] = opts[:'not_entities_body_type'] if !opts[:'not_entities_body_type'].nil?
|
2010
|
-
query_params[:'entities.body.stock_ticker'] = opts[:'entities_body_stock_ticker'] if !opts[:'entities_body_stock_ticker'].nil?
|
2011
|
-
query_params[:'!entities.body.stock_ticker'] = opts[:'not_entities_body_stock_ticker'] if !opts[:'not_entities_body_stock_ticker'].nil?
|
2012
|
-
query_params[:'entities.body.links.dbpedia'] = opts[:'entities_body_links_dbpedia'] if !opts[:'entities_body_links_dbpedia'].nil?
|
2013
|
-
query_params[:'!entities.body.links.dbpedia'] = opts[:'not_entities_body_links_dbpedia'] if !opts[:'not_entities_body_links_dbpedia'].nil?
|
2014
|
-
query_params[:'entities.body.links.wikipedia'] = opts[:'entities_body_links_wikipedia'] if !opts[:'entities_body_links_wikipedia'].nil?
|
2015
|
-
query_params[:'!entities.body.links.wikipedia'] = opts[:'not_entities_body_links_wikipedia'] if !opts[:'not_entities_body_links_wikipedia'].nil?
|
2016
|
-
query_params[:'entities.body.links.wikidata'] = opts[:'entities_body_links_wikidata'] if !opts[:'entities_body_links_wikidata'].nil?
|
2017
|
-
query_params[:'!entities.body.links.wikidata'] = opts[:'not_entities_body_links_wikidata'] if !opts[:'not_entities_body_links_wikidata'].nil?
|
2018
1766
|
query_params[:'sentiment.title.polarity'] = opts[:'sentiment_title_polarity'] if !opts[:'sentiment_title_polarity'].nil?
|
2019
1767
|
query_params[:'!sentiment.title.polarity'] = opts[:'not_sentiment_title_polarity'] if !opts[:'not_sentiment_title_polarity'].nil?
|
2020
1768
|
query_params[:'sentiment.body.polarity'] = opts[:'sentiment_body_polarity'] if !opts[:'sentiment_body_polarity'].nil?
|
@@ -2093,7 +1841,7 @@ module AylienNewsApi
|
|
2093
1841
|
post_body = opts[:body]
|
2094
1842
|
|
2095
1843
|
# return_type
|
2096
|
-
return_type = opts[:return_type] || '
|
1844
|
+
return_type = opts[:return_type] || 'RelatedStories'
|
2097
1845
|
|
2098
1846
|
# auth_names
|
2099
1847
|
auth_names = opts[:auth_names] || ['app_id', 'app_key']
|
@@ -2151,37 +1899,9 @@ module AylienNewsApi
|
|
2151
1899
|
# @option opts [Array<String>] :entities_body_stock_tickers 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).
|
2152
1900
|
# @option opts [Array<String>] :entities_body_surface_forms_text 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).
|
2153
1901
|
# @option opts [Array<String>] :entities_surface_forms_text 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).
|
2154
|
-
# @option opts [Array<String>] :entities_title_id This parameter is used to find stories based on the specified entities `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2155
|
-
# @option opts [Array<String>] :not_entities_title_id This parameter is used to exclude stories based on the specified entity's `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2156
1902
|
# @option opts [String] :entities_title_surface_forms_text 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).
|
2157
1903
|
# @option opts [Array<String>] :not_entities_title_surface_forms_text 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).
|
2158
|
-
# @option opts [Array<String>] :entities_title_text This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2159
|
-
# @option opts [Array<String>] :not_entities_title_text This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2160
|
-
# @option opts [Array<String>] :entities_title_type This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2161
|
-
# @option opts [Array<String>] :not_entities_title_type This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2162
|
-
# @option opts [Array<String>] :entities_title_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2163
|
-
# @option opts [Array<String>] :not_entities_title_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2164
|
-
# @option opts [Array<String>] :entities_title_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2165
|
-
# @option opts [Array<String>] :not_entities_title_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2166
|
-
# @option opts [Array<String>] :entities_title_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2167
|
-
# @option opts [Array<String>] :not_entities_title_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2168
|
-
# @option opts [Array<String>] :entities_title_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2169
|
-
# @option opts [Array<String>] :not_entities_title_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2170
|
-
# @option opts [Array<String>] :entities_body_id This parameter is used to find stories based on the specified entities `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2171
|
-
# @option opts [Array<String>] :not_entities_body_id This parameter is used to exclude stories based on the specified entity's `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2172
1904
|
# @option opts [Array<String>] :not_entities_body_surface_forms_text 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).
|
2173
|
-
# @option opts [Array<String>] :entities_body_text This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2174
|
-
# @option opts [Array<String>] :not_entities_body_text This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2175
|
-
# @option opts [Array<String>] :entities_body_type This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2176
|
-
# @option opts [Array<String>] :not_entities_body_type This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2177
|
-
# @option opts [Array<String>] :entities_body_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2178
|
-
# @option opts [Array<String>] :not_entities_body_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2179
|
-
# @option opts [Array<String>] :entities_body_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2180
|
-
# @option opts [Array<String>] :not_entities_body_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2181
|
-
# @option opts [Array<String>] :entities_body_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2182
|
-
# @option opts [Array<String>] :not_entities_body_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2183
|
-
# @option opts [Array<String>] :entities_body_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2184
|
-
# @option opts [Array<String>] :not_entities_body_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2185
1905
|
# @option opts [String] :sentiment_title_polarity This parameter is used for finding stories whose title sentiment is the specified value.
|
2186
1906
|
# @option opts [String] :not_sentiment_title_polarity This parameter is used for excluding stories whose title sentiment is the specified value.
|
2187
1907
|
# @option opts [String] :sentiment_body_polarity This parameter is used for finding stories whose body sentiment is the specified value.
|
@@ -2244,7 +1964,7 @@ module AylienNewsApi
|
|
2244
1964
|
# @option opts [String] :sort_direction This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results). (default to 'desc')
|
2245
1965
|
# @option opts [String] :cursor This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results). (default to '*')
|
2246
1966
|
# @option opts [Integer] :per_page This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results) (default to 10)
|
2247
|
-
# @return [
|
1967
|
+
# @return [Stories]
|
2248
1968
|
def list_stories(opts = {})
|
2249
1969
|
data, _status_code, _headers = list_stories_with_http_info(opts)
|
2250
1970
|
data
|
@@ -2287,37 +2007,9 @@ module AylienNewsApi
|
|
2287
2007
|
# @option opts [Array<String>] :entities_body_stock_tickers 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).
|
2288
2008
|
# @option opts [Array<String>] :entities_body_surface_forms_text 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).
|
2289
2009
|
# @option opts [Array<String>] :entities_surface_forms_text 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).
|
2290
|
-
# @option opts [Array<String>] :entities_title_id This parameter is used to find stories based on the specified entities `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2291
|
-
# @option opts [Array<String>] :not_entities_title_id This parameter is used to exclude stories based on the specified entity's `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2292
2010
|
# @option opts [String] :entities_title_surface_forms_text 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).
|
2293
2011
|
# @option opts [Array<String>] :not_entities_title_surface_forms_text 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).
|
2294
|
-
# @option opts [Array<String>] :entities_title_text This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2295
|
-
# @option opts [Array<String>] :not_entities_title_text This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2296
|
-
# @option opts [Array<String>] :entities_title_type This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2297
|
-
# @option opts [Array<String>] :not_entities_title_type This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2298
|
-
# @option opts [Array<String>] :entities_title_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2299
|
-
# @option opts [Array<String>] :not_entities_title_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2300
|
-
# @option opts [Array<String>] :entities_title_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2301
|
-
# @option opts [Array<String>] :not_entities_title_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2302
|
-
# @option opts [Array<String>] :entities_title_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2303
|
-
# @option opts [Array<String>] :not_entities_title_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2304
|
-
# @option opts [Array<String>] :entities_title_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2305
|
-
# @option opts [Array<String>] :not_entities_title_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2306
|
-
# @option opts [Array<String>] :entities_body_id This parameter is used to find stories based on the specified entities `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2307
|
-
# @option opts [Array<String>] :not_entities_body_id This parameter is used to exclude stories based on the specified entity's `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2308
2012
|
# @option opts [Array<String>] :not_entities_body_surface_forms_text 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).
|
2309
|
-
# @option opts [Array<String>] :entities_body_text This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2310
|
-
# @option opts [Array<String>] :not_entities_body_text This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2311
|
-
# @option opts [Array<String>] :entities_body_type This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2312
|
-
# @option opts [Array<String>] :not_entities_body_type This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2313
|
-
# @option opts [Array<String>] :entities_body_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2314
|
-
# @option opts [Array<String>] :not_entities_body_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2315
|
-
# @option opts [Array<String>] :entities_body_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2316
|
-
# @option opts [Array<String>] :not_entities_body_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2317
|
-
# @option opts [Array<String>] :entities_body_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2318
|
-
# @option opts [Array<String>] :not_entities_body_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2319
|
-
# @option opts [Array<String>] :entities_body_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2320
|
-
# @option opts [Array<String>] :not_entities_body_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2321
2013
|
# @option opts [String] :sentiment_title_polarity This parameter is used for finding stories whose title sentiment is the specified value.
|
2322
2014
|
# @option opts [String] :not_sentiment_title_polarity This parameter is used for excluding stories whose title sentiment is the specified value.
|
2323
2015
|
# @option opts [String] :sentiment_body_polarity This parameter is used for finding stories whose body sentiment is the specified value.
|
@@ -2380,7 +2072,7 @@ module AylienNewsApi
|
|
2380
2072
|
# @option opts [String] :sort_direction This parameter is used for changing the order direction of the result. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results).
|
2381
2073
|
# @option opts [String] :cursor This parameter is used for finding a specific page. You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results).
|
2382
2074
|
# @option opts [Integer] :per_page This parameter is used for specifying number of items in each page You can read more about pagination of results [here](https://newsapi.aylien.com/docs/pagination-of-results)
|
2383
|
-
# @return [Array<(
|
2075
|
+
# @return [Array<(Stories, Integer, Hash)>] Stories data, response status code and response headers
|
2384
2076
|
def list_stories_with_http_info(opts = {})
|
2385
2077
|
if @api_client.config.debugging
|
2386
2078
|
@api_client.config.logger.debug 'Calling API: DefaultApi.list_stories ...'
|
@@ -2576,37 +2268,9 @@ module AylienNewsApi
|
|
2576
2268
|
query_params[:'!entities.body.stock_tickers'] = opts[:'entities_body_stock_tickers'] if !opts[:'entities_body_stock_tickers'].nil?
|
2577
2269
|
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
2578
2270
|
query_params[:'!entities.surface_forms.text'] = opts[:'entities_surface_forms_text'] if !opts[:'entities_surface_forms_text'].nil?
|
2579
|
-
query_params[:'entities.title.id'] = opts[:'entities_title_id'] if !opts[:'entities_title_id'].nil?
|
2580
|
-
query_params[:'!entities.title.id'] = opts[:'not_entities_title_id'] if !opts[:'not_entities_title_id'].nil?
|
2581
2271
|
query_params[:'entities.title.surface_forms.text'] = opts[:'entities_title_surface_forms_text'] if !opts[:'entities_title_surface_forms_text'].nil?
|
2582
2272
|
query_params[:'!entities.title.surface_forms.text'] = opts[:'not_entities_title_surface_forms_text'] if !opts[:'not_entities_title_surface_forms_text'].nil?
|
2583
|
-
query_params[:'entities.title.text'] = opts[:'entities_title_text'] if !opts[:'entities_title_text'].nil?
|
2584
|
-
query_params[:'!entities.title.text'] = opts[:'not_entities_title_text'] if !opts[:'not_entities_title_text'].nil?
|
2585
|
-
query_params[:'entities.title.type'] = opts[:'entities_title_type'] if !opts[:'entities_title_type'].nil?
|
2586
|
-
query_params[:'!entities.title.type'] = opts[:'not_entities_title_type'] if !opts[:'not_entities_title_type'].nil?
|
2587
|
-
query_params[:'entities.title.stock_ticker'] = opts[:'entities_title_stock_ticker'] if !opts[:'entities_title_stock_ticker'].nil?
|
2588
|
-
query_params[:'!entities.title.stock_ticker'] = opts[:'not_entities_title_stock_ticker'] if !opts[:'not_entities_title_stock_ticker'].nil?
|
2589
|
-
query_params[:'entities.title.links.dbpedia'] = opts[:'entities_title_links_dbpedia'] if !opts[:'entities_title_links_dbpedia'].nil?
|
2590
|
-
query_params[:'!entities.title.links.dbpedia'] = opts[:'not_entities_title_links_dbpedia'] if !opts[:'not_entities_title_links_dbpedia'].nil?
|
2591
|
-
query_params[:'entities.title.links.wikipedia'] = opts[:'entities_title_links_wikipedia'] if !opts[:'entities_title_links_wikipedia'].nil?
|
2592
|
-
query_params[:'!entities.title.links.wikipedia'] = opts[:'not_entities_title_links_wikipedia'] if !opts[:'not_entities_title_links_wikipedia'].nil?
|
2593
|
-
query_params[:'entities.title.links.wikidata'] = opts[:'entities_title_links_wikidata'] if !opts[:'entities_title_links_wikidata'].nil?
|
2594
|
-
query_params[:'!entities.title.links.wikidata'] = opts[:'not_entities_title_links_wikidata'] if !opts[:'not_entities_title_links_wikidata'].nil?
|
2595
|
-
query_params[:'entities.body.id'] = opts[:'entities_body_id'] if !opts[:'entities_body_id'].nil?
|
2596
|
-
query_params[:'!entities.body.id'] = opts[:'not_entities_body_id'] if !opts[:'not_entities_body_id'].nil?
|
2597
2273
|
query_params[:'!entities.body.surface_forms.text'] = opts[:'not_entities_body_surface_forms_text'] if !opts[:'not_entities_body_surface_forms_text'].nil?
|
2598
|
-
query_params[:'entities.body.text'] = opts[:'entities_body_text'] if !opts[:'entities_body_text'].nil?
|
2599
|
-
query_params[:'!entities.body.text'] = opts[:'not_entities_body_text'] if !opts[:'not_entities_body_text'].nil?
|
2600
|
-
query_params[:'entities.body.type'] = opts[:'entities_body_type'] if !opts[:'entities_body_type'].nil?
|
2601
|
-
query_params[:'!entities.body.type'] = opts[:'not_entities_body_type'] if !opts[:'not_entities_body_type'].nil?
|
2602
|
-
query_params[:'entities.body.stock_ticker'] = opts[:'entities_body_stock_ticker'] if !opts[:'entities_body_stock_ticker'].nil?
|
2603
|
-
query_params[:'!entities.body.stock_ticker'] = opts[:'not_entities_body_stock_ticker'] if !opts[:'not_entities_body_stock_ticker'].nil?
|
2604
|
-
query_params[:'entities.body.links.dbpedia'] = opts[:'entities_body_links_dbpedia'] if !opts[:'entities_body_links_dbpedia'].nil?
|
2605
|
-
query_params[:'!entities.body.links.dbpedia'] = opts[:'not_entities_body_links_dbpedia'] if !opts[:'not_entities_body_links_dbpedia'].nil?
|
2606
|
-
query_params[:'entities.body.links.wikipedia'] = opts[:'entities_body_links_wikipedia'] if !opts[:'entities_body_links_wikipedia'].nil?
|
2607
|
-
query_params[:'!entities.body.links.wikipedia'] = opts[:'not_entities_body_links_wikipedia'] if !opts[:'not_entities_body_links_wikipedia'].nil?
|
2608
|
-
query_params[:'entities.body.links.wikidata'] = opts[:'entities_body_links_wikidata'] if !opts[:'entities_body_links_wikidata'].nil?
|
2609
|
-
query_params[:'!entities.body.links.wikidata'] = opts[:'not_entities_body_links_wikidata'] if !opts[:'not_entities_body_links_wikidata'].nil?
|
2610
2274
|
query_params[:'sentiment.title.polarity'] = opts[:'sentiment_title_polarity'] if !opts[:'sentiment_title_polarity'].nil?
|
2611
2275
|
query_params[:'!sentiment.title.polarity'] = opts[:'not_sentiment_title_polarity'] if !opts[:'not_sentiment_title_polarity'].nil?
|
2612
2276
|
query_params[:'sentiment.body.polarity'] = opts[:'sentiment_body_polarity'] if !opts[:'sentiment_body_polarity'].nil?
|
@@ -2682,7 +2346,7 @@ module AylienNewsApi
|
|
2682
2346
|
post_body = opts[:body]
|
2683
2347
|
|
2684
2348
|
# return_type
|
2685
|
-
return_type = opts[:return_type] || '
|
2349
|
+
return_type = opts[:return_type] || 'Stories'
|
2686
2350
|
|
2687
2351
|
# auth_names
|
2688
2352
|
auth_names = opts[:auth_names] || ['app_id', 'app_key']
|
@@ -2736,37 +2400,9 @@ module AylienNewsApi
|
|
2736
2400
|
# @option opts [Array<String>] :entities_body_stock_tickers 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).
|
2737
2401
|
# @option opts [Array<String>] :entities_body_surface_forms_text 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).
|
2738
2402
|
# @option opts [Array<String>] :entities_surface_forms_text 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).
|
2739
|
-
# @option opts [Array<String>] :entities_title_id This parameter is used to find stories based on the specified entities `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2740
|
-
# @option opts [Array<String>] :not_entities_title_id This parameter is used to exclude stories based on the specified entity's `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2741
2403
|
# @option opts [String] :entities_title_surface_forms_text 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).
|
2742
2404
|
# @option opts [Array<String>] :not_entities_title_surface_forms_text 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).
|
2743
|
-
# @option opts [Array<String>] :entities_title_text This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2744
|
-
# @option opts [Array<String>] :not_entities_title_text This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2745
|
-
# @option opts [Array<String>] :entities_title_type This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2746
|
-
# @option opts [Array<String>] :not_entities_title_type This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2747
|
-
# @option opts [Array<String>] :entities_title_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2748
|
-
# @option opts [Array<String>] :not_entities_title_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2749
|
-
# @option opts [Array<String>] :entities_title_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2750
|
-
# @option opts [Array<String>] :not_entities_title_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2751
|
-
# @option opts [Array<String>] :entities_title_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2752
|
-
# @option opts [Array<String>] :not_entities_title_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2753
|
-
# @option opts [Array<String>] :entities_title_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2754
|
-
# @option opts [Array<String>] :not_entities_title_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2755
|
-
# @option opts [Array<String>] :entities_body_id This parameter is used to find stories based on the specified entities `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2756
|
-
# @option opts [Array<String>] :not_entities_body_id This parameter is used to exclude stories based on the specified entity's `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2757
2405
|
# @option opts [Array<String>] :not_entities_body_surface_forms_text 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).
|
2758
|
-
# @option opts [Array<String>] :entities_body_text This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2759
|
-
# @option opts [Array<String>] :not_entities_body_text This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2760
|
-
# @option opts [Array<String>] :entities_body_type This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2761
|
-
# @option opts [Array<String>] :not_entities_body_type This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2762
|
-
# @option opts [Array<String>] :entities_body_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2763
|
-
# @option opts [Array<String>] :not_entities_body_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2764
|
-
# @option opts [Array<String>] :entities_body_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2765
|
-
# @option opts [Array<String>] :not_entities_body_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2766
|
-
# @option opts [Array<String>] :entities_body_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2767
|
-
# @option opts [Array<String>] :not_entities_body_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2768
|
-
# @option opts [Array<String>] :entities_body_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2769
|
-
# @option opts [Array<String>] :not_entities_body_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2770
2406
|
# @option opts [String] :sentiment_title_polarity This parameter is used for finding stories whose title sentiment is the specified value.
|
2771
2407
|
# @option opts [String] :not_sentiment_title_polarity This parameter is used for excluding stories whose title sentiment is the specified value.
|
2772
2408
|
# @option opts [String] :sentiment_body_polarity This parameter is used for finding stories whose body sentiment is the specified value.
|
@@ -2866,37 +2502,9 @@ module AylienNewsApi
|
|
2866
2502
|
# @option opts [Array<String>] :entities_body_stock_tickers 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).
|
2867
2503
|
# @option opts [Array<String>] :entities_body_surface_forms_text 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).
|
2868
2504
|
# @option opts [Array<String>] :entities_surface_forms_text 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).
|
2869
|
-
# @option opts [Array<String>] :entities_title_id This parameter is used to find stories based on the specified entities `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2870
|
-
# @option opts [Array<String>] :not_entities_title_id This parameter is used to exclude stories based on the specified entity's `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2871
2505
|
# @option opts [String] :entities_title_surface_forms_text 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).
|
2872
2506
|
# @option opts [Array<String>] :not_entities_title_surface_forms_text 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).
|
2873
|
-
# @option opts [Array<String>] :entities_title_text This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2874
|
-
# @option opts [Array<String>] :not_entities_title_text This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2875
|
-
# @option opts [Array<String>] :entities_title_type This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2876
|
-
# @option opts [Array<String>] :not_entities_title_type This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2877
|
-
# @option opts [Array<String>] :entities_title_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2878
|
-
# @option opts [Array<String>] :not_entities_title_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2879
|
-
# @option opts [Array<String>] :entities_title_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2880
|
-
# @option opts [Array<String>] :not_entities_title_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2881
|
-
# @option opts [Array<String>] :entities_title_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2882
|
-
# @option opts [Array<String>] :not_entities_title_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2883
|
-
# @option opts [Array<String>] :entities_title_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2884
|
-
# @option opts [Array<String>] :not_entities_title_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2885
|
-
# @option opts [Array<String>] :entities_body_id This parameter is used to find stories based on the specified entities `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2886
|
-
# @option opts [Array<String>] :not_entities_body_id This parameter is used to exclude stories based on the specified entity's `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2887
2507
|
# @option opts [Array<String>] :not_entities_body_surface_forms_text 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).
|
2888
|
-
# @option opts [Array<String>] :entities_body_text This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2889
|
-
# @option opts [Array<String>] :not_entities_body_text This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2890
|
-
# @option opts [Array<String>] :entities_body_type This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2891
|
-
# @option opts [Array<String>] :not_entities_body_type This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2892
|
-
# @option opts [Array<String>] :entities_body_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2893
|
-
# @option opts [Array<String>] :not_entities_body_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2894
|
-
# @option opts [Array<String>] :entities_body_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2895
|
-
# @option opts [Array<String>] :not_entities_body_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2896
|
-
# @option opts [Array<String>] :entities_body_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2897
|
-
# @option opts [Array<String>] :not_entities_body_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2898
|
-
# @option opts [Array<String>] :entities_body_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2899
|
-
# @option opts [Array<String>] :not_entities_body_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2900
2508
|
# @option opts [String] :sentiment_title_polarity This parameter is used for finding stories whose title sentiment is the specified value.
|
2901
2509
|
# @option opts [String] :not_sentiment_title_polarity This parameter is used for excluding stories whose title sentiment is the specified value.
|
2902
2510
|
# @option opts [String] :sentiment_body_polarity This parameter is used for finding stories whose body sentiment is the specified value.
|
@@ -3129,37 +2737,9 @@ module AylienNewsApi
|
|
3129
2737
|
query_params[:'!entities.body.stock_tickers'] = opts[:'entities_body_stock_tickers'] if !opts[:'entities_body_stock_tickers'].nil?
|
3130
2738
|
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
3131
2739
|
query_params[:'!entities.surface_forms.text'] = opts[:'entities_surface_forms_text'] if !opts[:'entities_surface_forms_text'].nil?
|
3132
|
-
query_params[:'entities.title.id'] = opts[:'entities_title_id'] if !opts[:'entities_title_id'].nil?
|
3133
|
-
query_params[:'!entities.title.id'] = opts[:'not_entities_title_id'] if !opts[:'not_entities_title_id'].nil?
|
3134
2740
|
query_params[:'entities.title.surface_forms.text'] = opts[:'entities_title_surface_forms_text'] if !opts[:'entities_title_surface_forms_text'].nil?
|
3135
2741
|
query_params[:'!entities.title.surface_forms.text'] = opts[:'not_entities_title_surface_forms_text'] if !opts[:'not_entities_title_surface_forms_text'].nil?
|
3136
|
-
query_params[:'entities.title.text'] = opts[:'entities_title_text'] if !opts[:'entities_title_text'].nil?
|
3137
|
-
query_params[:'!entities.title.text'] = opts[:'not_entities_title_text'] if !opts[:'not_entities_title_text'].nil?
|
3138
|
-
query_params[:'entities.title.type'] = opts[:'entities_title_type'] if !opts[:'entities_title_type'].nil?
|
3139
|
-
query_params[:'!entities.title.type'] = opts[:'not_entities_title_type'] if !opts[:'not_entities_title_type'].nil?
|
3140
|
-
query_params[:'entities.title.stock_ticker'] = opts[:'entities_title_stock_ticker'] if !opts[:'entities_title_stock_ticker'].nil?
|
3141
|
-
query_params[:'!entities.title.stock_ticker'] = opts[:'not_entities_title_stock_ticker'] if !opts[:'not_entities_title_stock_ticker'].nil?
|
3142
|
-
query_params[:'entities.title.links.dbpedia'] = opts[:'entities_title_links_dbpedia'] if !opts[:'entities_title_links_dbpedia'].nil?
|
3143
|
-
query_params[:'!entities.title.links.dbpedia'] = opts[:'not_entities_title_links_dbpedia'] if !opts[:'not_entities_title_links_dbpedia'].nil?
|
3144
|
-
query_params[:'entities.title.links.wikipedia'] = opts[:'entities_title_links_wikipedia'] if !opts[:'entities_title_links_wikipedia'].nil?
|
3145
|
-
query_params[:'!entities.title.links.wikipedia'] = opts[:'not_entities_title_links_wikipedia'] if !opts[:'not_entities_title_links_wikipedia'].nil?
|
3146
|
-
query_params[:'entities.title.links.wikidata'] = opts[:'entities_title_links_wikidata'] if !opts[:'entities_title_links_wikidata'].nil?
|
3147
|
-
query_params[:'!entities.title.links.wikidata'] = opts[:'not_entities_title_links_wikidata'] if !opts[:'not_entities_title_links_wikidata'].nil?
|
3148
|
-
query_params[:'entities.body.id'] = opts[:'entities_body_id'] if !opts[:'entities_body_id'].nil?
|
3149
|
-
query_params[:'!entities.body.id'] = opts[:'not_entities_body_id'] if !opts[:'not_entities_body_id'].nil?
|
3150
2742
|
query_params[:'!entities.body.surface_forms.text'] = opts[:'not_entities_body_surface_forms_text'] if !opts[:'not_entities_body_surface_forms_text'].nil?
|
3151
|
-
query_params[:'entities.body.text'] = opts[:'entities_body_text'] if !opts[:'entities_body_text'].nil?
|
3152
|
-
query_params[:'!entities.body.text'] = opts[:'not_entities_body_text'] if !opts[:'not_entities_body_text'].nil?
|
3153
|
-
query_params[:'entities.body.type'] = opts[:'entities_body_type'] if !opts[:'entities_body_type'].nil?
|
3154
|
-
query_params[:'!entities.body.type'] = opts[:'not_entities_body_type'] if !opts[:'not_entities_body_type'].nil?
|
3155
|
-
query_params[:'entities.body.stock_ticker'] = opts[:'entities_body_stock_ticker'] if !opts[:'entities_body_stock_ticker'].nil?
|
3156
|
-
query_params[:'!entities.body.stock_ticker'] = opts[:'not_entities_body_stock_ticker'] if !opts[:'not_entities_body_stock_ticker'].nil?
|
3157
|
-
query_params[:'entities.body.links.dbpedia'] = opts[:'entities_body_links_dbpedia'] if !opts[:'entities_body_links_dbpedia'].nil?
|
3158
|
-
query_params[:'!entities.body.links.dbpedia'] = opts[:'not_entities_body_links_dbpedia'] if !opts[:'not_entities_body_links_dbpedia'].nil?
|
3159
|
-
query_params[:'entities.body.links.wikipedia'] = opts[:'entities_body_links_wikipedia'] if !opts[:'entities_body_links_wikipedia'].nil?
|
3160
|
-
query_params[:'!entities.body.links.wikipedia'] = opts[:'not_entities_body_links_wikipedia'] if !opts[:'not_entities_body_links_wikipedia'].nil?
|
3161
|
-
query_params[:'entities.body.links.wikidata'] = opts[:'entities_body_links_wikidata'] if !opts[:'entities_body_links_wikidata'].nil?
|
3162
|
-
query_params[:'!entities.body.links.wikidata'] = opts[:'not_entities_body_links_wikidata'] if !opts[:'not_entities_body_links_wikidata'].nil?
|
3163
2743
|
query_params[:'sentiment.title.polarity'] = opts[:'sentiment_title_polarity'] if !opts[:'sentiment_title_polarity'].nil?
|
3164
2744
|
query_params[:'!sentiment.title.polarity'] = opts[:'not_sentiment_title_polarity'] if !opts[:'not_sentiment_title_polarity'].nil?
|
3165
2745
|
query_params[:'sentiment.body.polarity'] = opts[:'sentiment_body_polarity'] if !opts[:'sentiment_body_polarity'].nil?
|
@@ -3292,37 +2872,9 @@ module AylienNewsApi
|
|
3292
2872
|
# @option opts [Array<String>] :entities_body_stock_tickers 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).
|
3293
2873
|
# @option opts [Array<String>] :entities_body_surface_forms_text 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).
|
3294
2874
|
# @option opts [Array<String>] :entities_surface_forms_text 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).
|
3295
|
-
# @option opts [Array<String>] :entities_title_id This parameter is used to find stories based on the specified entities `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3296
|
-
# @option opts [Array<String>] :not_entities_title_id This parameter is used to exclude stories based on the specified entity's `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3297
2875
|
# @option opts [String] :entities_title_surface_forms_text 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).
|
3298
2876
|
# @option opts [Array<String>] :not_entities_title_surface_forms_text 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).
|
3299
|
-
# @option opts [Array<String>] :entities_title_text This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3300
|
-
# @option opts [Array<String>] :not_entities_title_text This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3301
|
-
# @option opts [Array<String>] :entities_title_type This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3302
|
-
# @option opts [Array<String>] :not_entities_title_type This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3303
|
-
# @option opts [Array<String>] :entities_title_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3304
|
-
# @option opts [Array<String>] :not_entities_title_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3305
|
-
# @option opts [Array<String>] :entities_title_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3306
|
-
# @option opts [Array<String>] :not_entities_title_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3307
|
-
# @option opts [Array<String>] :entities_title_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3308
|
-
# @option opts [Array<String>] :not_entities_title_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3309
|
-
# @option opts [Array<String>] :entities_title_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3310
|
-
# @option opts [Array<String>] :not_entities_title_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3311
|
-
# @option opts [Array<String>] :entities_body_id This parameter is used to find stories based on the specified entities `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3312
|
-
# @option opts [Array<String>] :not_entities_body_id This parameter is used to exclude stories based on the specified entity's `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3313
2877
|
# @option opts [Array<String>] :not_entities_body_surface_forms_text 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).
|
3314
|
-
# @option opts [Array<String>] :entities_body_text This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3315
|
-
# @option opts [Array<String>] :not_entities_body_text This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3316
|
-
# @option opts [Array<String>] :entities_body_type This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3317
|
-
# @option opts [Array<String>] :not_entities_body_type This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3318
|
-
# @option opts [Array<String>] :entities_body_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3319
|
-
# @option opts [Array<String>] :not_entities_body_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3320
|
-
# @option opts [Array<String>] :entities_body_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3321
|
-
# @option opts [Array<String>] :not_entities_body_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3322
|
-
# @option opts [Array<String>] :entities_body_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3323
|
-
# @option opts [Array<String>] :not_entities_body_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3324
|
-
# @option opts [Array<String>] :entities_body_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3325
|
-
# @option opts [Array<String>] :not_entities_body_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3326
2878
|
# @option opts [String] :sentiment_title_polarity This parameter is used for finding stories whose title sentiment is the specified value.
|
3327
2879
|
# @option opts [String] :not_sentiment_title_polarity This parameter is used for excluding stories whose title sentiment is the specified value.
|
3328
2880
|
# @option opts [String] :sentiment_body_polarity This parameter is used for finding stories whose body sentiment is the specified value.
|
@@ -3424,37 +2976,9 @@ module AylienNewsApi
|
|
3424
2976
|
# @option opts [Array<String>] :entities_body_stock_tickers 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).
|
3425
2977
|
# @option opts [Array<String>] :entities_body_surface_forms_text 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).
|
3426
2978
|
# @option opts [Array<String>] :entities_surface_forms_text 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).
|
3427
|
-
# @option opts [Array<String>] :entities_title_id This parameter is used to find stories based on the specified entities `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3428
|
-
# @option opts [Array<String>] :not_entities_title_id This parameter is used to exclude stories based on the specified entity's `id` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3429
2979
|
# @option opts [String] :entities_title_surface_forms_text 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).
|
3430
2980
|
# @option opts [Array<String>] :not_entities_title_surface_forms_text 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).
|
3431
|
-
# @option opts [Array<String>] :entities_title_text This parameter is used to find stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3432
|
-
# @option opts [Array<String>] :not_entities_title_text This parameter is used to exclude stories based on the specified entities `text` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3433
|
-
# @option opts [Array<String>] :entities_title_type This parameter is used to find stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3434
|
-
# @option opts [Array<String>] :not_entities_title_type This parameter is used to exclude stories based on the specified entities `type` in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3435
|
-
# @option opts [Array<String>] :entities_title_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3436
|
-
# @option opts [Array<String>] :not_entities_title_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3437
|
-
# @option opts [Array<String>] :entities_title_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3438
|
-
# @option opts [Array<String>] :not_entities_title_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in story titles. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3439
|
-
# @option opts [Array<String>] :entities_title_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3440
|
-
# @option opts [Array<String>] :not_entities_title_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3441
|
-
# @option opts [Array<String>] :entities_title_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3442
|
-
# @option opts [Array<String>] :not_entities_title_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the title of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3443
|
-
# @option opts [Array<String>] :entities_body_id This parameter is used to find stories based on the specified entities `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3444
|
-
# @option opts [Array<String>] :not_entities_body_id This parameter is used to exclude stories based on the specified entity's `id` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3445
2981
|
# @option opts [Array<String>] :not_entities_body_surface_forms_text 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).
|
3446
|
-
# @option opts [Array<String>] :entities_body_text This parameter is used to find stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3447
|
-
# @option opts [Array<String>] :not_entities_body_text This parameter is used to exclude stories based on the specified entities `text` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3448
|
-
# @option opts [Array<String>] :entities_body_type This parameter is used to find stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3449
|
-
# @option opts [Array<String>] :not_entities_body_type This parameter is used to exclude stories based on the specified entities `type` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3450
|
-
# @option opts [Array<String>] :entities_body_stock_ticker This parameter is used to find stories based on the specified entities `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3451
|
-
# @option opts [Array<String>] :not_entities_body_stock_ticker This parameter is used to exclude stories based on the specified entity's `stock_ticker` in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3452
|
-
# @option opts [Array<String>] :entities_body_links_dbpedia This parameter is used to find stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3453
|
-
# @option opts [Array<String>] :not_entities_body_links_dbpedia This parameter is used to exclude stories based on the specified entities dbpedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3454
|
-
# @option opts [Array<String>] :entities_body_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3455
|
-
# @option opts [Array<String>] :not_entities_body_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3456
|
-
# @option opts [Array<String>] :entities_body_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3457
|
-
# @option opts [Array<String>] :not_entities_body_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL in the body of stories. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3458
2982
|
# @option opts [String] :sentiment_title_polarity This parameter is used for finding stories whose title sentiment is the specified value.
|
3459
2983
|
# @option opts [String] :not_sentiment_title_polarity This parameter is used for excluding stories whose title sentiment is the specified value.
|
3460
2984
|
# @option opts [String] :sentiment_body_polarity This parameter is used for finding stories whose body sentiment is the specified value.
|
@@ -3522,7 +3046,7 @@ module AylienNewsApi
|
|
3522
3046
|
fail ArgumentError, "Missing the required parameter 'field' when calling DefaultApi.list_trends"
|
3523
3047
|
end
|
3524
3048
|
# verify enum value
|
3525
|
-
allowable_values = ["author.name", "source.name", "source.domain", "keywords", "entities.id", "entities.surface_forms.text", "entities.links.wikipedia", "entities.links.wikidata", "entities.title.surface_forms.text", "entities.
|
3049
|
+
allowable_values = ["author.name", "source.name", "source.domain", "keywords", "entities.id", "entities.surface_forms.text", "entities.links.wikipedia", "entities.links.wikidata", "entities.title.surface_forms.text", "entities.body.surface_forms.text", "hashtags", "categories.id", "sentiment.title.polarity", "sentiment.body.polarity", "clusters"]
|
3526
3050
|
if @api_client.config.client_side_validation && !allowable_values.include?(field)
|
3527
3051
|
fail ArgumentError, "invalid value for \"field\", must be one of #{allowable_values}"
|
3528
3052
|
end
|
@@ -3698,37 +3222,9 @@ module AylienNewsApi
|
|
3698
3222
|
query_params[:'!entities.body.stock_tickers'] = opts[:'entities_body_stock_tickers'] if !opts[:'entities_body_stock_tickers'].nil?
|
3699
3223
|
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
3700
3224
|
query_params[:'!entities.surface_forms.text'] = opts[:'entities_surface_forms_text'] if !opts[:'entities_surface_forms_text'].nil?
|
3701
|
-
query_params[:'entities.title.id'] = opts[:'entities_title_id'] if !opts[:'entities_title_id'].nil?
|
3702
|
-
query_params[:'!entities.title.id'] = opts[:'not_entities_title_id'] if !opts[:'not_entities_title_id'].nil?
|
3703
3225
|
query_params[:'entities.title.surface_forms.text'] = opts[:'entities_title_surface_forms_text'] if !opts[:'entities_title_surface_forms_text'].nil?
|
3704
3226
|
query_params[:'!entities.title.surface_forms.text'] = opts[:'not_entities_title_surface_forms_text'] if !opts[:'not_entities_title_surface_forms_text'].nil?
|
3705
|
-
query_params[:'entities.title.text'] = opts[:'entities_title_text'] if !opts[:'entities_title_text'].nil?
|
3706
|
-
query_params[:'!entities.title.text'] = opts[:'not_entities_title_text'] if !opts[:'not_entities_title_text'].nil?
|
3707
|
-
query_params[:'entities.title.type'] = opts[:'entities_title_type'] if !opts[:'entities_title_type'].nil?
|
3708
|
-
query_params[:'!entities.title.type'] = opts[:'not_entities_title_type'] if !opts[:'not_entities_title_type'].nil?
|
3709
|
-
query_params[:'entities.title.stock_ticker'] = opts[:'entities_title_stock_ticker'] if !opts[:'entities_title_stock_ticker'].nil?
|
3710
|
-
query_params[:'!entities.title.stock_ticker'] = opts[:'not_entities_title_stock_ticker'] if !opts[:'not_entities_title_stock_ticker'].nil?
|
3711
|
-
query_params[:'entities.title.links.dbpedia'] = opts[:'entities_title_links_dbpedia'] if !opts[:'entities_title_links_dbpedia'].nil?
|
3712
|
-
query_params[:'!entities.title.links.dbpedia'] = opts[:'not_entities_title_links_dbpedia'] if !opts[:'not_entities_title_links_dbpedia'].nil?
|
3713
|
-
query_params[:'entities.title.links.wikipedia'] = opts[:'entities_title_links_wikipedia'] if !opts[:'entities_title_links_wikipedia'].nil?
|
3714
|
-
query_params[:'!entities.title.links.wikipedia'] = opts[:'not_entities_title_links_wikipedia'] if !opts[:'not_entities_title_links_wikipedia'].nil?
|
3715
|
-
query_params[:'entities.title.links.wikidata'] = opts[:'entities_title_links_wikidata'] if !opts[:'entities_title_links_wikidata'].nil?
|
3716
|
-
query_params[:'!entities.title.links.wikidata'] = opts[:'not_entities_title_links_wikidata'] if !opts[:'not_entities_title_links_wikidata'].nil?
|
3717
|
-
query_params[:'entities.body.id'] = opts[:'entities_body_id'] if !opts[:'entities_body_id'].nil?
|
3718
|
-
query_params[:'!entities.body.id'] = opts[:'not_entities_body_id'] if !opts[:'not_entities_body_id'].nil?
|
3719
3227
|
query_params[:'!entities.body.surface_forms.text'] = opts[:'not_entities_body_surface_forms_text'] if !opts[:'not_entities_body_surface_forms_text'].nil?
|
3720
|
-
query_params[:'entities.body.text'] = opts[:'entities_body_text'] if !opts[:'entities_body_text'].nil?
|
3721
|
-
query_params[:'!entities.body.text'] = opts[:'not_entities_body_text'] if !opts[:'not_entities_body_text'].nil?
|
3722
|
-
query_params[:'entities.body.type'] = opts[:'entities_body_type'] if !opts[:'entities_body_type'].nil?
|
3723
|
-
query_params[:'!entities.body.type'] = opts[:'not_entities_body_type'] if !opts[:'not_entities_body_type'].nil?
|
3724
|
-
query_params[:'entities.body.stock_ticker'] = opts[:'entities_body_stock_ticker'] if !opts[:'entities_body_stock_ticker'].nil?
|
3725
|
-
query_params[:'!entities.body.stock_ticker'] = opts[:'not_entities_body_stock_ticker'] if !opts[:'not_entities_body_stock_ticker'].nil?
|
3726
|
-
query_params[:'entities.body.links.dbpedia'] = opts[:'entities_body_links_dbpedia'] if !opts[:'entities_body_links_dbpedia'].nil?
|
3727
|
-
query_params[:'!entities.body.links.dbpedia'] = opts[:'not_entities_body_links_dbpedia'] if !opts[:'not_entities_body_links_dbpedia'].nil?
|
3728
|
-
query_params[:'entities.body.links.wikipedia'] = opts[:'entities_body_links_wikipedia'] if !opts[:'entities_body_links_wikipedia'].nil?
|
3729
|
-
query_params[:'!entities.body.links.wikipedia'] = opts[:'not_entities_body_links_wikipedia'] if !opts[:'not_entities_body_links_wikipedia'].nil?
|
3730
|
-
query_params[:'entities.body.links.wikidata'] = opts[:'entities_body_links_wikidata'] if !opts[:'entities_body_links_wikidata'].nil?
|
3731
|
-
query_params[:'!entities.body.links.wikidata'] = opts[:'not_entities_body_links_wikidata'] if !opts[:'not_entities_body_links_wikidata'].nil?
|
3732
3228
|
query_params[:'sentiment.title.polarity'] = opts[:'sentiment_title_polarity'] if !opts[:'sentiment_title_polarity'].nil?
|
3733
3229
|
query_params[:'!sentiment.title.polarity'] = opts[:'not_sentiment_title_polarity'] if !opts[:'not_sentiment_title_polarity'].nil?
|
3734
3230
|
query_params[:'sentiment.body.polarity'] = opts[:'sentiment_body_polarity'] if !opts[:'sentiment_body_polarity'].nil?
|