mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-09 20:47:47 +00:00
9 lines
227 B
TypeScript
9 lines
227 B
TypeScript
import { PlexSDK } from '@lukehagar/plexjs';
|
|
|
|
const sdk = new PlexSDK({ apiKey: process.env.PLEXSDK_API_KEY_TOKEN });
|
|
|
|
(async () => {
|
|
const result = await sdk.server.getServerCapabilities();
|
|
console.log(result.data);
|
|
})();
|