使用 Dart 操作 Google sheet api

Manipulating Google sheet api using Dart

我找不到有关如何使用 dart 语言访问和操作 Google 电子表格 的有趣资源。任何人都可以通过向我展示代码示例来帮助我吗?

提前致谢。

从 googleapis 导入表格包:

import 'package:googleapis/sheets/v4.dart' as sheets;

然后,创建 SheetsApi 对象:

var api = new sheets.SheetsApi(yourAuthorizedClient);

This is a page on the SheetsApi object. It contains the spreadsheets property. You can follow the links down the hierarchy until you find the method you need. The complete list of classes are located here.如果您需要任何进一步的说明,请告诉我。