diff --git a/packages/nodes-base/credentials/MindeeInvoiceApi.credentials.ts b/packages/nodes-base/credentials/MindeeInvoiceApi.credentials.ts index 527551aea..120d11173 100644 --- a/packages/nodes-base/credentials/MindeeInvoiceApi.credentials.ts +++ b/packages/nodes-base/credentials/MindeeInvoiceApi.credentials.ts @@ -6,6 +6,7 @@ import { export class MindeeInvoiceApi implements ICredentialType { name = 'mindeeInvoiceApi'; displayName = 'Mindee Invoice API'; + documentationUrl = 'mindee'; properties = [ { displayName: 'API Key', diff --git a/packages/nodes-base/credentials/MindeeReceiptApi.credentials.ts b/packages/nodes-base/credentials/MindeeReceiptApi.credentials.ts index bdd133707..4d9e78a3b 100644 --- a/packages/nodes-base/credentials/MindeeReceiptApi.credentials.ts +++ b/packages/nodes-base/credentials/MindeeReceiptApi.credentials.ts @@ -6,6 +6,7 @@ import { export class MindeeReceiptApi implements ICredentialType { name = 'mindeeReceiptApi'; displayName = 'Mindee Receipt API'; + documentationUrl = 'mindee'; properties = [ { displayName: 'API Key', diff --git a/packages/nodes-base/credentials/WufooApi.credentials.ts b/packages/nodes-base/credentials/WufooApi.credentials.ts index a50ad5835..ae31ecbf7 100644 --- a/packages/nodes-base/credentials/WufooApi.credentials.ts +++ b/packages/nodes-base/credentials/WufooApi.credentials.ts @@ -6,6 +6,7 @@ import { export class WufooApi implements ICredentialType { name = 'wufooApi'; displayName = 'Wufoo API'; + documentationUrl = 'wufoo'; properties = [ { displayName: 'API Key', diff --git a/packages/nodes-base/nodes/OpenWeatherMap.node.ts b/packages/nodes-base/nodes/OpenWeatherMap.node.ts index f643ecb76..db733c04b 100644 --- a/packages/nodes-base/nodes/OpenWeatherMap.node.ts +++ b/packages/nodes-base/nodes/OpenWeatherMap.node.ts @@ -188,6 +188,16 @@ export class OpenWeatherMap implements INodeType { description: 'The id of city to return the weather of. List can be downloaded here: http://bulk.openweathermap.org/sample/', }, + { + displayName: 'Language', + name: 'language', + type: 'string', + default: '', + placeholder: 'en', + required: false, + description: 'The two letter language code to get your output in (eg. en, de, ...).', + }, + ], }; @@ -206,6 +216,7 @@ export class OpenWeatherMap implements INodeType { let endpoint = ''; let locationSelection; + let language; let qs: IDataObject; @@ -231,6 +242,11 @@ export class OpenWeatherMap implements INodeType { throw new Error(`The locationSelection "${locationSelection}" is not known!`); } + // Get the language + language = this.getNodeParameter('language', i) as string; + if (language) { + qs.lang = language; + } if (operation === 'currentWeather') { // ----------------------------------