ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.252.0

This commit is contained in:
speakeasybot
2024-04-13 00:26:21 +00:00
parent 0d73a769fb
commit 779aa2dc9e
23 changed files with 431 additions and 420 deletions

View File

@@ -20,15 +20,15 @@ Retrieve a Pin from Plex.tv for authentication flows
```typescript
import { PlexAPI } from "@lukehagar/plexjs";
async function run() {
const sdk = new PlexAPI({
xPlexClientIdentifier: "<value>",
});
const plexAPI = new PlexAPI({
xPlexClientIdentifier: "<value>",
});
async function run() {
const strong = false;
const xPlexClientIdentifier = "<value>";
const result = await sdk.plex.getPin(strong, xPlexClientIdentifier);
const result = await plexAPI.plex.getPin(strong, xPlexClientIdentifier);
// Handle the result
console.log(result)
@@ -67,15 +67,15 @@ Retrieve an Access Token from Plex.tv after the Pin has already been authenticat
```typescript
import { PlexAPI } from "@lukehagar/plexjs";
async function run() {
const sdk = new PlexAPI({
xPlexClientIdentifier: "<value>",
});
const plexAPI = new PlexAPI({
xPlexClientIdentifier: "<value>",
});
async function run() {
const pinID = "<value>";
const xPlexClientIdentifier = "<value>";
const result = await sdk.plex.getToken(pinID, xPlexClientIdentifier);
const result = await plexAPI.plex.getToken(pinID, xPlexClientIdentifier);
// Handle the result
console.log(result)