-
Notifications
You must be signed in to change notification settings - Fork 1
Zoom Meetings - Readme files #4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from 9 commits
c6760b9
1b0d819
340e1ea
c00de53
61f43ad
048932f
caef709
3600f5f
4acd226
7788768
961720c
609ac19
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
|
|
@@ -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. | ||||||
|
||||||
| 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. | |
| 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. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../create-new-meeting.md |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # Zoom Meetings - Create a Meeting | ||
|
|
||
| This example demonstrates how the **Zoom Meetings API** can be used to **create a Zoom meeting** programmatically. This is helpful for automating internal scheduling, setting up webinars, or integrating with external systems such as CRMs or helpdesks. | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| **1. Setup Zoom developer account** | ||
|
|
||
| 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** | ||
|
|
||
| Create a `Config.toml` file in the example's root directory and, provide your Zoom account related configurations as follows: | ||
|
|
||
| ```bash | ||
| refreshToken = "<refresh Token>" | ||
| refreshUrl = "<refresh URL>" | ||
| userId="<user_id>" | ||
| clientId = "<client_id>" | ||
| clientSecret = "<client_secret>" | ||
| ``` | ||
|
|
||
| ## Run the example | ||
|
|
||
| Execute the following command to run the example: | ||
|
|
||
| ```bash | ||
| bal run | ||
| ``` | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| ../list-all-meetings.md |
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| # Zoom Meetings - List all Meetings | ||
|
|
||
| This example demonstrates how to **retrieve and list all Zoom meetings** for a given user using the Zoom Meetings API. This is useful for displaying scheduled meetings, integrating with dashboards, or building internal tools for scheduling visibility. | ||
|
|
||
| ## Prerequisites | ||
|
|
||
| **1. Setup Zoom developer account** | ||
|
|
||
| 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** | ||
|
|
||
| Create a `Config.toml` file in the example's root directory and, provide your Zoom account related configurations as follows: | ||
|
|
||
| ```bash | ||
| refreshToken = "<refresh Token>" | ||
| refreshUrl = "<refresh URL>" | ||
| userId="<user_id>" | ||
| clientId = "<client_id>" | ||
| clientSecret = "<client_secret>" | ||
| ``` | ||
|
|
||
| ## Run the example | ||
|
|
||
| Execute the following command to run the example: | ||
|
|
||
| ```bash | ||
| bal run | ||
| ``` | ||
|
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.