Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/plugnmeet/types/PlugNmeetAPI.ts>PlugNmeetAPI

Plug-N-Meet SDK for NodeJS and Deno
Latest
interface PlugNmeetAPI
import { type PlugNmeetAPI } from "https://deno.land/x/plugnmeet@v1.4.1/types/PlugNmeetAPI.ts";

Methods

createRoom(params: CreateRoomParams): Promise<CreateRoomResponse>

Create new room

getJoinToken(params: JoinTokenParams): Promise<JoinTokenResponse>

Generate join token

isRoomActive(params: IsRoomActiveParams): Promise<IsRoomActiveResponse>

If room is active or not

getActiveRoomInfo(params: ActiveRoomInfoParams): Promise<ActiveRoomInfoResponse>

Get active room information

getActiveRoomsInfo(): Promise<ActiveRoomsInfoResponse>

Get all active rooms

fetchPastRoomsInfo(params: FetchPastRoomsInfoParams): Promise<FetchRoomsInfoResponse>

Fetch info about past rooms

endRoom(params: EndRoomParams): Promise<EndRoomResponse>

End active room

fetchAnalytics(params: FetchAnalyticsParams): Promise<FetchAnalyticsResponse>

Fetch analytics

deleteAnalytics(params: DeleteAnalyticsParams): Promise<DeleteAnalyticsResponse>

Delete analytics

getAnalyticsDownloadToken(params: AnalyticsDownloadTokenParams): Promise<AnalyticsDownloadTokenResponse>

Generate token to download recording

fetchRecordings(params: FetchRecordingsParams): Promise<FetchRecordingsResponse>

Fetch recordings

deleteRecordings(params: DeleteRecordingsParams): Promise<DeleteRecordingsResponse>

Delete recording

getRecordingDownloadToken(params: RecordingDownloadTokenParams): Promise<RecordingDownloadTokenResponse>

Generate token to download recording

getClientFiles(): Promise<ClientFilesResponse>

To get JS & CSS files to build interface