The API documentation implies that all that’s needed is the official node.js client
I have downloaded the files and the page says to “install airtable.js in a node project: npm install airtable”. Where is “a node project” and where do I type “npm install airtable”? Do I need other software?
Also, I have looked at the API code. For example, here’s the node.js code for retrieving a record:
var Airtable = require(‘airtable’);
var base = new Airtable({apiKey: ‘YOUR_API_KEY’}).base(‘app1234567’);
base(‘SampleTables’).find(‘rec1234567890NRXLGMAK’, function(err, record) {
if (err) { console.error(err); return; }
console.log(record);
});
- How do I get the record number?
- Where do I store the code so that I can reuse it with different records?
- How specifically do I submit the code request to the Airtable website?
Thanks.
