aylien_news_api 4.7.4 → 5.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (145) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +34 -100
  3. data/aylien_news_api.gemspec +1 -1
  4. data/docs/Category.md +3 -3
  5. data/docs/CategoryLinks.md +0 -2
  6. data/docs/DefaultApi.md +152 -356
  7. data/docs/DeprecatedStory.md +2 -6
  8. data/docs/Error.md +1 -1
  9. data/docs/Parameter.md +12 -12
  10. data/docs/Story.md +2 -6
  11. data/lib/aylien_news_api/api/default_api.rb +236 -542
  12. data/lib/aylien_news_api/api_client.rb +1 -1
  13. data/lib/aylien_news_api/api_error.rb +1 -1
  14. data/lib/aylien_news_api/configuration.rb +1 -1
  15. data/lib/aylien_news_api/models/aggregated_sentiment.rb +1 -1
  16. data/lib/aylien_news_api/models/author.rb +1 -1
  17. data/lib/aylien_news_api/models/autocomplete.rb +1 -1
  18. data/lib/aylien_news_api/models/autocompletes.rb +1 -1
  19. data/lib/aylien_news_api/models/category.rb +14 -40
  20. data/lib/aylien_news_api/models/category_links.rb +2 -16
  21. data/lib/aylien_news_api/models/category_taxonomy.rb +1 -2
  22. data/lib/aylien_news_api/models/cluster.rb +1 -1
  23. data/lib/aylien_news_api/models/clusters.rb +1 -1
  24. data/lib/aylien_news_api/models/deprecated_entities.rb +1 -1
  25. data/lib/aylien_news_api/models/deprecated_entity.rb +1 -1
  26. data/lib/aylien_news_api/models/deprecated_entity_surface_form.rb +1 -1
  27. data/lib/aylien_news_api/models/deprecated_related_stories.rb +1 -1
  28. data/lib/aylien_news_api/models/deprecated_stories.rb +1 -1
  29. data/lib/aylien_news_api/models/deprecated_story.rb +6 -28
  30. data/lib/aylien_news_api/models/entity.rb +1 -1
  31. data/lib/aylien_news_api/models/entity_in_text.rb +1 -1
  32. data/lib/aylien_news_api/models/entity_links.rb +1 -1
  33. data/lib/aylien_news_api/models/entity_mention.rb +1 -1
  34. data/lib/aylien_news_api/models/entity_mention_index.rb +1 -1
  35. data/lib/aylien_news_api/models/entity_sentiment.rb +1 -1
  36. data/lib/aylien_news_api/models/entity_surface_form.rb +1 -1
  37. data/lib/aylien_news_api/models/error.rb +2 -2
  38. data/lib/aylien_news_api/models/error_links.rb +1 -1
  39. data/lib/aylien_news_api/models/errors.rb +1 -1
  40. data/lib/aylien_news_api/models/histogram_interval.rb +1 -1
  41. data/lib/aylien_news_api/models/histograms.rb +1 -1
  42. data/lib/aylien_news_api/models/location.rb +1 -1
  43. data/lib/aylien_news_api/models/logicals.rb +1 -1
  44. data/lib/aylien_news_api/models/media.rb +1 -1
  45. data/lib/aylien_news_api/models/media_format.rb +1 -1
  46. data/lib/aylien_news_api/models/media_type.rb +1 -1
  47. data/lib/aylien_news_api/models/nested_entity.rb +1 -1
  48. data/lib/aylien_news_api/models/parameter.rb +38 -38
  49. data/lib/aylien_news_api/models/query.rb +1 -1
  50. data/lib/aylien_news_api/models/rank.rb +1 -1
  51. data/lib/aylien_news_api/models/rankings.rb +1 -1
  52. data/lib/aylien_news_api/models/related_stories.rb +1 -1
  53. data/lib/aylien_news_api/models/representative_story.rb +1 -1
  54. data/lib/aylien_news_api/models/scope.rb +1 -1
  55. data/lib/aylien_news_api/models/scope_level.rb +1 -1
  56. data/lib/aylien_news_api/models/sentiment.rb +1 -1
  57. data/lib/aylien_news_api/models/sentiment_polarity.rb +1 -1
  58. data/lib/aylien_news_api/models/sentiments.rb +1 -1
  59. data/lib/aylien_news_api/models/share_count.rb +1 -1
  60. data/lib/aylien_news_api/models/share_counts.rb +1 -1
  61. data/lib/aylien_news_api/models/source.rb +1 -1
  62. data/lib/aylien_news_api/models/stories.rb +1 -1
  63. data/lib/aylien_news_api/models/story.rb +6 -28
  64. data/lib/aylien_news_api/models/story_cluster.rb +1 -1
  65. data/lib/aylien_news_api/models/story_links.rb +1 -1
  66. data/lib/aylien_news_api/models/story_translation.rb +1 -1
  67. data/lib/aylien_news_api/models/story_translations.rb +1 -1
  68. data/lib/aylien_news_api/models/summary.rb +1 -1
  69. data/lib/aylien_news_api/models/time_series.rb +1 -1
  70. data/lib/aylien_news_api/models/time_series_list.rb +1 -1
  71. data/lib/aylien_news_api/models/trend.rb +1 -1
  72. data/lib/aylien_news_api/models/trends.rb +1 -1
  73. data/lib/aylien_news_api/models/warning.rb +1 -1
  74. data/lib/aylien_news_api/version.rb +2 -2
  75. data/lib/aylien_news_api.rb +4 -7
  76. data/spec/api/default_api_spec.rb +77 -179
  77. data/spec/api_client_spec.rb +1 -1
  78. data/spec/configuration_spec.rb +1 -1
  79. data/spec/models/aggregated_sentiment_spec.rb +1 -1
  80. data/spec/models/author_spec.rb +1 -1
  81. data/spec/models/autocomplete_spec.rb +1 -1
  82. data/spec/models/autocompletes_spec.rb +1 -1
  83. data/spec/models/category_links_spec.rb +1 -7
  84. data/spec/models/category_spec.rb +4 -4
  85. data/spec/models/category_taxonomy_spec.rb +1 -1
  86. data/spec/models/cluster_spec.rb +1 -1
  87. data/spec/models/clusters_spec.rb +1 -1
  88. data/spec/models/deprecated_entities_spec.rb +1 -1
  89. data/spec/models/deprecated_entity_spec.rb +1 -1
  90. data/spec/models/deprecated_entity_surface_form_spec.rb +1 -1
  91. data/spec/models/deprecated_related_stories_spec.rb +1 -1
  92. data/spec/models/deprecated_stories_spec.rb +1 -1
  93. data/spec/models/deprecated_story_spec.rb +1 -13
  94. data/spec/models/entity_in_text_spec.rb +1 -1
  95. data/spec/models/entity_links_spec.rb +1 -1
  96. data/spec/models/entity_mention_index_spec.rb +1 -1
  97. data/spec/models/entity_mention_spec.rb +1 -1
  98. data/spec/models/entity_sentiment_spec.rb +1 -1
  99. data/spec/models/entity_spec.rb +1 -1
  100. data/spec/models/entity_surface_form_spec.rb +1 -1
  101. data/spec/models/error_links_spec.rb +1 -1
  102. data/spec/models/error_spec.rb +1 -1
  103. data/spec/models/errors_spec.rb +1 -1
  104. data/spec/models/histogram_interval_spec.rb +1 -1
  105. data/spec/models/histograms_spec.rb +1 -1
  106. data/spec/models/location_spec.rb +1 -1
  107. data/spec/models/logicals_spec.rb +1 -1
  108. data/spec/models/media_format_spec.rb +1 -1
  109. data/spec/models/media_spec.rb +1 -1
  110. data/spec/models/media_type_spec.rb +1 -1
  111. data/spec/models/nested_entity_spec.rb +1 -1
  112. data/spec/models/parameter_spec.rb +7 -7
  113. data/spec/models/query_spec.rb +1 -1
  114. data/spec/models/rank_spec.rb +1 -1
  115. data/spec/models/rankings_spec.rb +1 -1
  116. data/spec/models/related_stories_spec.rb +1 -1
  117. data/spec/models/representative_story_spec.rb +1 -1
  118. data/spec/models/scope_level_spec.rb +1 -1
  119. data/spec/models/scope_spec.rb +1 -1
  120. data/spec/models/sentiment_polarity_spec.rb +1 -1
  121. data/spec/models/sentiment_spec.rb +1 -1
  122. data/spec/models/sentiments_spec.rb +1 -1
  123. data/spec/models/share_count_spec.rb +1 -1
  124. data/spec/models/share_counts_spec.rb +1 -1
  125. data/spec/models/source_spec.rb +1 -1
  126. data/spec/models/stories_spec.rb +1 -1
  127. data/spec/models/story_cluster_spec.rb +1 -1
  128. data/spec/models/story_links_spec.rb +1 -1
  129. data/spec/models/story_spec.rb +1 -13
  130. data/spec/models/story_translation_spec.rb +1 -1
  131. data/spec/models/story_translations_spec.rb +1 -1
  132. data/spec/models/summary_spec.rb +1 -1
  133. data/spec/models/time_series_list_spec.rb +1 -1
  134. data/spec/models/time_series_spec.rb +1 -1
  135. data/spec/models/trend_spec.rb +1 -1
  136. data/spec/models/trends_spec.rb +1 -1
  137. data/spec/models/warning_spec.rb +1 -1
  138. data/spec/spec_helper.rb +1 -1
  139. metadata +2 -10
  140. data/docs/DunsNumber.md +0 -17
  141. data/docs/ExternalIds.md +0 -17
  142. data/lib/aylien_news_api/models/duns_number.rb +0 -206
  143. data/lib/aylien_news_api/models/external_ids.rb +0 -210
  144. data/spec/models/duns_number_spec.rb +0 -41
  145. data/spec/models/external_ids_spec.rb +0 -41
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a6ecea5dd7dabb878d272622553d60bdadb008e915fabbc00b81175ba96721d
4
- data.tar.gz: 60b0ae38e3396a1af2c0da577c8350e8199ae12036a2af66c82f06fb024eaae3
3
+ metadata.gz: b19f4ae2c8b345c9b791e50815ceb528466257248836ff5c90a288e259df5c3c
4
+ data.tar.gz: eb8aa79891648467d88b7505dd4a9cec2ef570dda2f1dd8efe9238665c00399b
5
5
  SHA512:
