ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.136.1

This commit is contained in:
speakeasybot
2024-01-11 22:04:07 +00:00
parent 5121a0365c
commit a72d859944
419 changed files with 5569 additions and 957 deletions

32
.gitignore vendored
View File

@@ -10,119 +10,87 @@ yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-debug.log*
# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
# Runtime data
pids
*.pid
*.seed
*.pid.lock
# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov
# Coverage directory used by tools like istanbul
coverage
*.lcov
# nyc test coverage
.nyc_output
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt
# Bower dependency directory (https://bower.io/)
bower_components
# node-waf configuration
.lock-wscript
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# Snowpack dependency directory (https://snowpack.dev/)
web_modules/
# TypeScript cache
*.tsbuildinfo
# Optional npm cache directory
.npm
# Optional eslint cache
.eslintcache
# Optional stylelint cache
.stylelintcache
# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/
# Optional REPL history
.node_repl_history
# Output of 'npm pack'
*.tgz
# Yarn Integrity file
.yarn-integrity
# dotenv environment variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local
# parcel-bundler cache (https://parceljs.org/)
.cache
.parcel-cache
# Next.js build output
.next
out
# Nuxt.js build / generate output
.nuxt
dist
# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and not Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public
# vuepress build output
.vuepress/dist
# vuepress v2.x temp and cache directory
.temp
.cache
# Serverless directories
.serverless/
# FuseBox cache
.fusebox/
# DynamoDB Local files
.dynamodb/
# TernJS port file
.tern-port
# Stores VSCode versions used for testing VSCode extensions
.vscode-test
# yarn v2
.yarn/cache
.yarn/unplugged

4510
.speakeasy/gen.lock Executable file

File diff suppressed because it is too large Load Diff

View File

@@ -1,2 +1,2 @@
docs:
speakeasy generate docs --schema https://raw.githubusercontent.com/LukeHagar/plex-api-spec/main/plex-media-server-spec-dereferenced.yaml --out ./ --langs python,typescript,go,curl --compile
speakeasy generate docs --schema /github/workspace/openapi/openapi_0 --out ./ --langs python,typescript,go,curl --compile

7
RELEASES.md Normal file
View File

@@ -0,0 +1,7 @@
## 2024-01-11 22:02:21
### Changes
Based on:
- OpenAPI Doc 0.0.3
- Speakeasy CLI 1.136.1 (2.231.0) https://github.com/speakeasy-api/speakeasy

View File

