worldnewsapi
Advanced tools
Comparing version 1.3.2 to 2.0.0
@@ -25,3 +25,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -37,3 +37,3 @@ * | ||
* @module api/NewsApi | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -302,3 +302,3 @@ var NewsApi = exports["default"] = /*#__PURE__*/function () { | ||
* @param {String} [text] The text to match in the news content (at least 3 characters, maximum 100 characters). By default all query terms are expected, you can use an uppercase OR to search for any terms, e.g. tesla OR ford | ||
* @param {String} [sourceCountries] A comma-separated list of ISO 3166 country codes from which the news should originate. | ||
* @param {String} [sourceCountry] The ISO 3166 country code from which the news should originate. | ||
* @param {String} [language] The ISO 6391 language code of the news. | ||
@@ -311,3 +311,3 @@ * @param {Number} [minSentiment] The minimal sentiment of the news in range [-1,1]. | ||
* @param {String} [authors] A comma-separated list of author names. Only news from any of the given authors will be returned. | ||
* @param {String} [categories] A comma-separated list of categories. Only news from any of the given categories will be returned. Possible categories are politics, sports, business, technology, entertainment, health, science, lifestyle, travel, culture, education, environment, other. | ||
* @param {String} [categories] A comma-separated list of categories. Only news from any of the given categories will be returned. Possible categories are politics, sports, business, technology, entertainment, health, science, lifestyle, travel, culture, education, environment, other. Please note that the filter might leave out news, especially in non-English languages. If too few results are returned, use the text parameter instead. | ||
* @param {String} [entities] Filter news by entities (see semantic types). | ||
@@ -330,3 +330,3 @@ * @param {String} [locationFilter] Filter news by radius around a certain location. Format is \"latitude,longitude,radius in kilometers\". Radius must be between 1 and 100 kilometers. | ||
'text': opts['text'], | ||
'source-countries': opts['sourceCountries'], | ||
'source-country': opts['sourceCountry'], | ||
'language': opts['language'], | ||
@@ -333,0 +333,0 @@ 'min-sentiment': opts['minSentiment'], |
@@ -19,3 +19,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -30,3 +30,3 @@ * | ||
* @module ApiClient | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -79,3 +79,3 @@ /** | ||
this.defaultHeaders = { | ||
'User-Agent': 'OpenAPI-Generator/1.3.2/Javascript' | ||
'User-Agent': 'OpenAPI-Generator/2.0.0/Javascript' | ||
}; | ||
@@ -82,0 +82,0 @@ |
@@ -23,3 +23,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -35,3 +35,3 @@ * | ||
* @module model/ExtractNews200Response | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -38,0 +38,0 @@ var ExtractNews200Response = /*#__PURE__*/function () { |
@@ -18,3 +18,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -30,3 +30,3 @@ * | ||
* @module model/ExtractNews200ResponseImagesInner | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -33,0 +33,0 @@ var ExtractNews200ResponseImagesInner = /*#__PURE__*/function () { |
@@ -18,3 +18,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -30,3 +30,3 @@ * | ||
* @module model/ExtractNews200ResponseVideosInner | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -33,0 +33,0 @@ var ExtractNews200ResponseVideosInner = /*#__PURE__*/function () { |
@@ -18,3 +18,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -30,3 +30,3 @@ * | ||
* @module model/ExtractNewsLinks200Response | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -33,0 +33,0 @@ var ExtractNewsLinks200Response = /*#__PURE__*/function () { |
@@ -18,3 +18,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -30,3 +30,3 @@ * | ||
* @module model/GetGeoCoordinates200Response | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -33,0 +33,0 @@ var GetGeoCoordinates200Response = /*#__PURE__*/function () { |
@@ -22,3 +22,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -34,3 +34,3 @@ * | ||
* @module model/RetrieveNewsArticlesByIds200Response | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -37,0 +37,0 @@ var RetrieveNewsArticlesByIds200Response = /*#__PURE__*/function () { |
@@ -18,3 +18,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -30,3 +30,3 @@ * | ||
* @module model/RetrieveNewsArticlesByIds200ResponseNewsInner | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -33,0 +33,0 @@ var RetrieveNewsArticlesByIds200ResponseNewsInner = /*#__PURE__*/function () { |
@@ -19,3 +19,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -31,3 +31,3 @@ * | ||
* @module model/RetrieveNewspaperFrontPage200Response | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -34,0 +34,0 @@ var RetrieveNewspaperFrontPage200Response = /*#__PURE__*/function () { |
@@ -18,3 +18,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -30,3 +30,3 @@ * | ||
* @module model/RetrieveNewspaperFrontPage200ResponseFrontPage | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -33,0 +33,0 @@ var RetrieveNewspaperFrontPage200ResponseFrontPage = /*#__PURE__*/function () { |
@@ -22,3 +22,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -34,3 +34,3 @@ * | ||
* @module model/SearchNews200Response | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -37,0 +37,0 @@ var SearchNews200Response = /*#__PURE__*/function () { |
@@ -18,3 +18,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -30,3 +30,3 @@ * | ||
* @module model/SearchNews200ResponseNewsInner | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -33,0 +33,0 @@ var SearchNews200ResponseNewsInner = /*#__PURE__*/function () { |
@@ -22,3 +22,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -34,3 +34,3 @@ * | ||
* @module model/TopNews200Response | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -37,0 +37,0 @@ var TopNews200Response = /*#__PURE__*/function () { |
@@ -22,3 +22,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -34,3 +34,3 @@ * | ||
* @module model/TopNews200ResponseTopNewsInner | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -37,0 +37,0 @@ var TopNews200ResponseTopNewsInner = /*#__PURE__*/function () { |
@@ -18,3 +18,3 @@ "use strict"; | ||
* | ||
* The version of the OpenAPI document: 1.3.2 | ||
* The version of the OpenAPI document: 2.0.0 | ||
* Contact: mail@worldnewsapi.com | ||
@@ -30,3 +30,3 @@ * | ||
* @module model/TopNews200ResponseTopNewsInnerNewsInner | ||
* @version 1.3.2 | ||
* @version 2.0.0 | ||
*/ | ||
@@ -33,0 +33,0 @@ var TopNews200ResponseTopNewsInnerNewsInner = /*#__PURE__*/function () { |
{ | ||
"name": "worldnewsapi", | ||
"version": "1.3.2", | ||
"version": "2.0.0", | ||
"description": "The world's news wrapped into a single API.", | ||
@@ -5,0 +5,0 @@ "license": "Unlicense", |
@@ -7,4 +7,4 @@ # worldnewsapi | ||
- API version: 1.3.2 | ||
- Package version: 1.3.2 | ||
- API version: 2.0.0 | ||
- Package version: 2.0.0 | ||
- Generator version: 7.8.0-SNAPSHOT | ||
@@ -11,0 +11,0 @@ - Build package: org.openapitools.codegen.languages.JavascriptClientCodegen |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
161908
3122