How to use the airtable.configure function in airtable

To help you get started, we’ve selected a few airtable examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github alexanian / airtable-last-updated-hack / job.js View on Github external
var airtable = require('airtable');
var async = require('async');
var md5 = require('md5');
var moment = require('moment');
var fs = require('fs');
var configs = require('./configs');
var emailSender = require('./emailSender');
var secrets = require('./secrets');

// Set up connection to Airtable
airtable.configure({
    endpointUrl: 'https://api.airtable.com',
    apiKey: secrets.apiKey
});
var base = airtable.base(secrets.airtableBase);

// Create local storage for hashes of records
var hashDir = './localStorage/';
if (!fs.existsSync(hashDir)) {
    fs.mkdirSync(hashDir);
}

exports.hackLastUpdated = function hackLastUpdated() {
    // Each record that was updated will be included in email notifications
    var recordsUpdated = [];

    // Retrieve records from all tables listed
github react-knowledgeable / rk-community-site / src / functions / airtable.js View on Github external
function _configureAirtable() {
  Airtable.configure({ apiKey: '__AIRTABLE_API_KEY__' });
  return Airtable.base('__AIRTABLE_BASE_ID__')('Attendees');
}
github DSchau / spread-love / backend / src / database / index.js View on Github external
const Airtable = require('airtable');

Airtable.configure({
  endpointUrl: 'https://api.airtable.com',
});

const database = Airtable.base(`appwBApIraXhdeTin`)(`Love`);

module.exports = database;

airtable

The official Airtable JavaScript library.

MIT
Latest version published 9 months ago

Package Health Score

70 / 100
Full package analysis