All Projects → pindlebot → airtable-node

pindlebot / airtable-node

Licence: MIT license
Node API for Airtable without the bloat (lodash, etc)

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to airtable-node

async-airtable
A lightweight npm package to handle working with the Airtable API.
Stars: ✭ 48 (+108.7%)
Mutual labels:  airtable
pocketcasts-stats
This project let's you fetch your Pocket Casts statistics and put them into Airtable with about 80 lines of code.
Stars: ✭ 12 (-47.83%)
Mutual labels:  airtable
automatron
Personal LINE bot to automate various tasks. Home automation, expense tracking, transaction monitoring
Stars: ✭ 139 (+504.35%)
Mutual labels:  airtable
airbud
Retrieving stuff from the web is unreliable. Airbud adds retries for production, and fixture support for test.
Stars: ✭ 15 (-34.78%)
Mutual labels:  fetch
git-cheatsheet
One stop guide to help solve all your doubts related to Git & GitHub.
Stars: ✭ 31 (+34.78%)
Mutual labels:  fetch
cetch
c sysfetch
Stars: ✭ 23 (+0%)
Mutual labels:  fetch
legible
the cleanest way to make http requests in js / node
Stars: ✭ 49 (+113.04%)
Mutual labels:  fetch
cmn-utils
公共函数&请求封装
Stars: ✭ 43 (+86.96%)
Mutual labels:  fetch
gtni
Install your all npm dependencies recursively with gtni while you are doing git clone, fetch or pull
Stars: ✭ 17 (-26.09%)
Mutual labels:  fetch
vue-airtable-demo
Sample Vue.js / Webpack project with Airtable component.
Stars: ✭ 22 (-4.35%)
Mutual labels:  airtable
fitch.js
A lightweight Promise based HTTP client, using Fetch API.
Stars: ✭ 35 (+52.17%)
Mutual labels:  fetch
sapper-httpclient
An isomorphic http client for Sapper
Stars: ✭ 48 (+108.7%)
Mutual labels:  fetch
disfetch
Yet another *nix distro fetching program, but less complex.
Stars: ✭ 45 (+95.65%)
Mutual labels:  fetch
airtabler
R interface to the Airtable API
Stars: ✭ 84 (+265.22%)
Mutual labels:  airtable
Thoth.Fetch
Thoth.Fetch provides an easy to use API for working with Fable.Fetch and Thoth.Json
Stars: ✭ 31 (+34.78%)
Mutual labels:  fetch
bestfetch
fetch ⭐️caching ⭐️deduplication
Stars: ✭ 44 (+91.3%)
Mutual labels:  fetch
mey
A react package that exports hooks for handling the request lifecycle.
Stars: ✭ 18 (-21.74%)
Mutual labels:  fetch
better-mock
Forked from Mockjs, Generate random data & Intercept ajax request. Support miniprogram.
Stars: ✭ 140 (+508.7%)
Mutual labels:  fetch
reddit-fetch
A program to fetch some comments/pictures from reddit
Stars: ✭ 50 (+117.39%)
Mutual labels:  fetch
redux-fetch-middleware
The simplest middleware using fetch api for redux to send request
Stars: ✭ 36 (+56.52%)
Mutual labels:  fetch

airtable-node NPM version Build Status Dependency Status Coverage percentage

Node wrapper for Airtable API

Installation

$ npm i airtable-node --save

Usage

const Airtable = require('airtable-node');

const airtable = new Airtable({ apiKey: 'xxx' })
  .base('appRvT3sM3XOBruUk')
  .table('Team Members')

airtable.list().then(resp => {
  console.log(resp)
})

airtable.list({
  filterByFormula: `NOT({Feature} = '')`, // optional
  maxRecords: 200, // optional
  pageSize: 100, // optional 
  sort: [{ field: 'name', direction: 'asc' }], // optional
  view: 'Airtable View', // optional
  cellFormat: 'json', // optional
  timeZone, // optional
  userLocale // optional
},
offset //optional
).then(resp => {
  console.log(resp)
})

Methods

Airtable({ apiKey, base, table, view })

  • required: apiKey
  • all other parameters can be set via chaining

Example

const airtable = new Airtable({ apiKey, base, table, view })

Airtable.list(params)

Airtable.list returns a promise.

Example

const airtable = new Airtable({ apiKey, base, table, view })
airtable.list({
  maxRecords: 200
}).then(resp => {
  console.log(resp)
})

Airtable.update(id, { fields })

Example

const airtable = new Airtable({ apiKey, base, table })
const id = 'airtable record id'
const fields = {
  some_field_name: 'some value'
}

airtable.update(id, { fields }).then(resp => {
  console.log(resp)
})

Airtable.retrieve(id)

  • required: id
const airtable = new Airtable({ apiKey, base, table })
const id = 'airtable record id'

airtable.retrieve(id).then(resp => {
  console.log(resp)
})

Airtable.delete(id)

  • required: id

Example

const airtable = new Airtable({apiKey, base, table})
const id = 'airtable record id'

airtable.delete(id).then(resp => {
  console.log(resp)
})

License

MIT © Ben

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].