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.285.0
This commit is contained in:
@@ -25,10 +25,7 @@ const plexAPI = new PlexAPI({
|
||||
});
|
||||
|
||||
async function run() {
|
||||
const strong = false;
|
||||
const xPlexClientIdentifier = "Postman";
|
||||
|
||||
const result = await plexAPI.plex.getPin(strong, xPlexClientIdentifier);
|
||||
const result = await plexAPI.plex.getPin(false, "Postman");
|
||||
|
||||
// Handle the result
|
||||
console.log(result)
|
||||
@@ -72,10 +69,7 @@ const plexAPI = new PlexAPI({
|
||||
});
|
||||
|
||||
async function run() {
|
||||
const pinID = "<value>";
|
||||
const xPlexClientIdentifier = "Postman";
|
||||
|
||||
const result = await plexAPI.plex.getToken(pinID, xPlexClientIdentifier);
|
||||
const result = await plexAPI.plex.getToken("<value>", "Postman");
|
||||
|
||||
// Handle the result
|
||||
console.log(result)
|
||||
|
||||
Reference in New Issue
Block a user