n8n-nodes-meetbot
Version:
n8n community node for Meetbot booking API
37 lines (36 loc) • 1.07 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.MeetbotApi = void 0;
class MeetbotApi {
constructor() {
this.name = 'meetbotApi';
this.displayName = 'Meetbot API';
this.documentationUrl = 'https://meet.bot';
this.properties = [
{
displayName: 'API Token',
name: 'apiToken',
type: 'string',
typeOptions: { password: true },
default: '',
required: true,
description: 'Your Meetbot API token',
}
];
this.authenticate = {
type: 'generic',
properties: {
headers: {
Authorization: '=Bearer {{$credentials.apiToken}}',
},
},
};
this.test = {
request: {
url: 'https://meet.bot/v1/slots?page=vincent/30-min&day=2025-01-01',
method: 'GET',
},
};
}
}
exports.MeetbotApi = MeetbotApi;