dependabot[bot] 6589fbdcd1 Bump decode-uri-component from 0.2.0 to 0.2.2 in /examples
Bumps [decode-uri-component](https://github.com/SamVerschueren/decode-uri-component) from 0.2.0 to 0.2.2.
- [Release notes](https://github.com/SamVerschueren/decode-uri-component/releases)
- [Commits](https://github.com/SamVerschueren/decode-uri-component/compare/v0.2.0...v0.2.2)

---
updated-dependencies:
- dependency-name: decode-uri-component
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 13:24:30 +00:00
2023-04-19 22:38:23 -05:00
2023-07-18 08:20:03 -05:00
2023-05-05 18:59:56 +00:00
2023-04-17 15:08:25 -05:00
2023-04-18 20:27:16 -05:00

Plex API Client

Description

A typescript sdk for interacting with Plex.tv and Plex Media Server REST API's.

Documentation for all of the available endpoints can be found here

Installation

npm

npm install @lukehagar/plexjs

yarn

yarn add @lukehagar/plexjs

Usage

import {
  Configuration,
  ServerApi,
  DevicesApi,
  UserApi,
} from "@lukehagar/plexjs";
import dotenv from "dotenv";
dotenv.config();

const config = new Configuration({
  basePath: process.env.BASE_PATH,
  plexToken: process.env.PLEX_TOKEN,
});

new ServerApi(config).getServerCapabilities().then((resp) => console.log(resp));

new DevicesApi(config).getDevices().then((resp) => console.log(resp));

new UserApi(config).getUserDetails().then((resp) => console.log(resp));
Description
No description provided
Readme 43 MiB
Languages
TypeScript 100%