Last active
February 21, 2022 15:01
-
-
Save theGove/4e34838c0f0798fc9ee0b4f1ecf6fc6f to your computer and use it in GitHub Desktop.
JADE module to pull data from Airtable
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async function airtable_query(){ | |
await jade.use("airtable_tools") | |
// infomration about where to place data | |
const sheet_name="MEMBER2" | |
const address="b2" | |
const token="YOUR API KEY GOES HERE"//https://airtable.com/account | |
const base_id= "appACNRk6PmArvtj1" | |
const table="member" | |
const fields=""//["FirstName","LastName","Email"] | |
const filter_formula="FirstName!='Katy'" | |
const data=await airtable_tools.query(base_id, table, token, fields, filter_formula, sheet_name, address) | |
console.log("data",data) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment