aylien_news_api 4.5.0 → 4.6.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 +20 -152
- data/lib/aylien_news_api.rb +1 -4
- data/lib/aylien_news_api/api/default_api.rb +31 -229
- 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/deprecated_entities.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_entity.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_entity_surface_form.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_related_stories.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_stories.rb +1 -1
- data/lib/aylien_news_api/models/deprecated_story.rb +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 +1 -1
- data/lib/aylien_news_api/models/query.rb +1 -1
- data/lib/aylien_news_api/models/rank.rb +1 -1
- data/lib/aylien_news_api/models/rankings.rb +1 -1
- data/lib/aylien_news_api/models/related_stories.rb +1 -1
- data/lib/aylien_news_api/models/representative_story.rb +1 -1
- data/lib/aylien_news_api/models/scope.rb +1 -1
- data/lib/aylien_news_api/models/scope_level.rb +1 -1
- data/lib/aylien_news_api/models/sentiment.rb +1 -1
- data/lib/aylien_news_api/models/sentiment_polarity.rb +1 -1
- data/lib/aylien_news_api/models/sentiments.rb +1 -1
- data/lib/aylien_news_api/models/share_count.rb +1 -1
- data/lib/aylien_news_api/models/share_counts.rb +1 -1
- data/lib/aylien_news_api/models/source.rb +1 -1
- data/lib/aylien_news_api/models/stories.rb +1 -1
- data/lib/aylien_news_api/models/story.rb +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 +11 -77
- 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/deprecated_entities_spec.rb +1 -1
- data/spec/models/deprecated_entity_spec.rb +1 -1
- data/spec/models/deprecated_entity_surface_form_spec.rb +1 -1
- data/spec/models/deprecated_related_stories_spec.rb +1 -1
- data/spec/models/deprecated_stories_spec.rb +1 -1
- data/spec/models/deprecated_story_spec.rb +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 +1 -1
- data/spec/models/query_spec.rb +1 -1
- data/spec/models/rank_spec.rb +1 -1
- data/spec/models/rankings_spec.rb +1 -1
- data/spec/models/related_stories_spec.rb +1 -1
- data/spec/models/representative_story_spec.rb +1 -1
- data/spec/models/scope_level_spec.rb +1 -1
- data/spec/models/scope_spec.rb +1 -1
- data/spec/models/sentiment_polarity_spec.rb +1 -1
- data/spec/models/sentiment_spec.rb +1 -1
- data/spec/models/sentiments_spec.rb +1 -1
- data/spec/models/share_count_spec.rb +1 -1
- data/spec/models/share_counts_spec.rb +1 -1
- data/spec/models/source_spec.rb +1 -1
- data/spec/models/stories_spec.rb +1 -1
- data/spec/models/story_cluster_spec.rb +1 -1
- data/spec/models/story_links_spec.rb +1 -1
- data/spec/models/story_spec.rb +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/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: 4.6
|
7
7
|
Contact: support@aylien.com
|
8
8
|
Generated by: https://openapi-generator.tech
|
9
9
|
OpenAPI Generator version: 5.0.0-SNAPSHOT
|
@@ -54,7 +54,6 @@ require 'aylien_news_api/models/parameter'
|
|
54
54
|
require 'aylien_news_api/models/query'
|
55
55
|
require 'aylien_news_api/models/rank'
|
56
56
|
require 'aylien_news_api/models/rankings'
|
57
|
-
require 'aylien_news_api/models/related_stories'
|
58
57
|
require 'aylien_news_api/models/representative_story'
|
59
58
|
require 'aylien_news_api/models/scope'
|
60
59
|
require 'aylien_news_api/models/scope_level'
|
@@ -64,8 +63,6 @@ require 'aylien_news_api/models/sentiments'
|
|
64
63
|
require 'aylien_news_api/models/share_count'
|
65
64
|
require 'aylien_news_api/models/share_counts'
|
66
65
|
require 'aylien_news_api/models/source'
|
67
|
-
require 'aylien_news_api/models/stories'
|
68
|
-
require 'aylien_news_api/models/story'
|
69
66
|
require 'aylien_news_api/models/story_cluster'
|
70
67
|
require 'aylien_news_api/models/story_links'
|
71
68
|
require 'aylien_news_api/models/story_translation'
|
@@ -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: 4.6
|
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 [DeprecatedStories]
|
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<(DeprecatedStories, Integer, Hash)>] DeprecatedStories 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] || 'DeprecatedStories'
|
107
107
|
|
108
108
|
# auth_names
|
109
109
|
auth_names = opts[:auth_names] || ['app_id', 'app_key']
|
@@ -381,18 +381,6 @@ module AylienNewsApi
|
|
381
381
|
# @option opts [Array<String>] :not_categories_label This parameter is used for excluding stories by categories label. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
382
382
|
# @option opts [Array<Integer>] :categories_level This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
383
383
|
# @option opts [Array<Integer>] :not_categories_level This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
384
|
-
# @option opts [Array<String>] :entities_id This parameter is used to find stories based on the specified entities `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
385
|
-
# @option opts [Array<String>] :not_entities_id This parameter is used to exclude stories based on the specified entity's `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
386
|
-
# @option opts [Array<String>] :entities_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
387
|
-
# @option opts [Array<String>] :not_entities_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
388
|
-
# @option opts [Array<String>] :entities_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
389
|
-
# @option opts [Array<String>] :not_entities_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
390
|
-
# @option opts [Array<String>] :entities_types This parameter is used to find stories based on the specified entities `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
391
|
-
# @option opts [Array<String>] :not_entities_types This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
392
|
-
# @option opts [Array<String>] :entities_stock_tickers This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
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
|
-
# @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
|
-
# @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
384
|
# @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
385
|
# @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
386
|
# @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).
|
@@ -411,6 +399,7 @@ module AylienNewsApi
|
|
411
399
|
# @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
400
|
# @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
401
|
# @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).
|
402
|
+
# @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).
|
414
403
|
# @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
404
|
# @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
405
|
# @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).
|
@@ -516,18 +505,6 @@ module AylienNewsApi
|
|
516
505
|
# @option opts [Array<String>] :not_categories_label This parameter is used for excluding stories by categories label. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
517
506
|
# @option opts [Array<Integer>] :categories_level This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
518
507
|
# @option opts [Array<Integer>] :not_categories_level This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
519
|
-
# @option opts [Array<String>] :entities_id This parameter is used to find stories based on the specified entities `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
520
|
-
# @option opts [Array<String>] :not_entities_id This parameter is used to exclude stories based on the specified entity's `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
521
|
-
# @option opts [Array<String>] :entities_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
522
|
-
# @option opts [Array<String>] :not_entities_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
523
|
-
# @option opts [Array<String>] :entities_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
524
|
-
# @option opts [Array<String>] :not_entities_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
525
|
-
# @option opts [Array<String>] :entities_types This parameter is used to find stories based on the specified entities `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
526
|
-
# @option opts [Array<String>] :not_entities_types This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
527
|
-
# @option opts [Array<String>] :entities_stock_tickers This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
528
|
-
# @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
|
-
# @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
|
-
# @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
508
|
# @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
509
|
# @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
510
|
# @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).
|
@@ -546,6 +523,7 @@ module AylienNewsApi
|
|
546
523
|
# @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
524
|
# @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
525
|
# @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).
|
526
|
+
# @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).
|
549
527
|
# @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
528
|
# @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
529
|
# @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).
|
@@ -788,18 +766,6 @@ module AylienNewsApi
|
|
788
766
|
query_params[:'!categories.label'] = opts[:'not_categories_label'] if !opts[:'not_categories_label'].nil?
|
789
767
|
query_params[:'categories.level'] = opts[:'categories_level'] if !opts[:'categories_level'].nil?
|
790
768
|
query_params[:'!categories.level'] = opts[:'not_categories_level'] if !opts[:'not_categories_level'].nil?
|
791
|
-
query_params[:'entities.id'] = opts[:'entities_id'] if !opts[:'entities_id'].nil?
|
792
|
-
query_params[:'!entities.id'] = opts[:'not_entities_id'] if !opts[:'not_entities_id'].nil?
|
793
|
-
query_params[:'entities.links.wikipedia'] = opts[:'entities_links_wikipedia'] if !opts[:'entities_links_wikipedia'].nil?
|
794
|
-
query_params[:'!entities.links.wikipedia'] = opts[:'not_entities_links_wikipedia'] if !opts[:'not_entities_links_wikipedia'].nil?
|
795
|
-
query_params[:'entities.links.wikidata'] = opts[:'entities_links_wikidata'] if !opts[:'entities_links_wikidata'].nil?
|
796
|
-
query_params[:'!entities.links.wikidata'] = opts[:'not_entities_links_wikidata'] if !opts[:'not_entities_links_wikidata'].nil?
|
797
|
-
query_params[:'entities.types'] = opts[:'entities_types'] if !opts[:'entities_types'].nil?
|
798
|
-
query_params[:'!entities.types'] = opts[:'not_entities_types'] if !opts[:'not_entities_types'].nil?
|
799
|
-
query_params[:'entities.stock_tickers'] = opts[:'entities_stock_tickers'] if !opts[:'entities_stock_tickers'].nil?
|
800
|
-
query_params[:'!entities.body.stock_tickers'] = opts[:'entities_body_stock_tickers'] if !opts[:'entities_body_stock_tickers'].nil?
|
801
|
-
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
802
|
-
query_params[:'!entities.surface_forms.text'] = opts[:'entities_surface_forms_text'] if !opts[:'entities_surface_forms_text'].nil?
|
803
769
|
query_params[:'entities.title.id'] = opts[:'entities_title_id'] if !opts[:'entities_title_id'].nil?
|
804
770
|
query_params[:'!entities.title.id'] = opts[:'not_entities_title_id'] if !opts[:'not_entities_title_id'].nil?
|
805
771
|
query_params[:'entities.title.surface_forms.text'] = opts[:'entities_title_surface_forms_text'] if !opts[:'entities_title_surface_forms_text'].nil?
|
@@ -818,6 +784,7 @@ module AylienNewsApi
|
|
818
784
|
query_params[:'!entities.title.links.wikidata'] = opts[:'not_entities_title_links_wikidata'] if !opts[:'not_entities_title_links_wikidata'].nil?
|
819
785
|
query_params[:'entities.body.id'] = opts[:'entities_body_id'] if !opts[:'entities_body_id'].nil?
|
820
786
|
query_params[:'!entities.body.id'] = opts[:'not_entities_body_id'] if !opts[:'not_entities_body_id'].nil?
|
787
|
+
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
821
788
|
query_params[:'!entities.body.surface_forms.text'] = opts[:'not_entities_body_surface_forms_text'] if !opts[:'not_entities_body_surface_forms_text'].nil?
|
822
789
|
query_params[:'entities.body.text'] = opts[:'entities_body_text'] if !opts[:'entities_body_text'].nil?
|
823
790
|
query_params[:'!entities.body.text'] = opts[:'not_entities_body_text'] if !opts[:'not_entities_body_text'].nil?
|
@@ -949,18 +916,6 @@ module AylienNewsApi
|
|
949
916
|
# @option opts [Array<String>] :not_categories_label This parameter is used for excluding stories by categories label. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
950
917
|
# @option opts [Array<Integer>] :categories_level This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
951
918
|
# @option opts [Array<Integer>] :not_categories_level This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
952
|
-
# @option opts [Array<String>] :entities_id This parameter is used to find stories based on the specified entities `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
953
|
-
# @option opts [Array<String>] :not_entities_id This parameter is used to exclude stories based on the specified entity's `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
954
|
-
# @option opts [Array<String>] :entities_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
955
|
-
# @option opts [Array<String>] :not_entities_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
956
|
-
# @option opts [Array<String>] :entities_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
957
|
-
# @option opts [Array<String>] :not_entities_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
958
|
-
# @option opts [Array<String>] :entities_types This parameter is used to find stories based on the specified entities `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
959
|
-
# @option opts [Array<String>] :not_entities_types This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
960
|
-
# @option opts [Array<String>] :entities_stock_tickers This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
961
|
-
# @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
|
-
# @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
|
-
# @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
919
|
# @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
920
|
# @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
921
|
# @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).
|
@@ -979,6 +934,7 @@ module AylienNewsApi
|
|
979
934
|
# @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
935
|
# @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
936
|
# @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).
|
937
|
+
# @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).
|
982
938
|
# @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
939
|
# @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
940
|
# @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).
|
@@ -1057,7 +1013,7 @@ module AylienNewsApi
|
|
1057
1013
|
# @option opts [String] :boost_by This parameter is used for boosting the result by the specified value.
|
1058
1014
|
# @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
1015
|
# @option opts [Integer] :per_page This parameter is used for specifying number of items in each page. (default to 3)
|
1060
|
-
# @return [
|
1016
|
+
# @return [DeprecatedRelatedStories]
|
1061
1017
|
def list_related_stories_get(opts = {})
|
1062
1018
|
data, _status_code, _headers = list_related_stories_get_with_http_info(opts)
|
1063
1019
|
data
|
@@ -1086,18 +1042,6 @@ module AylienNewsApi
|
|
1086
1042
|
# @option opts [Array<String>] :not_categories_label This parameter is used for excluding stories by categories label. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
1087
1043
|
# @option opts [Array<Integer>] :categories_level This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
1088
1044
|
# @option opts [Array<Integer>] :not_categories_level This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
1089
|
-
# @option opts [Array<String>] :entities_id This parameter is used to find stories based on the specified entities `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1090
|
-
# @option opts [Array<String>] :not_entities_id This parameter is used to exclude stories based on the specified entity's `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1091
|
-
# @option opts [Array<String>] :entities_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1092
|
-
# @option opts [Array<String>] :not_entities_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1093
|
-
# @option opts [Array<String>] :entities_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1094
|
-
# @option opts [Array<String>] :not_entities_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1095
|
-
# @option opts [Array<String>] :entities_types This parameter is used to find stories based on the specified entities `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1096
|
-
# @option opts [Array<String>] :not_entities_types This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1097
|
-
# @option opts [Array<String>] :entities_stock_tickers This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1098
|
-
# @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
|
-
# @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
|
-
# @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
1045
|
# @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
1046
|
# @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
1047
|
# @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).
|
@@ -1116,6 +1060,7 @@ module AylienNewsApi
|
|
1116
1060
|
# @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
1061
|
# @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
1062
|
# @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).
|
1063
|
+
# @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).
|
1119
1064
|
# @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
1065
|
# @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
1066
|
# @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).
|
@@ -1194,7 +1139,7 @@ module AylienNewsApi
|
|
1194
1139
|
# @option opts [String] :boost_by This parameter is used for boosting the result by the specified value.
|
1195
1140
|
# @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
1141
|
# @option opts [Integer] :per_page This parameter is used for specifying number of items in each page.
|
1197
|
-
# @return [Array<(
|
1142
|
+
# @return [Array<(DeprecatedRelatedStories, Integer, Hash)>] DeprecatedRelatedStories data, response status code and response headers
|
1198
1143
|
def list_related_stories_get_with_http_info(opts = {})
|
1199
1144
|
if @api_client.config.debugging
|
1200
1145
|
@api_client.config.logger.debug 'Calling API: DefaultApi.list_related_stories_get ...'
|
@@ -1378,18 +1323,6 @@ module AylienNewsApi
|
|
1378
1323
|
query_params[:'!categories.label'] = opts[:'not_categories_label'] if !opts[:'not_categories_label'].nil?
|
1379
1324
|
query_params[:'categories.level'] = opts[:'categories_level'] if !opts[:'categories_level'].nil?
|
1380
1325
|
query_params[:'!categories.level'] = opts[:'not_categories_level'] if !opts[:'not_categories_level'].nil?
|
1381
|
-
query_params[:'entities.id'] = opts[:'entities_id'] if !opts[:'entities_id'].nil?
|
1382
|
-
query_params[:'!entities.id'] = opts[:'not_entities_id'] if !opts[:'not_entities_id'].nil?
|
1383
|
-
query_params[:'entities.links.wikipedia'] = opts[:'entities_links_wikipedia'] if !opts[:'entities_links_wikipedia'].nil?
|
1384
|
-
query_params[:'!entities.links.wikipedia'] = opts[:'not_entities_links_wikipedia'] if !opts[:'not_entities_links_wikipedia'].nil?
|
1385
|
-
query_params[:'entities.links.wikidata'] = opts[:'entities_links_wikidata'] if !opts[:'entities_links_wikidata'].nil?
|
1386
|
-
query_params[:'!entities.links.wikidata'] = opts[:'not_entities_links_wikidata'] if !opts[:'not_entities_links_wikidata'].nil?
|
1387
|
-
query_params[:'entities.types'] = opts[:'entities_types'] if !opts[:'entities_types'].nil?
|
1388
|
-
query_params[:'!entities.types'] = opts[:'not_entities_types'] if !opts[:'not_entities_types'].nil?
|
1389
|
-
query_params[:'entities.stock_tickers'] = opts[:'entities_stock_tickers'] if !opts[:'entities_stock_tickers'].nil?
|
1390
|
-
query_params[:'!entities.body.stock_tickers'] = opts[:'entities_body_stock_tickers'] if !opts[:'entities_body_stock_tickers'].nil?
|
1391
|
-
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
1392
|
-
query_params[:'!entities.surface_forms.text'] = opts[:'entities_surface_forms_text'] if !opts[:'entities_surface_forms_text'].nil?
|
1393
1326
|
query_params[:'entities.title.id'] = opts[:'entities_title_id'] if !opts[:'entities_title_id'].nil?
|
1394
1327
|
query_params[:'!entities.title.id'] = opts[:'not_entities_title_id'] if !opts[:'not_entities_title_id'].nil?
|
1395
1328
|
query_params[:'entities.title.surface_forms.text'] = opts[:'entities_title_surface_forms_text'] if !opts[:'entities_title_surface_forms_text'].nil?
|
@@ -1408,6 +1341,7 @@ module AylienNewsApi
|
|
1408
1341
|
query_params[:'!entities.title.links.wikidata'] = opts[:'not_entities_title_links_wikidata'] if !opts[:'not_entities_title_links_wikidata'].nil?
|
1409
1342
|
query_params[:'entities.body.id'] = opts[:'entities_body_id'] if !opts[:'entities_body_id'].nil?
|
1410
1343
|
query_params[:'!entities.body.id'] = opts[:'not_entities_body_id'] if !opts[:'not_entities_body_id'].nil?
|
1344
|
+
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
1411
1345
|
query_params[:'!entities.body.surface_forms.text'] = opts[:'not_entities_body_surface_forms_text'] if !opts[:'not_entities_body_surface_forms_text'].nil?
|
1412
1346
|
query_params[:'entities.body.text'] = opts[:'entities_body_text'] if !opts[:'entities_body_text'].nil?
|
1413
1347
|
query_params[:'!entities.body.text'] = opts[:'not_entities_body_text'] if !opts[:'not_entities_body_text'].nil?
|
@@ -1499,7 +1433,7 @@ module AylienNewsApi
|
|
1499
1433
|
post_body = opts[:body]
|
1500
1434
|
|
1501
1435
|
# return_type
|
1502
|
-
return_type = opts[:return_type] || '
|
1436
|
+
return_type = opts[:return_type] || 'DeprecatedRelatedStories'
|
1503
1437
|
|
1504
1438
|
# auth_names
|
1505
1439
|
auth_names = opts[:auth_names] || ['app_id', 'app_key']
|
@@ -1543,18 +1477,6 @@ module AylienNewsApi
|
|
1543
1477
|
# @option opts [Array<String>] :not_categories_label This parameter is used for excluding stories by categories label. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
1544
1478
|
# @option opts [Array<Integer>] :categories_level This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
1545
1479
|
# @option opts [Array<Integer>] :not_categories_level This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
1546
|
-
# @option opts [Array<String>] :entities_id This parameter is used to find stories based on the specified entities `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1547
|
-
# @option opts [Array<String>] :not_entities_id This parameter is used to exclude stories based on the specified entity's `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1548
|
-
# @option opts [Array<String>] :entities_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1549
|
-
# @option opts [Array<String>] :not_entities_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1550
|
-
# @option opts [Array<String>] :entities_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1551
|
-
# @option opts [Array<String>] :not_entities_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1552
|
-
# @option opts [Array<String>] :entities_types This parameter is used to find stories based on the specified entities `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1553
|
-
# @option opts [Array<String>] :not_entities_types This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1554
|
-
# @option opts [Array<String>] :entities_stock_tickers This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1555
|
-
# @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
|
-
# @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
|
-
# @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
1480
|
# @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
1481
|
# @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
1482
|
# @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).
|
@@ -1573,6 +1495,7 @@ module AylienNewsApi
|
|
1573
1495
|
# @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
1496
|
# @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
1497
|
# @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).
|
1498
|
+
# @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).
|
1576
1499
|
# @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
1500
|
# @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
1501
|
# @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).
|
@@ -1651,7 +1574,7 @@ module AylienNewsApi
|
|
1651
1574
|
# @option opts [String] :boost_by This parameter is used for boosting the result by the specified value.
|
1652
1575
|
# @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
1576
|
# @option opts [Integer] :per_page This parameter is used for specifying number of items in each page. (default to 3)
|
1654
|
-
# @return [
|
1577
|
+
# @return [DeprecatedRelatedStories]
|
1655
1578
|
def list_related_stories_post(opts = {})
|
1656
1579
|
data, _status_code, _headers = list_related_stories_post_with_http_info(opts)
|
1657
1580
|
data
|
@@ -1680,18 +1603,6 @@ module AylienNewsApi
|
|
1680
1603
|
# @option opts [Array<String>] :not_categories_label This parameter is used for excluding stories by categories label. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
1681
1604
|
# @option opts [Array<Integer>] :categories_level This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
1682
1605
|
# @option opts [Array<Integer>] :not_categories_level This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
1683
|
-
# @option opts [Array<String>] :entities_id This parameter is used to find stories based on the specified entities `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1684
|
-
# @option opts [Array<String>] :not_entities_id This parameter is used to exclude stories based on the specified entity's `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1685
|
-
# @option opts [Array<String>] :entities_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1686
|
-
# @option opts [Array<String>] :not_entities_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1687
|
-
# @option opts [Array<String>] :entities_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1688
|
-
# @option opts [Array<String>] :not_entities_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1689
|
-
# @option opts [Array<String>] :entities_types This parameter is used to find stories based on the specified entities `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1690
|
-
# @option opts [Array<String>] :not_entities_types This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1691
|
-
# @option opts [Array<String>] :entities_stock_tickers This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
1692
|
-
# @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
|
-
# @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
|
-
# @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
1606
|
# @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
1607
|
# @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
1608
|
# @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).
|
@@ -1710,6 +1621,7 @@ module AylienNewsApi
|
|
1710
1621
|
# @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
1622
|
# @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
1623
|
# @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).
|
1624
|
+
# @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).
|
1713
1625
|
# @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
1626
|
# @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
1627
|
# @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).
|
@@ -1788,7 +1700,7 @@ module AylienNewsApi
|
|
1788
1700
|
# @option opts [String] :boost_by This parameter is used for boosting the result by the specified value.
|
1789
1701
|
# @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
1702
|
# @option opts [Integer] :per_page This parameter is used for specifying number of items in each page.
|
1791
|
-
# @return [Array<(
|
1703
|
+
# @return [Array<(DeprecatedRelatedStories, Integer, Hash)>] DeprecatedRelatedStories data, response status code and response headers
|
1792
1704
|
def list_related_stories_post_with_http_info(opts = {})
|
1793
1705
|
if @api_client.config.debugging
|
1794
1706
|
@api_client.config.logger.debug 'Calling API: DefaultApi.list_related_stories_post ...'
|
@@ -1972,18 +1884,6 @@ module AylienNewsApi
|
|
1972
1884
|
query_params[:'!categories.label'] = opts[:'not_categories_label'] if !opts[:'not_categories_label'].nil?
|
1973
1885
|
query_params[:'categories.level'] = opts[:'categories_level'] if !opts[:'categories_level'].nil?
|
1974
1886
|
query_params[:'!categories.level'] = opts[:'not_categories_level'] if !opts[:'not_categories_level'].nil?
|
1975
|
-
query_params[:'entities.id'] = opts[:'entities_id'] if !opts[:'entities_id'].nil?
|
1976
|
-
query_params[:'!entities.id'] = opts[:'not_entities_id'] if !opts[:'not_entities_id'].nil?
|
1977
|
-
query_params[:'entities.links.wikipedia'] = opts[:'entities_links_wikipedia'] if !opts[:'entities_links_wikipedia'].nil?
|
1978
|
-
query_params[:'!entities.links.wikipedia'] = opts[:'not_entities_links_wikipedia'] if !opts[:'not_entities_links_wikipedia'].nil?
|
1979
|
-
query_params[:'entities.links.wikidata'] = opts[:'entities_links_wikidata'] if !opts[:'entities_links_wikidata'].nil?
|
1980
|
-
query_params[:'!entities.links.wikidata'] = opts[:'not_entities_links_wikidata'] if !opts[:'not_entities_links_wikidata'].nil?
|
1981
|
-
query_params[:'entities.types'] = opts[:'entities_types'] if !opts[:'entities_types'].nil?
|
1982
|
-
query_params[:'!entities.types'] = opts[:'not_entities_types'] if !opts[:'not_entities_types'].nil?
|
1983
|
-
query_params[:'entities.stock_tickers'] = opts[:'entities_stock_tickers'] if !opts[:'entities_stock_tickers'].nil?
|
1984
|
-
query_params[:'!entities.body.stock_tickers'] = opts[:'entities_body_stock_tickers'] if !opts[:'entities_body_stock_tickers'].nil?
|
1985
|
-
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
1986
|
-
query_params[:'!entities.surface_forms.text'] = opts[:'entities_surface_forms_text'] if !opts[:'entities_surface_forms_text'].nil?
|
1987
1887
|
query_params[:'entities.title.id'] = opts[:'entities_title_id'] if !opts[:'entities_title_id'].nil?
|
1988
1888
|
query_params[:'!entities.title.id'] = opts[:'not_entities_title_id'] if !opts[:'not_entities_title_id'].nil?
|
1989
1889
|
query_params[:'entities.title.surface_forms.text'] = opts[:'entities_title_surface_forms_text'] if !opts[:'entities_title_surface_forms_text'].nil?
|
@@ -2002,6 +1902,7 @@ module AylienNewsApi
|
|
2002
1902
|
query_params[:'!entities.title.links.wikidata'] = opts[:'not_entities_title_links_wikidata'] if !opts[:'not_entities_title_links_wikidata'].nil?
|
2003
1903
|
query_params[:'entities.body.id'] = opts[:'entities_body_id'] if !opts[:'entities_body_id'].nil?
|
2004
1904
|
query_params[:'!entities.body.id'] = opts[:'not_entities_body_id'] if !opts[:'not_entities_body_id'].nil?
|
1905
|
+
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
2005
1906
|
query_params[:'!entities.body.surface_forms.text'] = opts[:'not_entities_body_surface_forms_text'] if !opts[:'not_entities_body_surface_forms_text'].nil?
|
2006
1907
|
query_params[:'entities.body.text'] = opts[:'entities_body_text'] if !opts[:'entities_body_text'].nil?
|
2007
1908
|
query_params[:'!entities.body.text'] = opts[:'not_entities_body_text'] if !opts[:'not_entities_body_text'].nil?
|
@@ -2093,7 +1994,7 @@ module AylienNewsApi
|
|
2093
1994
|
post_body = opts[:body]
|
2094
1995
|
|
2095
1996
|
# return_type
|
2096
|
-
return_type = opts[:return_type] || '
|
1997
|
+
return_type = opts[:return_type] || 'DeprecatedRelatedStories'
|
2097
1998
|
|
2098
1999
|
# auth_names
|
2099
2000
|
auth_names = opts[:auth_names] || ['app_id', 'app_key']
|
@@ -2139,18 +2040,6 @@ module AylienNewsApi
|
|
2139
2040
|
# @option opts [Array<String>] :not_categories_label This parameter is used for excluding stories by categories label. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
2140
2041
|
# @option opts [Array<Integer>] :categories_level This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
2141
2042
|
# @option opts [Array<Integer>] :not_categories_level This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
2142
|
-
# @option opts [Array<String>] :entities_id This parameter is used to find stories based on the specified entities `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2143
|
-
# @option opts [Array<String>] :not_entities_id This parameter is used to exclude stories based on the specified entity's `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2144
|
-
# @option opts [Array<String>] :entities_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2145
|
-
# @option opts [Array<String>] :not_entities_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2146
|
-
# @option opts [Array<String>] :entities_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2147
|
-
# @option opts [Array<String>] :not_entities_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2148
|
-
# @option opts [Array<String>] :entities_types This parameter is used to find stories based on the specified entities `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2149
|
-
# @option opts [Array<String>] :not_entities_types This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2150
|
-
# @option opts [Array<String>] :entities_stock_tickers This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2151
|
-
# @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
|
-
# @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
|
-
# @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
2043
|
# @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
2044
|
# @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
2045
|
# @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).
|
@@ -2169,6 +2058,7 @@ module AylienNewsApi
|
|
2169
2058
|
# @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
2059
|
# @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
2060
|
# @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).
|
2061
|
+
# @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).
|
2172
2062
|
# @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
2063
|
# @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
2064
|
# @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).
|
@@ -2244,7 +2134,7 @@ module AylienNewsApi
|
|
2244
2134
|
# @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
2135
|
# @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
2136
|
# @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 [
|
2137
|
+
# @return [DeprecatedStories]
|
2248
2138
|
def list_stories(opts = {})
|
2249
2139
|
data, _status_code, _headers = list_stories_with_http_info(opts)
|
2250
2140
|
data
|
@@ -2275,18 +2165,6 @@ module AylienNewsApi
|
|
2275
2165
|
# @option opts [Array<String>] :not_categories_label This parameter is used for excluding stories by categories label. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
2276
2166
|
# @option opts [Array<Integer>] :categories_level This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
2277
2167
|
# @option opts [Array<Integer>] :not_categories_level This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
2278
|
-
# @option opts [Array<String>] :entities_id This parameter is used to find stories based on the specified entities `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2279
|
-
# @option opts [Array<String>] :not_entities_id This parameter is used to exclude stories based on the specified entity's `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2280
|
-
# @option opts [Array<String>] :entities_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2281
|
-
# @option opts [Array<String>] :not_entities_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2282
|
-
# @option opts [Array<String>] :entities_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2283
|
-
# @option opts [Array<String>] :not_entities_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2284
|
-
# @option opts [Array<String>] :entities_types This parameter is used to find stories based on the specified entities `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2285
|
-
# @option opts [Array<String>] :not_entities_types This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2286
|
-
# @option opts [Array<String>] :entities_stock_tickers This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2287
|
-
# @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
|
-
# @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
|
-
# @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
2168
|
# @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
2169
|
# @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
2170
|
# @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).
|
@@ -2305,6 +2183,7 @@ module AylienNewsApi
|
|
2305
2183
|
# @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
2184
|
# @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
2185
|
# @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).
|
2186
|
+
# @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).
|
2308
2187
|
# @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
2188
|
# @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
2189
|
# @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).
|
@@ -2380,7 +2259,7 @@ module AylienNewsApi
|
|
2380
2259
|
# @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
2260
|
# @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
2261
|
# @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<(
|
2262
|
+
# @return [Array<(DeprecatedStories, Integer, Hash)>] DeprecatedStories data, response status code and response headers
|
2384
2263
|
def list_stories_with_http_info(opts = {})
|
2385
2264
|
if @api_client.config.debugging
|
2386
2265
|
@api_client.config.logger.debug 'Calling API: DefaultApi.list_stories ...'
|
@@ -2564,18 +2443,6 @@ module AylienNewsApi
|
|
2564
2443
|
query_params[:'!categories.label'] = opts[:'not_categories_label'] if !opts[:'not_categories_label'].nil?
|
2565
2444
|
query_params[:'categories.level'] = opts[:'categories_level'] if !opts[:'categories_level'].nil?
|
2566
2445
|
query_params[:'!categories.level'] = opts[:'not_categories_level'] if !opts[:'not_categories_level'].nil?
|
2567
|
-
query_params[:'entities.id'] = opts[:'entities_id'] if !opts[:'entities_id'].nil?
|
2568
|
-
query_params[:'!entities.id'] = opts[:'not_entities_id'] if !opts[:'not_entities_id'].nil?
|
2569
|
-
query_params[:'entities.links.wikipedia'] = opts[:'entities_links_wikipedia'] if !opts[:'entities_links_wikipedia'].nil?
|
2570
|
-
query_params[:'!entities.links.wikipedia'] = opts[:'not_entities_links_wikipedia'] if !opts[:'not_entities_links_wikipedia'].nil?
|
2571
|
-
query_params[:'entities.links.wikidata'] = opts[:'entities_links_wikidata'] if !opts[:'entities_links_wikidata'].nil?
|
2572
|
-
query_params[:'!entities.links.wikidata'] = opts[:'not_entities_links_wikidata'] if !opts[:'not_entities_links_wikidata'].nil?
|
2573
|
-
query_params[:'entities.types'] = opts[:'entities_types'] if !opts[:'entities_types'].nil?
|
2574
|
-
query_params[:'!entities.types'] = opts[:'not_entities_types'] if !opts[:'not_entities_types'].nil?
|
2575
|
-
query_params[:'entities.stock_tickers'] = opts[:'entities_stock_tickers'] if !opts[:'entities_stock_tickers'].nil?
|
2576
|
-
query_params[:'!entities.body.stock_tickers'] = opts[:'entities_body_stock_tickers'] if !opts[:'entities_body_stock_tickers'].nil?
|
2577
|
-
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
2578
|
-
query_params[:'!entities.surface_forms.text'] = opts[:'entities_surface_forms_text'] if !opts[:'entities_surface_forms_text'].nil?
|
2579
2446
|
query_params[:'entities.title.id'] = opts[:'entities_title_id'] if !opts[:'entities_title_id'].nil?
|
2580
2447
|
query_params[:'!entities.title.id'] = opts[:'not_entities_title_id'] if !opts[:'not_entities_title_id'].nil?
|
2581
2448
|
query_params[:'entities.title.surface_forms.text'] = opts[:'entities_title_surface_forms_text'] if !opts[:'entities_title_surface_forms_text'].nil?
|
@@ -2594,6 +2461,7 @@ module AylienNewsApi
|
|
2594
2461
|
query_params[:'!entities.title.links.wikidata'] = opts[:'not_entities_title_links_wikidata'] if !opts[:'not_entities_title_links_wikidata'].nil?
|
2595
2462
|
query_params[:'entities.body.id'] = opts[:'entities_body_id'] if !opts[:'entities_body_id'].nil?
|
2596
2463
|
query_params[:'!entities.body.id'] = opts[:'not_entities_body_id'] if !opts[:'not_entities_body_id'].nil?
|
2464
|
+
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
2597
2465
|
query_params[:'!entities.body.surface_forms.text'] = opts[:'not_entities_body_surface_forms_text'] if !opts[:'not_entities_body_surface_forms_text'].nil?
|
2598
2466
|
query_params[:'entities.body.text'] = opts[:'entities_body_text'] if !opts[:'entities_body_text'].nil?
|
2599
2467
|
query_params[:'!entities.body.text'] = opts[:'not_entities_body_text'] if !opts[:'not_entities_body_text'].nil?
|
@@ -2682,7 +2550,7 @@ module AylienNewsApi
|
|
2682
2550
|
post_body = opts[:body]
|
2683
2551
|
|
2684
2552
|
# return_type
|
2685
|
-
return_type = opts[:return_type] || '
|
2553
|
+
return_type = opts[:return_type] || 'DeprecatedStories'
|
2686
2554
|
|
2687
2555
|
# auth_names
|
2688
2556
|
auth_names = opts[:auth_names] || ['app_id', 'app_key']
|
@@ -2724,18 +2592,6 @@ module AylienNewsApi
|
|
2724
2592
|
# @option opts [Array<String>] :not_categories_label This parameter is used for excluding stories by categories label. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
2725
2593
|
# @option opts [Array<Integer>] :categories_level This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
2726
2594
|
# @option opts [Array<Integer>] :not_categories_level This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
2727
|
-
# @option opts [Array<String>] :entities_id This parameter is used to find stories based on the specified entities `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2728
|
-
# @option opts [Array<String>] :not_entities_id This parameter is used to exclude stories based on the specified entity's `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2729
|
-
# @option opts [Array<String>] :entities_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2730
|
-
# @option opts [Array<String>] :not_entities_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2731
|
-
# @option opts [Array<String>] :entities_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2732
|
-
# @option opts [Array<String>] :not_entities_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2733
|
-
# @option opts [Array<String>] :entities_types This parameter is used to find stories based on the specified entities `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2734
|
-
# @option opts [Array<String>] :not_entities_types This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2735
|
-
# @option opts [Array<String>] :entities_stock_tickers This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2736
|
-
# @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
|
-
# @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
|
-
# @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
2595
|
# @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
2596
|
# @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
2597
|
# @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).
|
@@ -2754,6 +2610,7 @@ module AylienNewsApi
|
|
2754
2610
|
# @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
2611
|
# @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
2612
|
# @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).
|
2613
|
+
# @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).
|
2757
2614
|
# @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
2615
|
# @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
2616
|
# @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).
|
@@ -2854,18 +2711,6 @@ module AylienNewsApi
|
|
2854
2711
|
# @option opts [Array<String>] :not_categories_label This parameter is used for excluding stories by categories label. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
2855
2712
|
# @option opts [Array<Integer>] :categories_level This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
2856
2713
|
# @option opts [Array<Integer>] :not_categories_level This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
2857
|
-
# @option opts [Array<String>] :entities_id This parameter is used to find stories based on the specified entities `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2858
|
-
# @option opts [Array<String>] :not_entities_id This parameter is used to exclude stories based on the specified entity's `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2859
|
-
# @option opts [Array<String>] :entities_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2860
|
-
# @option opts [Array<String>] :not_entities_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2861
|
-
# @option opts [Array<String>] :entities_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2862
|
-
# @option opts [Array<String>] :not_entities_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2863
|
-
# @option opts [Array<String>] :entities_types This parameter is used to find stories based on the specified entities `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2864
|
-
# @option opts [Array<String>] :not_entities_types This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2865
|
-
# @option opts [Array<String>] :entities_stock_tickers This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
2866
|
-
# @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
|
-
# @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
|
-
# @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
2714
|
# @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
2715
|
# @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
2716
|
# @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).
|
@@ -2884,6 +2729,7 @@ module AylienNewsApi
|
|
2884
2729
|
# @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
2730
|
# @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
2731
|
# @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).
|
2732
|
+
# @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).
|
2887
2733
|
# @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
2734
|
# @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
2735
|
# @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).
|
@@ -3117,18 +2963,6 @@ module AylienNewsApi
|
|
3117
2963
|
query_params[:'!categories.label'] = opts[:'not_categories_label'] if !opts[:'not_categories_label'].nil?
|
3118
2964
|
query_params[:'categories.level'] = opts[:'categories_level'] if !opts[:'categories_level'].nil?
|
3119
2965
|
query_params[:'!categories.level'] = opts[:'not_categories_level'] if !opts[:'not_categories_level'].nil?
|
3120
|
-
query_params[:'entities.id'] = opts[:'entities_id'] if !opts[:'entities_id'].nil?
|
3121
|
-
query_params[:'!entities.id'] = opts[:'not_entities_id'] if !opts[:'not_entities_id'].nil?
|
3122
|
-
query_params[:'entities.links.wikipedia'] = opts[:'entities_links_wikipedia'] if !opts[:'entities_links_wikipedia'].nil?
|
3123
|
-
query_params[:'!entities.links.wikipedia'] = opts[:'not_entities_links_wikipedia'] if !opts[:'not_entities_links_wikipedia'].nil?
|
3124
|
-
query_params[:'entities.links.wikidata'] = opts[:'entities_links_wikidata'] if !opts[:'entities_links_wikidata'].nil?
|
3125
|
-
query_params[:'!entities.links.wikidata'] = opts[:'not_entities_links_wikidata'] if !opts[:'not_entities_links_wikidata'].nil?
|
3126
|
-
query_params[:'entities.types'] = opts[:'entities_types'] if !opts[:'entities_types'].nil?
|
3127
|
-
query_params[:'!entities.types'] = opts[:'not_entities_types'] if !opts[:'not_entities_types'].nil?
|
3128
|
-
query_params[:'entities.stock_tickers'] = opts[:'entities_stock_tickers'] if !opts[:'entities_stock_tickers'].nil?
|
3129
|
-
query_params[:'!entities.body.stock_tickers'] = opts[:'entities_body_stock_tickers'] if !opts[:'entities_body_stock_tickers'].nil?
|
3130
|
-
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
3131
|
-
query_params[:'!entities.surface_forms.text'] = opts[:'entities_surface_forms_text'] if !opts[:'entities_surface_forms_text'].nil?
|
3132
2966
|
query_params[:'entities.title.id'] = opts[:'entities_title_id'] if !opts[:'entities_title_id'].nil?
|
3133
2967
|
query_params[:'!entities.title.id'] = opts[:'not_entities_title_id'] if !opts[:'not_entities_title_id'].nil?
|
3134
2968
|
query_params[:'entities.title.surface_forms.text'] = opts[:'entities_title_surface_forms_text'] if !opts[:'entities_title_surface_forms_text'].nil?
|
@@ -3147,6 +2981,7 @@ module AylienNewsApi
|
|
3147
2981
|
query_params[:'!entities.title.links.wikidata'] = opts[:'not_entities_title_links_wikidata'] if !opts[:'not_entities_title_links_wikidata'].nil?
|
3148
2982
|
query_params[:'entities.body.id'] = opts[:'entities_body_id'] if !opts[:'entities_body_id'].nil?
|
3149
2983
|
query_params[:'!entities.body.id'] = opts[:'not_entities_body_id'] if !opts[:'not_entities_body_id'].nil?
|
2984
|
+
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
3150
2985
|
query_params[:'!entities.body.surface_forms.text'] = opts[:'not_entities_body_surface_forms_text'] if !opts[:'not_entities_body_surface_forms_text'].nil?
|
3151
2986
|
query_params[:'entities.body.text'] = opts[:'entities_body_text'] if !opts[:'entities_body_text'].nil?
|
3152
2987
|
query_params[:'!entities.body.text'] = opts[:'not_entities_body_text'] if !opts[:'not_entities_body_text'].nil?
|
@@ -3280,18 +3115,6 @@ module AylienNewsApi
|
|
3280
3115
|
# @option opts [Array<String>] :not_categories_label This parameter is used for excluding stories by categories label. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
3281
3116
|
# @option opts [Array<Integer>] :categories_level This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
3282
3117
|
# @option opts [Array<Integer>] :not_categories_level This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
3283
|
-
# @option opts [Array<String>] :entities_id This parameter is used to find stories based on the specified entities `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3284
|
-
# @option opts [Array<String>] :not_entities_id This parameter is used to exclude stories based on the specified entity's `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3285
|
-
# @option opts [Array<String>] :entities_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3286
|
-
# @option opts [Array<String>] :not_entities_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3287
|
-
# @option opts [Array<String>] :entities_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3288
|
-
# @option opts [Array<String>] :not_entities_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3289
|
-
# @option opts [Array<String>] :entities_types This parameter is used to find stories based on the specified entities `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3290
|
-
# @option opts [Array<String>] :not_entities_types This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3291
|
-
# @option opts [Array<String>] :entities_stock_tickers This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3292
|
-
# @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
|
-
# @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
|
-
# @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
3118
|
# @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
3119
|
# @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
3120
|
# @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).
|
@@ -3310,6 +3133,7 @@ module AylienNewsApi
|
|
3310
3133
|
# @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
3134
|
# @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
3135
|
# @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).
|
3136
|
+
# @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).
|
3313
3137
|
# @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
3138
|
# @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
3139
|
# @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).
|
@@ -3412,18 +3236,6 @@ module AylienNewsApi
|
|
3412
3236
|
# @option opts [Array<String>] :not_categories_label This parameter is used for excluding stories by categories label. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
3413
3237
|
# @option opts [Array<Integer>] :categories_level This parameter is used for finding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
3414
3238
|
# @option opts [Array<Integer>] :not_categories_level This parameter is used for excluding stories by categories level. You can read more about working with categories [here](https://newsapi.aylien.com/docs/working-with-categories).
|
3415
|
-
# @option opts [Array<String>] :entities_id This parameter is used to find stories based on the specified entities `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3416
|
-
# @option opts [Array<String>] :not_entities_id This parameter is used to exclude stories based on the specified entity's `id`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3417
|
-
# @option opts [Array<String>] :entities_links_wikipedia This parameter is used to find stories based on the specified entities wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3418
|
-
# @option opts [Array<String>] :not_entities_links_wikipedia This parameter is used to exclude stories based on the specified entity's Wikipedia URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3419
|
-
# @option opts [Array<String>] :entities_links_wikidata This parameter is used to find stories based on the specified entities wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3420
|
-
# @option opts [Array<String>] :not_entities_links_wikidata This parameter is used to exclude stories based on the specified entity's Wikidata URL. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3421
|
-
# @option opts [Array<String>] :entities_types This parameter is used to find stories based on the specified entities `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3422
|
-
# @option opts [Array<String>] :not_entities_types This parameter is used to exclude stories based on the specified entity's `types`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3423
|
-
# @option opts [Array<String>] :entities_stock_tickers This parameter is used to find stories based on the specified entities `stock_tickers`. You can read more about working with entities [here](https://newsapi.aylien.com/docs/working-with-entities).
|
3424
|
-
# @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
|
-
# @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
|
-
# @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
3239
|
# @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
3240
|
# @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
3241
|
# @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).
|
@@ -3442,6 +3254,7 @@ module AylienNewsApi
|
|
3442
3254
|
# @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
3255
|
# @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
3256
|
# @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).
|
3257
|
+
# @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).
|
3445
3258
|
# @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
3259
|
# @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
3260
|
# @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).
|
@@ -3686,18 +3499,6 @@ module AylienNewsApi
|
|
3686
3499
|
query_params[:'!categories.label'] = opts[:'not_categories_label'] if !opts[:'not_categories_label'].nil?
|
3687
3500
|
query_params[:'categories.level'] = opts[:'categories_level'] if !opts[:'categories_level'].nil?
|
3688
3501
|
query_params[:'!categories.level'] = opts[:'not_categories_level'] if !opts[:'not_categories_level'].nil?
|
3689
|
-
query_params[:'entities.id'] = opts[:'entities_id'] if !opts[:'entities_id'].nil?
|
3690
|
-
query_params[:'!entities.id'] = opts[:'not_entities_id'] if !opts[:'not_entities_id'].nil?
|
3691
|
-
query_params[:'entities.links.wikipedia'] = opts[:'entities_links_wikipedia'] if !opts[:'entities_links_wikipedia'].nil?
|
3692
|
-
query_params[:'!entities.links.wikipedia'] = opts[:'not_entities_links_wikipedia'] if !opts[:'not_entities_links_wikipedia'].nil?
|
3693
|
-
query_params[:'entities.links.wikidata'] = opts[:'entities_links_wikidata'] if !opts[:'entities_links_wikidata'].nil?
|
3694
|
-
query_params[:'!entities.links.wikidata'] = opts[:'not_entities_links_wikidata'] if !opts[:'not_entities_links_wikidata'].nil?
|
3695
|
-
query_params[:'entities.types'] = opts[:'entities_types'] if !opts[:'entities_types'].nil?
|
3696
|
-
query_params[:'!entities.types'] = opts[:'not_entities_types'] if !opts[:'not_entities_types'].nil?
|
3697
|
-
query_params[:'entities.stock_tickers'] = opts[:'entities_stock_tickers'] if !opts[:'entities_stock_tickers'].nil?
|
3698
|
-
query_params[:'!entities.body.stock_tickers'] = opts[:'entities_body_stock_tickers'] if !opts[:'entities_body_stock_tickers'].nil?
|
3699
|
-
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
3700
|
-
query_params[:'!entities.surface_forms.text'] = opts[:'entities_surface_forms_text'] if !opts[:'entities_surface_forms_text'].nil?
|
3701
3502
|
query_params[:'entities.title.id'] = opts[:'entities_title_id'] if !opts[:'entities_title_id'].nil?
|
3702
3503
|
query_params[:'!entities.title.id'] = opts[:'not_entities_title_id'] if !opts[:'not_entities_title_id'].nil?
|
3703
3504
|
query_params[:'entities.title.surface_forms.text'] = opts[:'entities_title_surface_forms_text'] if !opts[:'entities_title_surface_forms_text'].nil?
|
@@ -3716,6 +3517,7 @@ module AylienNewsApi
|
|
3716
3517
|
query_params[:'!entities.title.links.wikidata'] = opts[:'not_entities_title_links_wikidata'] if !opts[:'not_entities_title_links_wikidata'].nil?
|
3717
3518
|
query_params[:'entities.body.id'] = opts[:'entities_body_id'] if !opts[:'entities_body_id'].nil?
|
3718
3519
|
query_params[:'!entities.body.id'] = opts[:'not_entities_body_id'] if !opts[:'not_entities_body_id'].nil?
|
3520
|
+
query_params[:'entities.body.surface_forms.text'] = opts[:'entities_body_surface_forms_text'] if !opts[:'entities_body_surface_forms_text'].nil?
|
3719
3521
|
query_params[:'!entities.body.surface_forms.text'] = opts[:'not_entities_body_surface_forms_text'] if !opts[:'not_entities_body_surface_forms_text'].nil?
|
3720
3522
|
query_params[:'entities.body.text'] = opts[:'entities_body_text'] if !opts[:'entities_body_text'].nil?
|
3721
3523
|
query_params[:'!entities.body.text'] = opts[:'not_entities_body_text'] if !opts[:'not_entities_body_text'].nil?
|