OpenTokFs 4.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package OpenTokFs --version 4.1.0
NuGet\Install-Package OpenTokFs -Version 4.1.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="OpenTokFs" Version="4.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add OpenTokFs --version 4.1.0
#r "nuget: OpenTokFs, 4.1.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 OpenTokFs as a Cake Addin
#addin nuget:?package=OpenTokFs&version=4.1.0

// Install OpenTokFs as a Cake Tool
#tool nuget:?package=OpenTokFs&version=4.1.0

OpenTokFs

This is an unofficial .NET wrapper for Vonage Video API's REST API.

The namespace OpenTokFs.Api, in the main OpenTokFs project, contains wrapper functions for all REST API functions.

Each function in OpenTokFs.Api takes a credentials object as its first parameter; these types, IProjectCredentials (used for most API calls) and IAccountCredentials (used to create, modify, and delete projects), are defined in the OpenTokFs.Credentials project. (You can use the OpenTokProjectCredentials and OpenTokAccountCredentials records in OpenTokFs if you don't need to define your own implementations.)

OpenTokFs.RequestTypes and OpenTokFs.ResponseTypes define C# representations of JSON request and response bodies, respectively.

To generate OpenTok session tokens, you can use the module OpenTokSessionTokens, which is based on the implementation in the official OpenTok .NET SDK.

Example code (C#):

var credentials = new OpenTokProjectCredentials(12345, "secret_here");

var all_archives_five_newest = await Api.Archive.ListAsync(
    credentials,
    new OpenTokPagingParameters(0, OpenTokPageSize.NewCount(5)),
    OpenTokSessionId.Any);

var session = await Api.Session.CreateAsync(credentials, new Api.Session.CreationParameters());

var archive = await Api.Archive.StartAsync(
    credentials,
    new OpenTokArchiveStartRequest(session.Session_id) {
        OutputMode = "composed"
    });

var other_archives_same_session = await Api.Archive.ListAsync(
    credentials,
    new OpenTokPagingParameters(0, OpenTokPageSize.Default),
    OpenTokSessionId.NewId(session.Session_id));

await Api.Archive.StopAsync(credentials, archive.Id);
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  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
5.0.2 453 3/20/2022
5.0.1-beta2 189 4/26/2021
4.1.0 382 12/31/2020
4.0.1 383 9/28/2020
4.0.1-b3 232 9/28/2020
4.0.0-a2 318 4/17/2020
4.0.0-a1 323 4/13/2020
3.1.1-b2 462 4/4/2020
3.1.1-b1 506 4/4/2020
3.1.0 477 1/28/2020
2.1.2 485 10/4/2019
2.1.1 479 10/3/2019
2.1.0 495 7/15/2019
2.0.1 493 7/15/2019
2.0.0 544 7/11/2019
1.0.1 528 7/11/2019
1.0.0 518 7/10/2019
0.1.1 520 7/8/2019
0.1.0 514 7/8/2019

Add ability to set an archive storage target (Azure only; AWS not yet supported)