2021-08-01 04:49:24 -07:00
|
|
|
import {
|
|
|
|
ICredentialType,
|
2021-10-07 14:07:56 -07:00
|
|
|
INodeProperties,
|
2021-08-01 04:49:24 -07:00
|
|
|
} from 'n8n-workflow';
|
|
|
|
|
|
|
|
export class MarketstackApi implements ICredentialType {
|
|
|
|
name = 'marketstackApi';
|
|
|
|
displayName = 'Marketstack API';
|
|
|
|
documentationUrl = 'marketstack';
|
2021-10-07 14:07:56 -07:00
|
|
|
properties: INodeProperties[] = [
|
2021-08-01 04:49:24 -07:00
|
|
|
{
|
|
|
|
displayName: 'API Key',
|
|
|
|
name: 'apiKey',
|
2021-10-07 14:07:56 -07:00
|
|
|
type: 'string',
|
2021-08-01 04:49:24 -07:00
|
|
|
default: '',
|
|
|
|
},
|
|
|
|
{
|
|
|
|
displayName: 'Use HTTPS',
|
|
|
|
name: 'useHttps',
|
2021-10-07 14:07:56 -07:00
|
|
|
type: 'boolean',
|
2021-08-01 04:49:24 -07:00
|
|
|
default: false,
|
2022-04-13 23:32:27 -07:00
|
|
|
description: 'Whether to use HTTPS (paid plans only)',
|
2021-08-01 04:49:24 -07:00
|
|
|
},
|
|
|
|
];
|
|
|
|
}
|