6
- metadata.gz: 99ddca6ae7aedb8852a382555e04772cab71df3ba58aa22b9c8f7fd4c5f0a48f1e8cb4db03579408b8085e06fde6a664dc29a3f4e37d1ca3c847e34be20b3e34
7
- data.tar.gz: f9d1896054628711387166955045ab21237524fdee1d135902971fe25894072c35075ffb008160f7785fdf0d97cb191fb8aa445d0ff96b2551d1d6f8e8ff0c35
6
+ metadata.gz: 91e6217396810c61419a085d74b2e9a86174873c7b68b83cc61b8c80af347327ff8ab41388627ad3695463b0124b8b679bbbe97b6cfb3f7983f3b35c6356b82c
7
+ data.tar.gz: af0651c8e6d4ae1839a070707c175f3b757cf2de6f54972166bbf01865969fff4afb427442eecf96a9cafbdf15f245b1c18cb4e620a57bbc723fafb78a5bb216
data/README.md CHANGED
@@ -1,46 +1,22 @@
1
- # aylien_news_api
1
+ # AYLIEN News API - Ruby SDK
2
2
 
3
- AylienNewsApi - the Ruby gem for the AYLIEN News API
3
+ 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.
4
4
 
5
- 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
+ Sign up at [https://newsapi.aylien.com/](https://newsapi.aylien.com/).
6
6
 
7
-
8
- This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
9
-
10
- - API version: 4.7.4
11
- - Package version: 4.7.4
12
- - Build package: org.openapitools.codegen.languages.RubyClientCodegen
13
- For more information, please visit [https://newsapi.aylien.com/](https://newsapi.aylien.com/)
7
+ For more documentation see [https://newsapi.aylien.com/docs/](https://newsapi.aylien.com/docs/).
14
8
 
15
9
  ## Installation
16
10
 
17
- ### Build a gem
18
-
19
- To build the Ruby code into a gem:
20
-
21
- ```shell
22
- gem build aylien_news_api.gemspec
23
- ```
24
-
25
- Then either install the gem locally:
11
+ Add this to the Gemfile:
26
12
 
27
- ```shell
28
- gem install ./aylien_news_api-4.7.4.gem
29
- ```
30
-
31
- (for development, run `gem install --dev ./aylien_news_api-4.7.4.gem` to install the development dependencies)
32
-
33
- or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
34
-
35
- Finally add this to the Gemfile:
36
-
37
- gem 'aylien_news_api', '~> 4.7.4'
13
+ gem 'aylien_news_api', '~> 3.0.0'
38
14
 
39
15
  ### Install from Git
40
16
 
41
- If the Ruby gem is hosted at a git repository: https://github.com/GIT_USER_ID/GIT_REPO_ID, then add the following in the Gemfile:
17
+ If the Ruby gem is hosted at a git repository: https://github.com/aylien/aylien_newsapi_ruby, then add the following in the Gemfile:
42
18
 
43
- gem 'aylien_news_api', :git => 'https://github.com/GIT_USER_ID/GIT_REPO_ID.git'
19
+ gem 'aylien_news_api', :git => 'https://github.com/aylien/aylien_newsapi_ruby.git'
44
20
 
45
21
  ### Include the Ruby code directly
46
22
 
@@ -53,44 +29,39 @@ ruby -Ilib script.rb
53
29
  ## Getting Started
54
30
 
55
31
  Please follow the [installation](#installation) procedure and then run the following code:
56
-
57
32
  ```ruby
58
33
  # Load the gem
59
34
  require 'aylien_news_api'
60
35
 
61
36
  # Setup authorization
62
37
  AylienNewsApi.configure do |config|
63
- # Configure API key authorization: app_id
64
- config.api_key['X-AYLIEN-NewsAPI-Application-ID'] = 'YOUR API KEY'
65
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
66
- #config.api_key_prefix['X-AYLIEN-NewsAPI-Application-ID'] = 'Bearer'
67
-
68
- # Configure API key authorization: app_key
69
- config.api_key['X-AYLIEN-NewsAPI-Application-Key'] = 'YOUR API KEY'
70
- # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
71
- #config.api_key_prefix['X-AYLIEN-NewsAPI-Application-Key'] = 'Bearer'
38
+ config.api_key['X-AYLIEN-NewsAPI-Application-ID'] = ENV['NEWSAPI_APP_ID']
39
+ config.api_key['X-AYLIEN-NewsAPI-Application-Key'] = ENV['NEWSAPI_APP_KEY']
72
40
  end
73
41
 
74
42
  api_instance = AylienNewsApi::DefaultApi.new
75
- unknown_base_type = {"$and":[{"$or":[{"body":{"$text":"Tim Cook"}},{"social.shares.count.reddit.max":{"$gte":5000,"$boost":5}}]},{"entity":{"$and":[{"name":{"$text":"Apple","$boost":2}},{"$not":[{"type":{"$eq":"Fruit"}}]}]}}]} # UNKNOWN_BASE_TYPE | /stories body schema to perform an advanced search with logical operators and nested objects.
43
+
76
44
  opts = {
77
- published_at_start: 'published_at_start_example', # String | This parameter is used for finding stories whose published at time is greater than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates).
78
- published_at_end: 'published_at_end_example', # String | This parameter is used for finding stories whose published at time is less than the specified value. [Here](https://newsapi.aylien.com/docs/working-with-dates) you can find more information about how [to work with dates](https://newsapi.aylien.com/docs/working-with-dates).
79
- _return: ['_return_example'], # Array<String> | This parameter is used for specifying return fields.
80
- sort_by: 'published_at', # String | This parameter is used for changing the order column of the results. You can read about sorting results [here](https://newsapi.aylien.com/docs/sorting-results).
81
- sort_direction: 'desc', # String | 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).
82
- cursor: '*', # String | 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).
83
- per_page: 10 # Integer | 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)
45
+ title: 'trump',
46
+ published_at_start: "NOW-7DAYS",
47
+ published_at_end: "NOW",
48
+ entities_body_links_dbpedia: [
49
+ 'http://dbpedia.org/resource/Donald_Trump',
50
+ ],
51
+ not_language: ['en'],
52
+ sort_by: 'social_shares_count.facebook'
84
53
  }
85
54
 
55
+
86
56
  begin
87
- #List Stories
88
- result = api_instance.advanced_list_stories(unknown_base_type, opts)
89
- p result
57
+ result = api_instance.list_stories(opts)
58
+ result.stories.each do |story|
59
+ puts "#{story.title} / #{story.source.name}"
60
+ end
90
61
  rescue AylienNewsApi::ApiError => e
91
- puts "Exception when calling DefaultApi->advanced_list_stories: #{e}"
62
+ puts "Exception when calling DefaultApi->list_stories: #{e}"
63
+ puts e.response_body
92
64
  end
93
-
94
65
  ```
95
66
 
96
67
  ## Documentation for API Endpoints
@@ -99,12 +70,11 @@ All URIs are relative to *https://api.aylien.com/news*
99
70
 
100
71
  Class | Method | HTTP request | Description
101
72
  ------------ | ------------- | ------------- | -------------
102
- *AylienNewsApi::DefaultApi* | [**advanced_list_stories**](docs/DefaultApi.md#advanced_list_stories) | **POST** /stories | List Stories
103
73
  *AylienNewsApi::DefaultApi* | [**list_autocompletes**](docs/DefaultApi.md#list_autocompletes) | **GET** /autocompletes | List autocompletes
104
74
  *AylienNewsApi::DefaultApi* | [**list_clusters**](docs/DefaultApi.md#list_clusters) | **GET** /clusters | List Clusters
75
+ *AylienNewsApi::DefaultApi* | [**list_coverages**](docs/DefaultApi.md#list_coverages) | **GET** /coverages | List coverages
105
76
  *AylienNewsApi::DefaultApi* | [**list_histograms**](docs/DefaultApi.md#list_histograms) | **GET** /histograms | List histograms
106
- *AylienNewsApi::DefaultApi* | [**list_related_stories_get**](docs/DefaultApi.md#list_related_stories_get) | **GET** /related_stories |
107
- *AylienNewsApi::DefaultApi* | [**list_related_stories_post**](docs/DefaultApi.md#list_related_stories_post) | **POST** /related_stories |
77
+ *AylienNewsApi::DefaultApi* | [**list_related_stories**](docs/DefaultApi.md#list_related_stories) | **GET** /related_stories | List related stories
108
78
  *AylienNewsApi::DefaultApi* | [**list_stories**](docs/DefaultApi.md#list_stories) | **GET** /stories | List Stories
109
79
  *AylienNewsApi::DefaultApi* | [**list_time_series**](docs/DefaultApi.md#list_time_series) | **GET** /time_series | List time series
110
80
  *AylienNewsApi::DefaultApi* | [**list_trends**](docs/DefaultApi.md#list_trends) | **GET** /trends | List trends
@@ -112,78 +82,42 @@ Class | Method | HTTP request | Description
112
82
 
113
83
  ## Documentation for Models
114
84
 
115
- - [AylienNewsApi::AggregatedSentiment](docs/AggregatedSentiment.md)
116
85
  - [AylienNewsApi::Author](docs/Author.md)
117
86
  - [AylienNewsApi::Autocomplete](docs/Autocomplete.md)
118
87
  - [AylienNewsApi::Autocompletes](docs/Autocompletes.md)
119
88
  - [AylienNewsApi::Category](docs/Category.md)
120
89
  - [AylienNewsApi::CategoryLinks](docs/CategoryLinks.md)
121
- - [AylienNewsApi::CategoryTaxonomy](docs/CategoryTaxonomy.md)
122
90
  - [AylienNewsApi::Cluster](docs/Cluster.md)
123
91
  - [AylienNewsApi::Clusters](docs/Clusters.md)
124
- - [AylienNewsApi::DeprecatedEntities](docs/DeprecatedEntities.md)
125
- - [AylienNewsApi::DeprecatedEntity](docs/DeprecatedEntity.md)
126
- - [AylienNewsApi::DeprecatedEntitySurfaceForm](docs/DeprecatedEntitySurfaceForm.md)
127
- - [AylienNewsApi::DeprecatedRelatedStories](docs/DeprecatedRelatedStories.md)
128
- - [AylienNewsApi::DeprecatedStories](docs/DeprecatedStories.md)
129
- - [AylienNewsApi::DeprecatedStory](docs/DeprecatedStory.md)
92
+ - [AylienNewsApi::Coverages](docs/Coverages.md)
93
+ - [AylienNewsApi::Entities](docs/Entities.md)
130
94
  - [AylienNewsApi::Entity](docs/Entity.md)
131
- - [AylienNewsApi::EntityInText](docs/EntityInText.md)
132
95
  - [AylienNewsApi::EntityLinks](docs/EntityLinks.md)
133
- - [AylienNewsApi::EntityMention](docs/EntityMention.md)
134
- - [AylienNewsApi::EntityMentionIndex](docs/EntityMentionIndex.md)
135
- - [AylienNewsApi::EntitySentiment](docs/EntitySentiment.md)
136
- - [AylienNewsApi::EntitySurfaceForm](docs/EntitySurfaceForm.md)
137
96
  - [AylienNewsApi::Error](docs/Error.md)
138
97
  - [AylienNewsApi::ErrorLinks](docs/ErrorLinks.md)
139
98
  - [AylienNewsApi::Errors](docs/Errors.md)
140
99
  - [AylienNewsApi::HistogramInterval](docs/HistogramInterval.md)
141
100
  - [AylienNewsApi::Histograms](docs/Histograms.md)
142
101
  - [AylienNewsApi::Location](docs/Location.md)
143
- - [AylienNewsApi::Logicals](docs/Logicals.md)
144
102
  - [AylienNewsApi::Media](docs/Media.md)
145
- - [AylienNewsApi::MediaFormat](docs/MediaFormat.md)
146
- - [AylienNewsApi::MediaType](docs/MediaType.md)
147
- - [AylienNewsApi::NestedEntity](docs/NestedEntity.md)
148
- - [AylienNewsApi::Parameter](docs/Parameter.md)
149
- - [AylienNewsApi::Query](docs/Query.md)
150
103
  - [AylienNewsApi::Rank](docs/Rank.md)
151
104
  - [AylienNewsApi::Rankings](docs/Rankings.md)
105
+ - [AylienNewsApi::RelatedStories](docs/RelatedStories.md)
152
106
  - [AylienNewsApi::RepresentativeStory](docs/RepresentativeStory.md)
153
107
  - [AylienNewsApi::Scope](docs/Scope.md)
154
- - [AylienNewsApi::ScopeLevel](docs/ScopeLevel.md)
155
108
  - [AylienNewsApi::Sentiment](docs/Sentiment.md)
156
- - [AylienNewsApi::SentimentPolarity](docs/SentimentPolarity.md)
157
109
  - [AylienNewsApi::Sentiments](docs/Sentiments.md)
158
110
  - [AylienNewsApi::ShareCount](docs/ShareCount.md)
159
111
  - [AylienNewsApi::ShareCounts](docs/ShareCounts.md)
160
112
  - [AylienNewsApi::Source](docs/Source.md)
113
+ - [AylienNewsApi::Stories](docs/Stories.md)
114
+ - [AylienNewsApi::Story](docs/Story.md)
161
115
  - [AylienNewsApi::StoryCluster](docs/StoryCluster.md)
162
116
  - [AylienNewsApi::StoryLinks](docs/StoryLinks.md)
163
- - [AylienNewsApi::StoryTranslation](docs/StoryTranslation.md)
164
117
  - [AylienNewsApi::StoryTranslations](docs/StoryTranslations.md)
118
+ - [AylienNewsApi::StoryTranslationsEn](docs/StoryTranslationsEn.md)
165
119
  - [AylienNewsApi::Summary](docs/Summary.md)
166
120
  - [AylienNewsApi::TimeSeries](docs/TimeSeries.md)
167
121
  - [AylienNewsApi::TimeSeriesList](docs/TimeSeriesList.md)
168
122
  - [AylienNewsApi::Trend](docs/Trend.md)
169
123
  - [AylienNewsApi::Trends](docs/Trends.md)
170
- - [AylienNewsApi::Warning](docs/Warning.md)
171
-
172
-
173
- ## Documentation for Authorization
174
-
175
-
176
- ### app_id
177
-
178
-
179
- - **Type**: API key
180
- - **API key parameter name**: X-AYLIEN-NewsAPI-Application-ID
181
- - **Location**: HTTP header
182
-
183
- ### app_key
184
-
185
-
186
- - **Type**: API key
187
- - **API key parameter name**: X-AYLIEN-NewsAPI-Application-Key
188
- - **Location**: HTTP header
189
-
@@ -5,7 +5,7 @@
5
5
 
6
6
  #The AYLIEN News API is the most powerful way of sourcing, searching and syndicating analyzed and enriched news content. It is accessed by sending HTTP requests to our server, which returns information to your client.
7
7
 
8
- The version of the OpenAPI document: 4.7.4
8
+ The version of the OpenAPI document: 5.0
9
9
  Contact: support@aylien.com
10
10
  Generated by: https://openapi-generator.tech
11
11
  OpenAPI Generator version: 5.0.0-SNAPSHOT
data/docs/Category.md CHANGED
@@ -8,9 +8,9 @@ Name | Type | Description | Notes
8
8
  **id** | **String** | The ID of the category | [optional]
9
9
  **label** | **String** | The label of the category | [optional]
10
10
  **level** | **Integer** | The level of the category | [optional]
11
+ **links** | [**CategoryLinks**](CategoryLinks.md) | | [optional]
11
12
  **score** | **Float** | The score of the category | [optional]
12
13
  **taxonomy** | [**CategoryTaxonomy**](CategoryTaxonomy.md) | | [optional]
13
- **links** | [**CategoryLinks**](CategoryLinks.md) | | [optional]
14
14
 
15
15
  ## Code Sample
16
16
 
@@ -21,9 +21,9 @@ instance = AylienNewsApi::Category.new(confident: null,
21
21
  id: null,
22
22
  label: null,
23
23
  level: null,
24
+ links: null,
24
25
  score: null,
25
- taxonomy: null,
26
- links: null)
26
+ taxonomy: null)
27
27
  ```
28
28
 
29
29
 
@@ -5,7 +5,6 @@
5
5
  Name | Type | Description | Notes
6
6
  ------------ | ------------- | ------------- | -------------
7
7
  **parent** | **String** | A URL pointing to the parent category | [optional]
8
- **parents** | **Array&lt;String&gt;** | A collection of URLs pointing to the category parents | [optional]
9
8
  **_self** | **String** | A URL pointing to the category | [optional]
10
9
 
11
10
  ## Code Sample
@@ -14,7 +13,6 @@ Name | Type | Description | Notes
14
13
  require 'AylienNewsApi'
15
14
 
16
15
  instance = AylienNewsApi::CategoryLinks.new(parent: null,
17
- parents: null,
18
16
  _self: null)
19
17
  ```
20
18