dart_airtable 1.1.0 dart_airtable: ^1.1.0 copied to clipboard
Dart library for working and interacting with the Airtable API
example/dart_airtable_example.dart
import 'package:dart_airtable/dart_airtable.dart';
import 'package:dotenv/dotenv.dart' as dotenv;
void main() async {
dotenv.load();
String apiKey = dotenv.env['AIRTABLE_API_KEY']!;
String projectBase = dotenv.env['AIRTABLE_PROJECT_BASE']!;
String recordName = dotenv.env['AIRTABLE_RECORD_NAME']!;
final airtable = Airtable(apiKey: apiKey, projectBase: projectBase);
final records = await airtable.getAllRecords(recordName);
print(records);
}