المشاركات
لاخيغ
var Airtable = require('airtable');
var base = new Airtable({apiKey: 'keykb7rVGd1latZ9a'}).base('app6VIh7RghR5RdS3');
base('الريسية').select({
// Selecting the first 3 records in Grid view:
maxRecords: 100000,
view: "Grid view"
}).eachPage(function page(records, fetchNextPage) {
// This function (`page`) will get called for each page of records.
records.forEach(function(record) {
console.log('Retrieved', record.get('Name'));
});
// To fetch the next page of records, call `fetchNextPage`.
// If there are more records, `page` will get called again.
// If there are no more records, `done` will get called.
fetchNextPage();
}, function done(err) {
if (err) { console.error(err); return; }
});