@@ -18,7 +18,7 @@ import { useSetPage } from '@/src/components/scrollManager';
export const Languages = ["python", "typescript", "go", "curl"];
export type Language = (typeof Languages)[number];
export const DefaultLanguage = 'typescript';
export const DefaultLanguage = 'go';
export const LanguageProvider = (props: { children: ReactNode }) => {
const slug = usePathname();

View File

@@ -1,3 +1,6 @@
## Custom HTTP Client
import LanguageSelector from 'src/components/LanguageSelector';
import { H2 } from "src/components/TextHeaderWrapper";
<H2>Custom HTTP Client <LanguageSelector/></H2>
{/* render custom_http_client */}

View File

@@ -11,10 +11,10 @@ package main
import (
"context"
"errors"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo/models/sdkerrors"
"log"
"plexgo"
"plexgo/models/components"
"plexgo/models/sdkerrors"
)
func main() {

View File

@@ -1,3 +1,6 @@
## Errors
import LanguageSelector from 'src/components/LanguageSelector';
import { H2 } from "src/components/TextHeaderWrapper";
<H2>Errors <LanguageSelector/></H2>
{/* render errors */}

View File

@@ -1,5 +1,5 @@
{/* Start Go Installation */}
```bash
go get github.com/speakeasy-sdks/template-speakeasy-bar
go get github.com/LukeHagar/plexgo
```
{/* End Go Installation */}

View File

@@ -1,3 +1,6 @@
## Installation
import LanguageSelector from 'src/components/LanguageSelector';
import { H2 } from "src/components/TextHeaderWrapper";
<H2>Installation <LanguageSelector/></H2>
{/* render installation */}

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,9 +4,9 @@
package main
import(
"plexgo/models/components"
"plexgo"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/operations"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,9 +4,9 @@
package main
import(
"plexgo/models/components"
"plexgo"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/operations"
"context"
"log"
"net/http"

View File

@@ -4,9 +4,9 @@
package main
import(
"plexgo/models/components"
"plexgo"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/operations"
"context"
"log"
"net/http"

View File

@@ -4,9 +4,9 @@
package main
import(
"plexgo/models/components"
"plexgo"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/operations"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,9 +4,9 @@
package main
import(
"plexgo/models/components"
"plexgo"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/operations"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,9 +4,9 @@
package main
import(
"plexgo/models/components"
"plexgo"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/operations"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,10 +4,10 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/operations"
"log"
"net/http"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,9 +4,9 @@
package main
import(
"plexgo/models/components"
"plexgo"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/operations"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,9 +4,9 @@
package main
import(
"plexgo/models/components"
"plexgo"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/operations"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,9 +4,9 @@
package main
import(
"plexgo/models/components"
"plexgo"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/operations"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
)

View File

@@ -4,10 +4,10 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/operations"
"log"
"net/http"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
)

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,9 +4,9 @@
package main
import(
"plexgo/models/components"
"plexgo"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/operations"
"context"
"log"
"net/http"

View File

@@ -4,9 +4,9 @@
package main
import(
"plexgo/models/components"
"plexgo"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/operations"
"context"
"log"
"net/http"

View File

@@ -4,8 +4,8 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"log"
"net/http"

View File

@@ -4,10 +4,10 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/operations"
"log"
"net/http"
)

View File

@@ -4,10 +4,10 @@
package main
import(
"plexgo/models/components"
"plexgo"
"github.com/LukeHagar/plexgo/models/components"
"github.com/LukeHagar/plexgo"
"context"
"plexgo/models/operations"
"github.com/LukeHagar/plexgo/models/operations"
"log"
"net/http"
)

View File

@@ -11,8 +11,8 @@ package main
import (
"context"
"github.com/LukeHagar/plexgo"
"log"
"plexgo"
)
func main() {

View File

@@ -1,3 +1,6 @@
## Security Options
import LanguageSelector from 'src/components/LanguageSelector';
import { H2 } from "src/components/TextHeaderWrapper";
<H2>Security Options <LanguageSelector/></H2>
{/* render security_options */}

View File

@@ -13,14 +13,14 @@ package main
import (
"context"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/components"
"log"
"plexgo"
"plexgo/models/components"
)
func main() {
s := plexgo.New(
plexgo.WithServerIndex(1),
plexgo.WithServerIndex(0),
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
)
@@ -52,14 +52,14 @@ package main
import (
"context"
"github.com/LukeHagar/plexgo"
"github.com/LukeHagar/plexgo/models/components"
"log"
"plexgo"
"plexgo/models/components"
)
func main() {
s := plexgo.New(
plexgo.WithServerURL("http://10.10.10.47:32400"),
plexgo.WithServerURL("{protocol}://{ip}:{port}"),
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
)

View File

@@ -1,3 +1,6 @@
## Server Options
import LanguageSelector from 'src/components/LanguageSelector';
import { H2 } from "src/components/TextHeaderWrapper";
<H2>Server Options <LanguageSelector/></H2>
{/* render server_options */}

View File

@@ -1,13 +1,13 @@
{/* Start Python Custom HTTP Client */}
The Python SDK makes API calls using the (requests)[https://pypi.org/project/requests/] HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `requests.Session` object.
The Python SDK makes API calls using the [requests](https://pypi.org/project/requests/) HTTP library. In order to provide a convenient way to configure timeouts, cookies, proxies, custom headers, and other low-level configuration, you can initialize the SDK client with a custom `requests.Session` object.
For example, you could specify a header for every request that this sdk makes as follows:
```python
import sdk
import plex_api
import requests
http_client = requests.Session()
http_client.headers.update({'x-custom-header': 'someValue'})
s = sdk.SDK(client: http_client)
s = plex_api.PlexAPI(client: http_client)
```
{/* End Python Custom HTTP Client */}

View File

@@ -1,3 +1,6 @@
## Custom HTTP Client
import LanguageSelector from 'src/components/LanguageSelector';
import { H2 } from "src/components/TextHeaderWrapper";
<H2>Custom HTTP Client <LanguageSelector/></H2>
{/* render custom_http_client */}

View File

@@ -6,9 +6,9 @@ Handling errors in this SDK should largely match your expectations. All operati
### Example
```python
import sdk
import plex_api
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,3 +1,6 @@
## Errors
import LanguageSelector from 'src/components/LanguageSelector';
import { H2 } from "src/components/TextHeaderWrapper";
<H2>Errors <LanguageSelector/></H2>
{/* render errors */}

View File

@@ -1,5 +1,5 @@
{/* Start Python Installation */}
```bash
pip install openapi
pip install plexpy
```
{/* End Python Installation */}

View File

@@ -1,3 +1,6 @@
## Installation
import LanguageSelector from 'src/components/LanguageSelector';
import { H2 } from "src/components/TextHeaderWrapper";
<H2>Installation <LanguageSelector/></H2>
{/* render installation */}

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python CancelServerActivities.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,9 +1,9 @@
<CH.Code>
```python GetServerActivities.py
import sdk
import plex_api
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,9 +1,9 @@
<CH.Code>
```python GetButlerTasks.py
import sdk
import plex_api
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,9 +1,9 @@
<CH.Code>
```python StartAllTasks.py
import sdk
import plex_api
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python StartTask.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,9 +1,9 @@
<CH.Code>
```python StopAllTasks.py
import sdk
import plex_api
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python StopTask.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python GetGlobalHubs.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python GetLibraryHubs.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python DeleteLibrary.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python GetCommonLibraryItems.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python GetFileHash.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python GetLatestLibraryItems.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,9 +1,9 @@
<CH.Code>
```python GetLibraries.py
import sdk
import plex_api
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python GetLibrary.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python GetLibraryItems.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python GetMetadata.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python GetMetadataChildren.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,9 +1,9 @@
<CH.Code>
```python GetOnDeck.py
import sdk
import plex_api
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,9 +1,9 @@
<CH.Code>
```python GetRecentlyAdded.py
import sdk
import plex_api
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,10 +1,10 @@
<CH.Code>
```python RefreshLibrary.py
import sdk
from sdk.models import operations
import plex_api
from plex_api.models import operations
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

View File

@@ -1,9 +1,9 @@
<CH.Code>
```python EnablePaperTrail.py
import sdk
import plex_api
s = sdk.SDK(
s = plex_api.PlexAPI(
access_token="<YOUR_API_KEY_HERE>",
)

Some files were not shown because too many files have changed in this diff Show More