From 3dbed6c101ee7ef85f0775417794ba30e9a6e03f Mon Sep 17 00:00:00 2001 From: DimuthuMadushan Date: Wed, 6 Mar 2024 09:32:09 +0530 Subject: [PATCH] Update the readme.md with new package name --- README.md | 14 +- ballerina/Dependencies.toml | 2 +- ballerina/Module.md | 10 +- ballerina/Package.md | 10 +- examples/cell-operations/Dependencies.toml | 326 -------------------- examples/cell-operations/cell-operations.md | 2 +- examples/grid-filtering/Dependencies.toml | 326 -------------------- examples/grid-filtering/grid-filtering.md | 2 +- examples/sheet-modifying/Dependencies.toml | 326 -------------------- examples/sheet-modifying/sheet-modifying.md | 2 +- 10 files changed, 21 insertions(+), 999 deletions(-) delete mode 100644 examples/cell-operations/Dependencies.toml delete mode 100644 examples/grid-filtering/Dependencies.toml delete mode 100644 examples/sheet-modifying/Dependencies.toml diff --git a/README.md b/README.md index 9e88a40..92af4e7 100644 --- a/README.md +++ b/README.md @@ -84,15 +84,15 @@ To use the `Google Sheets` connector in your Ballerina project, modify the `.bal ### Step 1: Import connector -Import the `ballerinax/googleapis.sheets` module. +Import the `ballerinax/googleapis.gsheets` module. ```ballerina -import ballerinax/googleapis.sheets as sheets; +import ballerinax/googleapis.gsheets; ``` ### Step 2: Create a new connector instance -Create a `sheets:ConnectionConfig` with the obtained OAuth2.0 tokens and initialize the connector with it. +Create a `gsheets:ConnectionConfig` with the obtained OAuth2.0 tokens and initialize the connector with it. ```ballerina configurable string clientId = ?; @@ -100,7 +100,7 @@ configurable string clientSecret = ?; configurable string refreshToken = ?; configurable string refreshUrl = ?; -sheets:Client spreadsheetClient = check new ({ +gsheets:Client spreadsheetClient = check new ({ auth: { clientId, clientSecret, @@ -120,11 +120,11 @@ Now, utilize the available connector operations. public function main() returns error? { // create a spreadsheet - sheets:Spreadsheet response = check spreadsheetClient->createSpreadsheet("NewSpreadsheet"); + gsheets:Spreadsheet response = check spreadsheetClient->createSpreadsheet("NewSpreadsheet"); // Add a new worksheet with given name to the Spreadsheet string spreadsheetId = response.spreadsheetId; - sheets:Sheet sheet = check spreadsheetClient->addSheet(spreadsheetId, "NewWorksheet"); + gsheets:Sheet sheet = check spreadsheetClient->addSheet(spreadsheetId, "NewWorksheet"); } ``` @@ -225,7 +225,7 @@ All the contributors are encouraged to read the [Ballerina Code of Conduct](http ## Useful links -* For more information go to the [`googleapis.sheets` package](https://lib.ballerina.io/ballerinax/googleapis.sheets/latest). +* For more information go to the [`googleapis.gsheets` package](https://lib.ballerina.io/ballerinax/googleapis.gsheets/latest). * For example, demonstrations of the usage, go to [Ballerina By Examples](https://ballerina.io/learn/by-example/). * Chat live with us via our [Discord server](https://discord.gg/ballerinalang). * Post all technical questions on Stack Overflow with the [#ballerina](https://stackoverflow.com/questions/tagged/ballerina) tag. diff --git a/ballerina/Dependencies.toml b/ballerina/Dependencies.toml index 313f8c4..a39ab74 100644 --- a/ballerina/Dependencies.toml +++ b/ballerina/Dependencies.toml @@ -61,7 +61,7 @@ dependencies = [ [[package]] org = "ballerina" name = "http" -version = "2.10.7" +version = "2.10.8" dependencies = [ {org = "ballerina", name = "auth"}, {org = "ballerina", name = "cache"}, diff --git a/ballerina/Module.md b/ballerina/Module.md index c8403d1..15ebf29 100644 --- a/ballerina/Module.md +++ b/ballerina/Module.md @@ -81,12 +81,12 @@ To use the Google Sheets connector in your Ballerina project, modify the `.bal` Import the `ballerinax/googleapis.gsheets` module. ```ballerina -import ballerinax/googleapis.gsheets as sheets; +import ballerinax/googleapis.gsheets; ``` ### Step 2: Create a new connector instance -Create a `sheets:ConnectionConfig` with the obtained OAuth2.0 tokens and initialize the connector with it. +Create a `gsheets:ConnectionConfig` with the obtained OAuth2.0 tokens and initialize the connector with it. ```ballerina configurable string clientId = ?; @@ -94,7 +94,7 @@ configurable string clientSecret = ?; configurable string refreshToken = ?; configurable string refreshUrl = ?; -sheets:Client spreadsheetClient = check new ({ +gsheets:Client spreadsheetClient = check new ({ auth: { clientId, clientSecret, @@ -114,11 +114,11 @@ Now, utilize the available connector operations. public function main() returns error? { // create a spreadsheet - sheets:Spreadsheet response = check spreadsheetClient->createSpreadsheet("NewSpreadsheet"); + gsheets:Spreadsheet response = check spreadsheetClient->createSpreadsheet("NewSpreadsheet"); // Add a new worksheet with given name to the Spreadsheet string spreadsheetId = response.spreadsheetId; - sheets:Sheet sheet = check spreadsheetClient->addSheet(spreadsheetId, "NewWorksheet"); + gsheets:Sheet sheet = check spreadsheetClient->addSheet(spreadsheetId, "NewWorksheet"); } ``` diff --git a/ballerina/Package.md b/ballerina/Package.md index 0b7f2ca..e2961c8 100644 --- a/ballerina/Package.md +++ b/ballerina/Package.md @@ -81,12 +81,12 @@ To use the Google Sheets connector in your Ballerina project, modify the `.bal` Import the `ballerinax/googleapis.gsheets` module. ```ballerina -import ballerinax/googleapis.gsheets as sheets; +import ballerinax/googleapis.gsheets; ``` ### Step 2: Create a new connector instance -Create a `sheets:ConnectionConfig` with the obtained OAuth2.0 tokens and initialize the connector with it. +Create a `gsheets:ConnectionConfig` with the obtained OAuth2.0 tokens and initialize the connector with it. ```ballerina configurable string clientId = ?; @@ -94,7 +94,7 @@ configurable string clientSecret = ?; configurable string refreshToken = ?; configurable string refreshUrl = ?; -sheets:Client spreadsheetClient = check new ({ +gsheets:Client spreadsheetClient = check new ({ auth: { clientId, clientSecret, @@ -114,11 +114,11 @@ Now, utilize the available connector operations. public function main() returns error? { // create a spreadsheet - sheets:Spreadsheet response = check spreadsheetClient->createSpreadsheet("NewSpreadsheet"); + gsheets:Spreadsheet response = check spreadsheetClient->createSpreadsheet("NewSpreadsheet"); // Add a new worksheet with given name to the Spreadsheet string spreadsheetId = response.spreadsheetId; - sheets:Sheet sheet = check spreadsheetClient->addSheet(spreadsheetId, "NewWorksheet"); + gsheets:Sheet sheet = check spreadsheetClient->addSheet(spreadsheetId, "NewWorksheet"); } ``` diff --git a/examples/cell-operations/Dependencies.toml b/examples/cell-operations/Dependencies.toml deleted file mode 100644 index 23648ec..0000000 --- a/examples/cell-operations/Dependencies.toml +++ /dev/null @@ -1,326 +0,0 @@ -# AUTO-GENERATED FILE. DO NOT MODIFY. - -# This file is auto-generated by Ballerina for managing dependency versions. -# It should not be modified by hand. - -[ballerina] -dependencies-toml-version = "2" -distribution-version = "2201.8.5" - -[[package]] -org = "ballerina" -name = "auth" -version = "2.10.0" -dependencies = [ - {org = "ballerina", name = "crypto"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.array"}, - {org = "ballerina", name = "lang.string"}, - {org = "ballerina", name = "log"} -] - -[[package]] -org = "ballerina" -name = "cache" -version = "3.7.1" -dependencies = [ - {org = "ballerina", name = "constraint"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "task"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "constraint" -version = "1.5.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "crypto" -version = "2.6.2" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "file" -version = "1.9.0" -dependencies = [ - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "os"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "http" -version = "2.10.7" -dependencies = [ - {org = "ballerina", name = "auth"}, - {org = "ballerina", name = "cache"}, - {org = "ballerina", name = "constraint"}, - {org = "ballerina", name = "crypto"}, - {org = "ballerina", name = "file"}, - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "jwt"}, - {org = "ballerina", name = "lang.array"}, - {org = "ballerina", name = "lang.decimal"}, - {org = "ballerina", name = "lang.int"}, - {org = "ballerina", name = "lang.regexp"}, - {org = "ballerina", name = "lang.runtime"}, - {org = "ballerina", name = "lang.string"}, - {org = "ballerina", name = "lang.value"}, - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "mime"}, - {org = "ballerina", name = "oauth2"}, - {org = "ballerina", name = "observe"}, - {org = "ballerina", name = "time"}, - {org = "ballerina", name = "url"} -] - -[[package]] -org = "ballerina" -name = "io" -version = "1.6.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.value"} -] - -[[package]] -org = "ballerina" -name = "jballerina.java" -version = "0.0.0" - -[[package]] -org = "ballerina" -name = "jwt" -version = "2.10.0" -dependencies = [ - {org = "ballerina", name = "cache"}, - {org = "ballerina", name = "crypto"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.int"}, - {org = "ballerina", name = "lang.string"}, - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "lang.__internal" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.object"} -] - -[[package]] -org = "ballerina" -name = "lang.array" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.__internal"} -] - -[[package]] -org = "ballerina" -name = "lang.decimal" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "lang.int" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.__internal"}, - {org = "ballerina", name = "lang.object"} -] - -[[package]] -org = "ballerina" -name = "lang.object" -version = "0.0.0" - -[[package]] -org = "ballerina" -name = "lang.regexp" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "lang.runtime" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "lang.string" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.regexp"} -] - -[[package]] -org = "ballerina" -name = "lang.value" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "log" -version = "2.9.0" -dependencies = [ - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.value"}, - {org = "ballerina", name = "observe"} -] -modules = [ - {org = "ballerina", packageName = "log", moduleName = "log"} -] - -[[package]] -org = "ballerina" -name = "mime" -version = "2.9.0" -dependencies = [ - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.int"} -] - -[[package]] -org = "ballerina" -name = "oauth2" -version = "2.10.0" -dependencies = [ - {org = "ballerina", name = "cache"}, - {org = "ballerina", name = "crypto"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "time"}, - {org = "ballerina", name = "url"} -] - -[[package]] -org = "ballerina" -name = "observe" -version = "1.2.2" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "os" -version = "1.8.0" -dependencies = [ - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"} -] -modules = [ - {org = "ballerina", packageName = "os", moduleName = "os"} -] - -[[package]] -org = "ballerina" -name = "task" -version = "2.5.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "time" -version = "2.4.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "url" -version = "2.4.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerinai" -name = "observe" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "observe"} -] -modules = [ - {org = "ballerinai", packageName = "observe", moduleName = "observe"} -] - -[[package]] -org = "ballerinax" -name = "client.config" -version = "1.0.1" -dependencies = [ - {org = "ballerina", name = "http"}, - {org = "ballerina", name = "oauth2"} -] - -[[package]] -org = "ballerinax" -name = "googleapis.sheets" -version = "3.6.0" -dependencies = [ - {org = "ballerina", name = "http"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.array"}, - {org = "ballerina", name = "lang.int"}, - {org = "ballerina", name = "lang.regexp"}, - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "os"}, - {org = "ballerinai", name = "observe"}, - {org = "ballerinax", name = "client.config"} -] -modules = [ - {org = "ballerinax", packageName = "googleapis.sheets", moduleName = "googleapis.sheets"} -] - -[[package]] -org = "wso2" -name = "cell_operations" -version = "0.1.0" -dependencies = [ - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "os"}, - {org = "ballerinai", name = "observe"}, - {org = "ballerinax", name = "googleapis.sheets"} -] -modules = [ - {org = "wso2", packageName = "cell_operations", moduleName = "cell_operations"} -] - diff --git a/examples/cell-operations/cell-operations.md b/examples/cell-operations/cell-operations.md index 6597471..71411b4 100644 --- a/examples/cell-operations/cell-operations.md +++ b/examples/cell-operations/cell-operations.md @@ -6,7 +6,7 @@ This example demonstrates the cell operations of the Google Sheets connector. ### 1. Setup Sheets API -Refer to the [Setup Guide](https://central.ballerina.io/ballerinax/googleapis.sheets/latest#setup-guide) for necessary credentials (client ID, secret, tokens). +Refer to the [Setup Guide](https://central.ballerina.io/ballerinax/googleapis.gsheets/latest#setup-guide) for necessary credentials (client ID, secret, tokens). ### 2. Configuration diff --git a/examples/grid-filtering/Dependencies.toml b/examples/grid-filtering/Dependencies.toml deleted file mode 100644 index a2a984c..0000000 --- a/examples/grid-filtering/Dependencies.toml +++ /dev/null @@ -1,326 +0,0 @@ -# AUTO-GENERATED FILE. DO NOT MODIFY. - -# This file is auto-generated by Ballerina for managing dependency versions. -# It should not be modified by hand. - -[ballerina] -dependencies-toml-version = "2" -distribution-version = "2201.8.5" - -[[package]] -org = "ballerina" -name = "auth" -version = "2.10.0" -dependencies = [ - {org = "ballerina", name = "crypto"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.array"}, - {org = "ballerina", name = "lang.string"}, - {org = "ballerina", name = "log"} -] - -[[package]] -org = "ballerina" -name = "cache" -version = "3.7.1" -dependencies = [ - {org = "ballerina", name = "constraint"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "task"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "constraint" -version = "1.5.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "crypto" -version = "2.6.2" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "file" -version = "1.9.0" -dependencies = [ - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "os"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "http" -version = "2.10.7" -dependencies = [ - {org = "ballerina", name = "auth"}, - {org = "ballerina", name = "cache"}, - {org = "ballerina", name = "constraint"}, - {org = "ballerina", name = "crypto"}, - {org = "ballerina", name = "file"}, - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "jwt"}, - {org = "ballerina", name = "lang.array"}, - {org = "ballerina", name = "lang.decimal"}, - {org = "ballerina", name = "lang.int"}, - {org = "ballerina", name = "lang.regexp"}, - {org = "ballerina", name = "lang.runtime"}, - {org = "ballerina", name = "lang.string"}, - {org = "ballerina", name = "lang.value"}, - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "mime"}, - {org = "ballerina", name = "oauth2"}, - {org = "ballerina", name = "observe"}, - {org = "ballerina", name = "time"}, - {org = "ballerina", name = "url"} -] - -[[package]] -org = "ballerina" -name = "io" -version = "1.6.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.value"} -] - -[[package]] -org = "ballerina" -name = "jballerina.java" -version = "0.0.0" - -[[package]] -org = "ballerina" -name = "jwt" -version = "2.10.0" -dependencies = [ - {org = "ballerina", name = "cache"}, - {org = "ballerina", name = "crypto"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.int"}, - {org = "ballerina", name = "lang.string"}, - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "lang.__internal" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.object"} -] - -[[package]] -org = "ballerina" -name = "lang.array" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.__internal"} -] - -[[package]] -org = "ballerina" -name = "lang.decimal" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "lang.int" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.__internal"}, - {org = "ballerina", name = "lang.object"} -] - -[[package]] -org = "ballerina" -name = "lang.object" -version = "0.0.0" - -[[package]] -org = "ballerina" -name = "lang.regexp" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "lang.runtime" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "lang.string" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.regexp"} -] - -[[package]] -org = "ballerina" -name = "lang.value" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "log" -version = "2.9.0" -dependencies = [ - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.value"}, - {org = "ballerina", name = "observe"} -] -modules = [ - {org = "ballerina", packageName = "log", moduleName = "log"} -] - -[[package]] -org = "ballerina" -name = "mime" -version = "2.9.0" -dependencies = [ - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.int"} -] - -[[package]] -org = "ballerina" -name = "oauth2" -version = "2.10.0" -dependencies = [ - {org = "ballerina", name = "cache"}, - {org = "ballerina", name = "crypto"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "time"}, - {org = "ballerina", name = "url"} -] - -[[package]] -org = "ballerina" -name = "observe" -version = "1.2.2" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "os" -version = "1.8.0" -dependencies = [ - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"} -] -modules = [ - {org = "ballerina", packageName = "os", moduleName = "os"} -] - -[[package]] -org = "ballerina" -name = "task" -version = "2.5.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "time" -version = "2.4.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "url" -version = "2.4.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerinai" -name = "observe" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "observe"} -] -modules = [ - {org = "ballerinai", packageName = "observe", moduleName = "observe"} -] - -[[package]] -org = "ballerinax" -name = "client.config" -version = "1.0.1" -dependencies = [ - {org = "ballerina", name = "http"}, - {org = "ballerina", name = "oauth2"} -] - -[[package]] -org = "ballerinax" -name = "googleapis.sheets" -version = "3.6.0" -dependencies = [ - {org = "ballerina", name = "http"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.array"}, - {org = "ballerina", name = "lang.int"}, - {org = "ballerina", name = "lang.regexp"}, - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "os"}, - {org = "ballerinai", name = "observe"}, - {org = "ballerinax", name = "client.config"} -] -modules = [ - {org = "ballerinax", packageName = "googleapis.sheets", moduleName = "googleapis.sheets"} -] - -[[package]] -org = "wso2" -name = "grid_filtering" -version = "0.1.0" -dependencies = [ - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "os"}, - {org = "ballerinai", name = "observe"}, - {org = "ballerinax", name = "googleapis.sheets"} -] -modules = [ - {org = "wso2", packageName = "grid_filtering", moduleName = "grid_filtering"} -] - diff --git a/examples/grid-filtering/grid-filtering.md b/examples/grid-filtering/grid-filtering.md index 51ec3cd..fde09e0 100644 --- a/examples/grid-filtering/grid-filtering.md +++ b/examples/grid-filtering/grid-filtering.md @@ -6,7 +6,7 @@ This example demonstrates the filter and copy operations in the Google Sheets co ### 1. Setup Sheets API -Refer to the [Setup Guide](https://central.ballerina.io/ballerinax/googleapis.sheets/latest#setup-guide) for necessary credentials (client ID, secret, tokens). +Refer to the [Setup Guide](https://central.ballerina.io/ballerinax/googleapis.gsheets/latest#setup-guide) for necessary credentials (client ID, secret, tokens). ### 2. Configuration diff --git a/examples/sheet-modifying/Dependencies.toml b/examples/sheet-modifying/Dependencies.toml deleted file mode 100644 index b6aa6fa..0000000 --- a/examples/sheet-modifying/Dependencies.toml +++ /dev/null @@ -1,326 +0,0 @@ -# AUTO-GENERATED FILE. DO NOT MODIFY. - -# This file is auto-generated by Ballerina for managing dependency versions. -# It should not be modified by hand. - -[ballerina] -dependencies-toml-version = "2" -distribution-version = "2201.8.5" - -[[package]] -org = "ballerina" -name = "auth" -version = "2.10.0" -dependencies = [ - {org = "ballerina", name = "crypto"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.array"}, - {org = "ballerina", name = "lang.string"}, - {org = "ballerina", name = "log"} -] - -[[package]] -org = "ballerina" -name = "cache" -version = "3.7.1" -dependencies = [ - {org = "ballerina", name = "constraint"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "task"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "constraint" -version = "1.5.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "crypto" -version = "2.6.2" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "file" -version = "1.9.0" -dependencies = [ - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "os"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "http" -version = "2.10.7" -dependencies = [ - {org = "ballerina", name = "auth"}, - {org = "ballerina", name = "cache"}, - {org = "ballerina", name = "constraint"}, - {org = "ballerina", name = "crypto"}, - {org = "ballerina", name = "file"}, - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "jwt"}, - {org = "ballerina", name = "lang.array"}, - {org = "ballerina", name = "lang.decimal"}, - {org = "ballerina", name = "lang.int"}, - {org = "ballerina", name = "lang.regexp"}, - {org = "ballerina", name = "lang.runtime"}, - {org = "ballerina", name = "lang.string"}, - {org = "ballerina", name = "lang.value"}, - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "mime"}, - {org = "ballerina", name = "oauth2"}, - {org = "ballerina", name = "observe"}, - {org = "ballerina", name = "time"}, - {org = "ballerina", name = "url"} -] - -[[package]] -org = "ballerina" -name = "io" -version = "1.6.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.value"} -] - -[[package]] -org = "ballerina" -name = "jballerina.java" -version = "0.0.0" - -[[package]] -org = "ballerina" -name = "jwt" -version = "2.10.0" -dependencies = [ - {org = "ballerina", name = "cache"}, - {org = "ballerina", name = "crypto"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.int"}, - {org = "ballerina", name = "lang.string"}, - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "lang.__internal" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.object"} -] - -[[package]] -org = "ballerina" -name = "lang.array" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.__internal"} -] - -[[package]] -org = "ballerina" -name = "lang.decimal" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "lang.int" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.__internal"}, - {org = "ballerina", name = "lang.object"} -] - -[[package]] -org = "ballerina" -name = "lang.object" -version = "0.0.0" - -[[package]] -org = "ballerina" -name = "lang.regexp" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "lang.runtime" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "lang.string" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.regexp"} -] - -[[package]] -org = "ballerina" -name = "lang.value" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "log" -version = "2.9.0" -dependencies = [ - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.value"}, - {org = "ballerina", name = "observe"} -] -modules = [ - {org = "ballerina", packageName = "log", moduleName = "log"} -] - -[[package]] -org = "ballerina" -name = "mime" -version = "2.9.0" -dependencies = [ - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.int"} -] - -[[package]] -org = "ballerina" -name = "oauth2" -version = "2.10.0" -dependencies = [ - {org = "ballerina", name = "cache"}, - {org = "ballerina", name = "crypto"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "time"}, - {org = "ballerina", name = "url"} -] - -[[package]] -org = "ballerina" -name = "observe" -version = "1.2.2" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "os" -version = "1.8.0" -dependencies = [ - {org = "ballerina", name = "io"}, - {org = "ballerina", name = "jballerina.java"} -] -modules = [ - {org = "ballerina", packageName = "os", moduleName = "os"} -] - -[[package]] -org = "ballerina" -name = "task" -version = "2.5.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "time"} -] - -[[package]] -org = "ballerina" -name = "time" -version = "2.4.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerina" -name = "url" -version = "2.4.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"} -] - -[[package]] -org = "ballerinai" -name = "observe" -version = "0.0.0" -dependencies = [ - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "observe"} -] -modules = [ - {org = "ballerinai", packageName = "observe", moduleName = "observe"} -] - -[[package]] -org = "ballerinax" -name = "client.config" -version = "1.0.1" -dependencies = [ - {org = "ballerina", name = "http"}, - {org = "ballerina", name = "oauth2"} -] - -[[package]] -org = "ballerinax" -name = "googleapis.sheets" -version = "3.6.0" -dependencies = [ - {org = "ballerina", name = "http"}, - {org = "ballerina", name = "jballerina.java"}, - {org = "ballerina", name = "lang.array"}, - {org = "ballerina", name = "lang.int"}, - {org = "ballerina", name = "lang.regexp"}, - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "os"}, - {org = "ballerinai", name = "observe"}, - {org = "ballerinax", name = "client.config"} -] -modules = [ - {org = "ballerinax", packageName = "googleapis.sheets", moduleName = "googleapis.sheets"} -] - -[[package]] -org = "wso2" -name = "sheet_modifying" -version = "0.1.0" -dependencies = [ - {org = "ballerina", name = "log"}, - {org = "ballerina", name = "os"}, - {org = "ballerinai", name = "observe"}, - {org = "ballerinax", name = "googleapis.sheets"} -] -modules = [ - {org = "wso2", packageName = "sheet_modifying", moduleName = "sheet_modifying"} -] - diff --git a/examples/sheet-modifying/sheet-modifying.md b/examples/sheet-modifying/sheet-modifying.md index 3bb1b7f..d42405c 100644 --- a/examples/sheet-modifying/sheet-modifying.md +++ b/examples/sheet-modifying/sheet-modifying.md @@ -6,7 +6,7 @@ This example demonstrates how to modify a Google sheet using the Google Sheets c ### 1. Setup Sheets API -Refer to the [Setup Guide](https://central.ballerina.io/ballerinax/googleapis.sheets/latest#setup-guide) for necessary credentials (client ID, secret, tokens). +Refer to the [Setup Guide](https://central.ballerina.io/ballerinax/googleapis.gsheets/latest#setup-guide) for necessary credentials (client ID, secret, tokens). ### 2. Configuration