Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 379 Bytes

File metadata and controls

15 lines (11 loc) · 379 Bytes
import { Client, Presences } from "@appwrite.io/console";

const client = new Client()
    .setEndpoint('https://<REGION>.cloud.appwrite.io/v1') // Your API Endpoint
    .setProject('<YOUR_PROJECT_ID>'); // Your project ID

const presences = new Presences(client);

const result = await presences.get({
    presenceId: '<PRESENCE_ID>'
});

console.log(result);