ZoomNet 0.42.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ZoomNet --version 0.42.0
NuGet\Install-Package ZoomNet -Version 0.42.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="ZoomNet" Version="0.42.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ZoomNet --version 0.42.0
#r "nuget: ZoomNet, 0.42.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ZoomNet as a Cake Addin
#addin nuget:?package=ZoomNet&version=0.42.0

// Install ZoomNet as a Cake Tool
#tool nuget:?package=ZoomNet&version=0.42.0

ZoomNet

License Sourcelink

Build status Tests Coverage Status CodeFactor

Release Notes NuGet (stable) MyGet (prerelease)
GitHub release NuGet Version MyGet Pre Release

About

Installation

The easiest way to include ZoomNet in your C# project is by adding the nuget package to your project:

PM> Install-Package ZoomNet

.NET framework suport

ZoomNet supports the 4.8 .NET framework, any framework supporting .NET Standard 2.1 (which includes .NET Core 3.x and ASP.NET Core 3.x) as well as .NET 5.0 and .NET 6.0'. The last version of ZoomNet that supported .NET 4.6.1, .NET 4.7.2and.NET Standard 2.0` was 0.35.0

Usage

Connection Information

Before you start using the ZoomNet client, you must decide how you are going to connect to the Zoom API. ZoomNet supports two distinct ways of connecting to Zoom: JWT and OAuth.

Connection using JWT

This is the simplest way to connect to the Zoom API. Zoom expects you to use a key and a secret to generate a JSON object with a signed payload and to provide this JSON object with every API request. The good news is that ZoomNet takes care of the intricacies of generating this JSON object: you simply provide the key and the secret and ZoomNet takes care of the rest. Super easy!

As the Zoom documentation mentions, this is perfect if you're looking to build an app that provides server-to-server interaction with Zoom APIs.

Here is an except from the Zoom documentation that explains how to get your API key and secret:

JWT apps provide an API Key and Secret required to authenticate with JWT. To access the API Key and Secret, Create a JWT App on the Marketplace. After providing basic information about your app, locate your API Key and Secret in the App Credentials page.

When you have the API key and secret, you can instantiate a 'connection info' object like so:

var apiKey = "... your API key ...";
var apiSecret = "... your API secret ...";
var connectionInfo = new JwtConnectionInfo(apiKey, apiSecret);
Connection using OAuth

Using OAuth is much more complicated than using JWT but at the same time, it is more flexible because you can define which permissions your app requires. When a user installs your app, they are presented with the list of permissions your app requires and they are given the opportunity to accept.

The Zoom documentation has a document about how to create an OAuth app and another document about the OAuth autorization flow but I personnality was very confused by the later document so here is a brief step-by-step summary:

  • you create an OAuth app, define which permissions your app requires and publish the app in the Zoom marketplace.
  • user installs your app. During installation, user is presentd with a screen listing the permissons your app requires. User must click accept.
  • Zoom generates a "authorization code". This code can be used only once to generate the first access token and refresh token. I CAN'T STRESS THIS ENOUGH: the authorization code can be used only one time. This was the confusing part to me: somehow I didn't understand that this code could be used only one time and I was attempting to use it repeatedly. Zoom would accept the code one time and would reject it subsequently, which lead to many hours of frustration while trying to figure out why the code was sometimes rejected.
  • The access token is valid for 60 minutes and must therefore be "refreshed" periodically.

ZoomNet takes care of generating the access token and refresh token but it's your responsability to store these generated values.

var clientId = "... your client ID ...";
var clientSecret = "... your client secret ...";
var refreshToken = "... the refresh token previously issued by Zoom ...";
var accessToken = "... the access token previously issued by Zoom ...";
var connectionInfo = new OAuthConnectionInfo(clientId, clientSecret, refreshToken, accessToken,
	(newRefreshToken, newAccessToken) =>
	{
		/*
            Save the new refresh token and the access token to
            a safe place so you can provide it the next time
            you need to instantiate an OAuthConnectionInfo
        */
	});

