diff --git a/README.md b/README.md index 14918af..f570f3b 100644 --- a/README.md +++ b/README.md @@ -13,13 +13,22 @@ operation.open(); 在开启后,可以在企业数据的"数据导入"菜单看到如下图所示的API数据源入口 ![api_datasource](/screenshots/api_datasource.png) -### +### 创建表 ```java Authentication authentication = new Authentication("#key", "#secret"); DatasourceOperation operation = new DatasourceOperation(authentication); // // 创建表并返回表id String tableId = operation.createTable("HelloTable"); +``` + +### 更新表数据 + +```java +Authentication authentication = new Authentication("#key", "#secret"); +DatasourceOperation operation = new DatasourceOperation(authentication); +// // 创建表并返回表id +String tableId = "tableIdText; // 获取给该表提供数据的文件的上传地址 String fileUploadUrl = operation.requestUploadUrl(tableId); // 将数据文件上传