mirror of
https://github.com/LukeHagar/plexjs.git
synced 2025-12-06 04:20:46 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.474.0
This commit is contained in:
@@ -622,7 +622,7 @@ actions:
|
||||
});
|
||||
|
||||
async function run() {
|
||||
const result = await plexAPI.library.getMetadataChildren(1539.15, "Stream");
|
||||
const result = await plexAPI.library.getMetadataChildren(1539.14, "Stream");
|
||||
|
||||
// Handle the result
|
||||
console.log(result);
|
||||
@@ -820,13 +820,14 @@ actions:
|
||||
label: details
|
||||
source: |-
|
||||
import { PlexAPI } from "@lukehagar/plexjs";
|
||||
import { IncludeDetails } from "@lukehagar/plexjs/sdk/models/operations";
|
||||
|
||||
const plexAPI = new PlexAPI({
|
||||
accessToken: "<YOUR_API_KEY_HERE>",
|
||||
});
|
||||
|
||||
async function run() {
|
||||
const result = await plexAPI.library.getLibraryDetails(9518);
|
||||
const result = await plexAPI.library.getLibraryDetails(9518, IncludeDetails.Zero);
|
||||
|
||||
// Handle the result
|
||||
console.log(result);
|
||||
@@ -1053,6 +1054,7 @@ actions:
|
||||
|
||||
async function run() {
|
||||
const result = await plexAPI.plex.getPin({
|
||||
strong: false,
|
||||
clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||
clientName: "Plex for Roku",
|
||||
deviceNickname: "Roku 3",
|
||||
@@ -1210,7 +1212,7 @@ actions:
|
||||
});
|
||||
|
||||
async function run() {
|
||||
const result = await plexAPI.playlists.updatePlaylist(3915.00);
|
||||
const result = await plexAPI.playlists.updatePlaylist(3915);
|
||||
|
||||
// Handle the result
|
||||
console.log(result);
|
||||
@@ -1271,7 +1273,7 @@ actions:
|
||||
});
|
||||
|
||||
async function run() {
|
||||
const result = await plexAPI.playlists.addPlaylistContents(8502.00, "server://12345/com.plexapp.plugins.library/library/metadata/1", 123);
|
||||
const result = await plexAPI.playlists.addPlaylistContents(8502.01, "server://12345/com.plexapp.plugins.library/library/metadata/1", 123);
|
||||
|
||||
// Handle the result
|
||||
console.log(result);
|
||||
@@ -1622,6 +1624,7 @@ actions:
|
||||
requestBody: {
|
||||
login: "username@email.com",
|
||||
password: "password123",
|
||||
rememberMe: false,
|
||||
verificationCode: "123456",
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user