Empty connector snippet - Phyks/konnectors GitHub Wiki

Here is a template for a typical new empty connector:

var baseKonnector = require('../lib/base_konnector');

var Bill = require('../models/bill');


var connector = module.exports = baseKonnector.createNew({
  name: 'My Awesome Connector',
  vendorLink: 'http://example.com',

  fields: {
    login: 'text',
    password: 'password',
    folderPath: 'folder'
  },

  models: [Bill],
  fetchOperations: [
  ]
});