Client

You declare your client variable like so:

var zoomClient = new ZoomClient(connectionInfo);
Product Compatible and additional computed target framework versions.
.NET net5.0 is compatible.  net5.0-windows was computed.  net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.1 is compatible. 
.NET Framework net48 is compatible.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
0.74.0 2,174 2/16/2024
0.73.0 2,408 1/20/2024
0.72.0 2,231 12/9/2023
0.71.0 698 12/8/2023
0.70.0 1,488 11/21/2023
0.69.0 731 11/18/2023
0.68.0 2,037 11/2/2023
0.67.0 4,522 9/22/2023
0.66.0 4,003 7/30/2023
0.65.0 1,343 7/13/2023
0.64.0 749 6/26/2023
0.63.1 2,182 5/25/2023
0.63.0 1,805 5/23/2023
0.62.0 1,351 5/13/2023
0.61.0 2,494 5/1/2023
0.60.0 1,980 4/15/2023
0.59.1 843 3/30/2023
0.59.0 498 3/29/2023
0.58.0 4,021 1/26/2023
0.57.0 579 1/23/2023
0.56.0 753 1/11/2023
0.55.0 4,754 12/23/2022
0.54.0 647 12/14/2022
0.53.0 5,545 11/22/2022
0.52.0 949 10/27/2022
0.51.1 2,523 9/26/2022
0.50.0 4,929 8/24/2022
0.49.0 1,357 8/16/2022
0.48.0 704 8/15/2022
0.47.0 1,149 8/3/2022
0.46.0 1,111 7/16/2022
0.45.0 807 7/8/2022
0.44.0 750 6/30/2022
0.43.0 4,106 5/31/2022
0.42.3 9,218 4/27/2022
0.42.2 673 4/25/2022
0.42.1 10,703 3/12/2022
0.42.0 3,577 3/7/2022
0.41.0 3,447 3/1/2022
0.40.0 900 2/22/2022
0.39.0 1,711 2/4/2022
0.38.0 730 1/31/2022
0.37.0 1,032 1/15/2022
0.36.0 7,985 11/29/2021
0.35.0 920 11/17/2021
0.34.0 1,841 10/25/2021
0.33.0 3,327 10/4/2021
0.32.4 740 9/21/2021
0.32.3 657 9/21/2021
0.32.2 6,419 9/16/2021
0.32.1 579 9/15/2021
0.31.0 24,931 6/7/2021
0.30.0 754 6/1/2021
0.29.0 22,351 5/12/2021
0.28.0 634 5/11/2021
0.27.2 2,597 4/7/2021
0.27.1 949 3/26/2021
0.27.0 608 3/25/2021
0.26.0 813 3/18/2021
0.25.0 890 3/4/2021
0.24.0 731 3/1/2021
0.23.0 90,894 2/27/2021
0.22.0 620 2/27/2021
0.21.0 953 2/18/2021
0.20.0 672 2/13/2021
0.19.0 784 2/9/2021
0.18.0 1,834 1/26/2021
0.17.0 708 1/22/2021
0.16.0 1,701 1/20/2021
0.15.0 4,035 1/14/2021
0.14.0 703 1/12/2021
0.13.0 668 1/12/2021
0.12.0 705 1/6/2021
0.11.0 849 12/31/2020
0.10.0 1,401 11/22/2020
0.9.0 10,184 10/2/2020
0.8.3 2,165 9/9/2020
0.8.2 703 9/8/2020
0.8.1 763 9/7/2020
0.7.0 704 8/29/2020
0.6.0 23,243 6/30/2020
0.5.1 774 6/17/2020
0.5.0 733 6/15/2020
0.4.1 778 6/1/2020
0.4.0 768 5/27/2020
0.3.0 698 5/26/2020
0.2.0 740 5/11/2020
0.1.0 744 5/6/2020