Skip to content

Latest commit

 

History

History
19 lines (14 loc) · 360 Bytes

USAGE.md

File metadata and controls

19 lines (14 loc) · 360 Bytes
import { PlexAPI } from "@lukehagar/plexjs";

const plexAPI = new PlexAPI({
  accessToken: "<YOUR_API_KEY_HERE>",
});

async function run() {
  const result = await plexAPI.server.getServerCapabilities();

  // Handle the result
  console.log(result);
}

run();