dependabot[bot] c170ec368b Bump tough-cookie from 4.1.2 to 4.1.3 in /examples
Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3.
- [Release notes](https://github.com/salesforce/tough-cookie/releases)
- [Changelog](https://github.com/salesforce/tough-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/salesforce/tough-cookie/compare/v4.1.2...v4.1.3)

---
updated-dependencies:
- dependency-name: tough-cookie
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-07-18 13:22:27 +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%