diff --git a/README.md b/README.md index 8311372..a20f48d 100644 --- a/README.md +++ b/README.md @@ -73,10 +73,10 @@ To use the Zoom meetings connector, you must have access to the Zoom API through * `YOUR_REDIRECT_URI` with your configured redirect URI ### Step 5: Verify Your Setup - ```curl + ```curl curl -X GET "https://api.zoom.us/v2/users/me" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" - ``` + ``` This will give you the user ID needed for API calls. @@ -124,7 +124,7 @@ To use the `Zoom` connector in your Ballerina application, update the `.bal` fil Now, utilize the available connector operations. - ```ballerina + ```ballerina meetings:InlineResponse20028 response = check zoomClient->/users/[originalId]/meetings(); meetings:InlineResponse20028Meetings[]? meetings = response.meetings; if meetings is () { @@ -138,21 +138,21 @@ To use the `Zoom` connector in your Ballerina application, update the `.bal` fil io:println("-------------------------------"); } } - ``` + ``` ### Step 4: Run the Ballerina application - ```bash + ```bash bal run - ``` + ``` ## Examples -The `Zoom Meetings` connector provides practical examples illustrating usage in various scenarios. Explore these [examples](https://github.com/module-ballerinax-zoom.meetings/tree/main/examples/), covering the following use cases: +The `Zoom Meetings` connector provides practical examples illustrating usage in various scenarios. Explore these [examples](https://github.com/ballerina-platform/module-ballerinax-zoom.meetings/tree/main/examples/), covering the following use cases: -1. [Create a Zoom meeting](https://github.com/module-ballerinax-zoom.meetings/tree/main/examples/create-new-meeting) – Creates a new Zoom meeting using the API. +1. [**Create a Zoom meeting**](https://github.com/ballerina-platform/module-ballerinax-zoom.meetings/tree/main/examples/create-new-meeting) – Creates a new Zoom meeting using the API. -2. [List scheduled meetings](https://github.com/module-ballerinax-zoom.meetings/tree/main/examples/list-all-meetings) – Displays the list of meetings scheduled under a specified Zoom user account. +2. [**List scheduled meetings**](https://github.com/ballerina-platform/module-ballerinax-zoom.meetings/tree/main/examples/list-all-meetings) – Displays the list of meetings scheduled under a specified Zoom user account. ### Setting up the prerequisites 1. Download and install Java SE Development Kit (JDK) version 21. You can download it from either of the following sources: diff --git a/ballerina/README.md b/ballerina/README.md index 7c2690d..dd1d416 100644 --- a/ballerina/README.md +++ b/ballerina/README.md @@ -67,10 +67,10 @@ To use the Zoom meetings connector, you must have access to the Zoom API through * `YOUR_REDIRECT_URI` with your configured redirect URI ### Step 5: Verify Your Setup - ```curl + ```curl curl -X GET "https://api.zoom.us/v2/users/me" \ -H "Authorization: Bearer YOUR_ACCESS_TOKEN" - ``` + ``` This will give you the user ID needed for API calls. @@ -118,7 +118,7 @@ To use the `Zoom` connector in your Ballerina application, update the `.bal` fil Now, utilize the available connector operations. - ```ballerina + ```ballerina meetings:InlineResponse20028 response = check zoomClient->/users/[originalId]/meetings(); meetings:InlineResponse20028Meetings[]? meetings = response.meetings; if meetings is () { @@ -132,13 +132,13 @@ To use the `Zoom` connector in your Ballerina application, update the `.bal` fil io:println("-------------------------------"); } } - ``` + ``` ### Step 4: Run the Ballerina application - ```bash + ```bash bal run - ``` + ``` ## Examples diff --git a/ballerina/tests/README.md b/ballerina/tests/README.md index 172918f..fe52253 100644 --- a/ballerina/tests/README.md +++ b/ballerina/tests/README.md @@ -3,7 +3,7 @@ ## Prerequisites You need a Access token from Zoom developer account. -To do this, refer to [Ballerina Zoom Connector](https://github.com/ballerina-platform/module-ballerinax-zoom.meetings/README.md). +To do this, refer to [Ballerina Zoom Connector](https://github.com/ballerina-platform/module-ballerinax-zoom.meetings/tree/main/README.md). And You need Find Your User ID to run some of the tests by running this curl command. ```curl diff --git a/examples/create-new-meeting/.github/README.md b/examples/create-new-meeting/.github/README.md new file mode 120000 index 0000000..3c399b8 --- /dev/null +++ b/examples/create-new-meeting/.github/README.md @@ -0,0 +1 @@ +../create-new-meeting.md \ No newline at end of file diff --git a/examples/create-new-meeting/README.md b/examples/create-new-meeting/create-new-meeting.md similarity index 78% rename from examples/create-new-meeting/README.md rename to examples/create-new-meeting/create-new-meeting.md index a308559..bc364b7 100644 --- a/examples/create-new-meeting/README.md +++ b/examples/create-new-meeting/create-new-meeting.md @@ -6,7 +6,7 @@ This example demonstrates how the **Zoom Meetings API** can be used to **create **1. Setup Zoom developer account** -Refer to the [Setup guide](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-zoom.meetings/refs/heads/main/README.md) to obtain necessary credentials (client Id, client secret, tokens). +Refer to the [Setup guide](https://github.com/ballerina-platform/module-ballerinax-zoom.meetings/tree/main/README.md) to obtain necessary credentials (client Id, client secret, tokens). **2. Configuration** diff --git a/examples/list-all-meetings/.github/README.md b/examples/list-all-meetings/.github/README.md new file mode 120000 index 0000000..6d351f3 --- /dev/null +++ b/examples/list-all-meetings/.github/README.md @@ -0,0 +1 @@ +../list-all-meetings.md \ No newline at end of file diff --git a/examples/list-all-meetings/README.md b/examples/list-all-meetings/list-all-meetings.md similarity index 78% rename from examples/list-all-meetings/README.md rename to examples/list-all-meetings/list-all-meetings.md index cf76582..fced7e9 100644 --- a/examples/list-all-meetings/README.md +++ b/examples/list-all-meetings/list-all-meetings.md @@ -6,7 +6,7 @@ This example demonstrates how to **retrieve and list all Zoom meetings** for a g **1. Setup Zoom developer account** -Refer to the [Setup guide](https://raw.githubusercontent.com/ballerina-platform/module-ballerinax-zoom.meetings/refs/heads/main/README.md) to obtain necessary credentials (client Id, client secret, tokens). +Refer to the [Setup guide](https://github.com/ballerina-platform/module-ballerinax-zoom.meetings/tree/main/README.md) to obtain necessary credentials (client Id, client secret, tokens). **2. Configuration**