mirror of
https://github.com/LukeHagar/plex-sdk-docs.git
synced 2025-12-06 04:20:46 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.136.1
This commit is contained in:
32
.gitignore
vendored
32
.gitignore
vendored
@@ -10,119 +10,87 @@ yarn-debug.log*
|
|||||||
yarn-error.log*
|
yarn-error.log*
|
||||||
lerna-debug.log*
|
lerna-debug.log*
|
||||||
.pnpm-debug.log*
|
.pnpm-debug.log*
|
||||||
|
|
||||||
# Diagnostic reports (https://nodejs.org/api/report.html)
|
# Diagnostic reports (https://nodejs.org/api/report.html)
|
||||||
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
|
||||||
|
|
||||||
# Runtime data
|
# Runtime data
|
||||||
pids
|
pids
|
||||||
*.pid
|
*.pid
|
||||||
*.seed
|
*.seed
|
||||||
*.pid.lock
|
*.pid.lock
|
||||||
|
|
||||||
# Directory for instrumented libs generated by jscoverage/JSCover
|
# Directory for instrumented libs generated by jscoverage/JSCover
|
||||||
lib-cov
|
lib-cov
|
||||||
|
|
||||||
# Coverage directory used by tools like istanbul
|
# Coverage directory used by tools like istanbul
|
||||||
coverage
|
coverage
|
||||||
*.lcov
|
*.lcov
|
||||||
|
|
||||||
# nyc test coverage
|
# nyc test coverage
|
||||||
.nyc_output
|
.nyc_output
|
||||||
|
|
||||||
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
|
||||||
.grunt
|
.grunt
|
||||||
|
|
||||||
# Bower dependency directory (https://bower.io/)
|
# Bower dependency directory (https://bower.io/)
|
||||||
bower_components
|
bower_components
|
||||||
|
|
||||||
# node-waf configuration
|
# node-waf configuration
|
||||||
.lock-wscript
|
.lock-wscript
|
||||||
|
|
||||||
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
# Compiled binary addons (https://nodejs.org/api/addons.html)
|
||||||
build/Release
|
build/Release
|
||||||
|
|
||||||
# Dependency directories
|
# Dependency directories
|
||||||
node_modules/
|
node_modules/
|
||||||
jspm_packages/
|
jspm_packages/
|
||||||
|
|
||||||
# Snowpack dependency directory (https://snowpack.dev/)
|
# Snowpack dependency directory (https://snowpack.dev/)
|
||||||
web_modules/
|
web_modules/
|
||||||
|
|
||||||
# TypeScript cache
|
# TypeScript cache
|
||||||
*.tsbuildinfo
|
*.tsbuildinfo
|
||||||
|
|
||||||
# Optional npm cache directory
|
# Optional npm cache directory
|
||||||
.npm
|
.npm
|
||||||
|
|
||||||
# Optional eslint cache
|
# Optional eslint cache
|
||||||
.eslintcache
|
.eslintcache
|
||||||
|
|
||||||
# Optional stylelint cache
|
# Optional stylelint cache
|
||||||
.stylelintcache
|
.stylelintcache
|
||||||
|
|
||||||
# Microbundle cache
|
# Microbundle cache
|
||||||
.rpt2_cache/
|
.rpt2_cache/
|
||||||
.rts2_cache_cjs/
|
.rts2_cache_cjs/
|
||||||
.rts2_cache_es/
|
.rts2_cache_es/
|
||||||
.rts2_cache_umd/
|
.rts2_cache_umd/
|
||||||
|
|
||||||
# Optional REPL history
|
# Optional REPL history
|
||||||
.node_repl_history
|
.node_repl_history
|
||||||
|
|
||||||
# Output of 'npm pack'
|
# Output of 'npm pack'
|
||||||
*.tgz
|
*.tgz
|
||||||
|
|
||||||
# Yarn Integrity file
|
# Yarn Integrity file
|
||||||
.yarn-integrity
|
.yarn-integrity
|
||||||
|
|
||||||
# dotenv environment variable files
|
# dotenv environment variable files
|
||||||
.env
|
.env
|
||||||
.env.development.local
|
.env.development.local
|
||||||
.env.test.local
|
.env.test.local
|
||||||
.env.production.local
|
.env.production.local
|
||||||
.env.local
|
.env.local
|
||||||
|
|
||||||
# parcel-bundler cache (https://parceljs.org/)
|
# parcel-bundler cache (https://parceljs.org/)
|
||||||
.cache
|
.cache
|
||||||
.parcel-cache
|
.parcel-cache
|
||||||
|
|
||||||
# Next.js build output
|
# Next.js build output
|
||||||
.next
|
.next
|
||||||
out
|
out
|
||||||
|
|
||||||
# Nuxt.js build / generate output
|
# Nuxt.js build / generate output
|
||||||
.nuxt
|
.nuxt
|
||||||
dist
|
dist
|
||||||
|
|
||||||
# Gatsby files
|
# Gatsby files
|
||||||
.cache/
|
.cache/
|
||||||
# Comment in the public line in if your project uses Gatsby and not Next.js
|
# 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
|
# https://nextjs.org/blog/next-9-1#public-directory-support
|
||||||
# public
|
# public
|
||||||
|
|
||||||
# vuepress build output
|
# vuepress build output
|
||||||
.vuepress/dist
|
.vuepress/dist
|
||||||
|
|
||||||
# vuepress v2.x temp and cache directory
|
# vuepress v2.x temp and cache directory
|
||||||
.temp
|
.temp
|
||||||
.cache
|
.cache
|
||||||
|
|
||||||
# Serverless directories
|
# Serverless directories
|
||||||
.serverless/
|
.serverless/
|
||||||
|
|
||||||
# FuseBox cache
|
# FuseBox cache
|
||||||
.fusebox/
|
.fusebox/
|
||||||
|
|
||||||
# DynamoDB Local files
|
# DynamoDB Local files
|
||||||
.dynamodb/
|
.dynamodb/
|
||||||
|
|
||||||
# TernJS port file
|
# TernJS port file
|
||||||
.tern-port
|
.tern-port
|
||||||
|
|
||||||
# Stores VSCode versions used for testing VSCode extensions
|
# Stores VSCode versions used for testing VSCode extensions
|
||||||
.vscode-test
|
.vscode-test
|
||||||
|
|
||||||
# yarn v2
|
# yarn v2
|
||||||
.yarn/cache
|
.yarn/cache
|
||||||
.yarn/unplugged
|
.yarn/unplugged
|
||||||
|
|||||||
4510
.speakeasy/gen.lock
Executable file
4510
.speakeasy/gen.lock
Executable file
File diff suppressed because it is too large
Load Diff
2
Makefile
2
Makefile
@@ -1,2 +1,2 @@
|
|||||||
docs:
|
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
7
RELEASES.md
Normal 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
|
||||||
@@ -18,7 +18,7 @@ import { useSetPage } from '@/src/components/scrollManager';
|
|||||||
|
|
||||||
export const Languages = ["python", "typescript", "go", "curl"];
|
export const Languages = ["python", "typescript", "go", "curl"];
|
||||||
export type Language = (typeof Languages)[number];
|
export type Language = (typeof Languages)[number];
|
||||||
export const DefaultLanguage = 'typescript';
|
export const DefaultLanguage = 'go';
|
||||||
|
|
||||||
export const LanguageProvider = (props: { children: ReactNode }) => {
|
export const LanguageProvider = (props: { children: ReactNode }) => {
|
||||||
const slug = usePathname();
|
const slug = usePathname();
|
||||||
|
|||||||
@@ -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 */}
|
{/* render custom_http_client */}
|
||||||
@@ -11,10 +11,10 @@ package main
|
|||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
|
"github.com/LukeHagar/plexgo"
|
||||||
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
|
"github.com/LukeHagar/plexgo/models/sdkerrors"
|
||||||
"log"
|
"log"
|
||||||
"plexgo"
|
|
||||||
"plexgo/models/components"
|
|
||||||
"plexgo/models/sdkerrors"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
## Errors
|
import LanguageSelector from 'src/components/LanguageSelector';
|
||||||
|
import { H2 } from "src/components/TextHeaderWrapper";
|
||||||
|
|
||||||
|
<H2>Errors <LanguageSelector/></H2>
|
||||||
|
|
||||||
{/* render errors */}
|
{/* render errors */}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{/* Start Go Installation */}
|
{/* Start Go Installation */}
|
||||||
```bash
|
```bash
|
||||||
go get github.com/speakeasy-sdks/template-speakeasy-bar
|
go get github.com/LukeHagar/plexgo
|
||||||
```
|
```
|
||||||
{/* End Go Installation */}
|
{/* End Go Installation */}
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
## Installation
|
import LanguageSelector from 'src/components/LanguageSelector';
|
||||||
|
import { H2 } from "src/components/TextHeaderWrapper";
|
||||||
|
|
||||||
|
<H2>Installation <LanguageSelector/></H2>
|
||||||
|
|
||||||
{/* render installation */}
|
{/* render installation */}
|
||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,9 +4,9 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,8 +4,8 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -4,10 +4,10 @@
|
|||||||
package main
|
package main
|
||||||
|
|
||||||
import(
|
import(
|
||||||
"plexgo/models/components"
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"plexgo"
|
"github.com/LukeHagar/plexgo"
|
||||||
"context"
|
"context"
|
||||||
"plexgo/models/operations"
|
"github.com/LukeHagar/plexgo/models/operations"
|
||||||
"log"
|
"log"
|
||||||
"net/http"
|
"net/http"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -11,8 +11,8 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"github.com/LukeHagar/plexgo"
|
||||||
"log"
|
"log"
|
||||||
"plexgo"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -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 */}
|
{/* render security_options */}
|
||||||
@@ -13,14 +13,14 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"github.com/LukeHagar/plexgo"
|
||||||
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"log"
|
"log"
|
||||||
"plexgo"
|
|
||||||
"plexgo/models/components"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
s := plexgo.New(
|
s := plexgo.New(
|
||||||
plexgo.WithServerIndex(1),
|
plexgo.WithServerIndex(0),
|
||||||
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -52,14 +52,14 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"github.com/LukeHagar/plexgo"
|
||||||
|
"github.com/LukeHagar/plexgo/models/components"
|
||||||
"log"
|
"log"
|
||||||
"plexgo"
|
|
||||||
"plexgo/models/components"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
s := plexgo.New(
|
s := plexgo.New(
|
||||||
plexgo.WithServerURL("http://10.10.10.47:32400"),
|
plexgo.WithServerURL("{protocol}://{ip}:{port}"),
|
||||||
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
plexgo.WithSecurity("<YOUR_API_KEY_HERE>"),
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -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 */}
|
{/* render server_options */}
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
{/* Start Python Custom HTTP Client */}
|
{/* 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:
|
For example, you could specify a header for every request that this sdk makes as follows:
|
||||||
```python
|
```python
|
||||||
import sdk
|
import plex_api
|
||||||
import requests
|
import requests
|
||||||
|
|
||||||
http_client = requests.Session()
|
http_client = requests.Session()
|
||||||
http_client.headers.update({'x-custom-header': 'someValue'})
|
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 */}
|
{/* End Python Custom HTTP Client */}
|
||||||
|
|||||||
@@ -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 */}
|
{/* render custom_http_client */}
|
||||||
@@ -6,9 +6,9 @@ Handling errors in this SDK should largely match your expectations. All operati
|
|||||||
### Example
|
### Example
|
||||||
|
|
||||||
```python
|
```python
|
||||||
import sdk
|
import plex_api
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
## Errors
|
import LanguageSelector from 'src/components/LanguageSelector';
|
||||||
|
import { H2 } from "src/components/TextHeaderWrapper";
|
||||||
|
|
||||||
|
<H2>Errors <LanguageSelector/></H2>
|
||||||
|
|
||||||
{/* render errors */}
|
{/* render errors */}
|
||||||
@@ -1,5 +1,5 @@
|
|||||||
{/* Start Python Installation */}
|
{/* Start Python Installation */}
|
||||||
```bash
|
```bash
|
||||||
pip install openapi
|
pip install plexpy
|
||||||
```
|
```
|
||||||
{/* End Python Installation */}
|
{/* End Python Installation */}
|
||||||
|
|||||||
@@ -1,3 +1,6 @@
|
|||||||
## Installation
|
import LanguageSelector from 'src/components/LanguageSelector';
|
||||||
|
import { H2 } from "src/components/TextHeaderWrapper";
|
||||||
|
|
||||||
|
<H2>Installation <LanguageSelector/></H2>
|
||||||
|
|
||||||
{/* render installation */}
|
{/* render installation */}
|
||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python CancelServerActivities.py
|
```python CancelServerActivities.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetServerActivities.py
|
```python GetServerActivities.py
|
||||||
import sdk
|
import plex_api
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetButlerTasks.py
|
```python GetButlerTasks.py
|
||||||
import sdk
|
import plex_api
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python StartAllTasks.py
|
```python StartAllTasks.py
|
||||||
import sdk
|
import plex_api
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python StartTask.py
|
```python StartTask.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python StopAllTasks.py
|
```python StopAllTasks.py
|
||||||
import sdk
|
import plex_api
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python StopTask.py
|
```python StopTask.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetGlobalHubs.py
|
```python GetGlobalHubs.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetLibraryHubs.py
|
```python GetLibraryHubs.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python DeleteLibrary.py
|
```python DeleteLibrary.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetCommonLibraryItems.py
|
```python GetCommonLibraryItems.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetFileHash.py
|
```python GetFileHash.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetLatestLibraryItems.py
|
```python GetLatestLibraryItems.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetLibraries.py
|
```python GetLibraries.py
|
||||||
import sdk
|
import plex_api
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetLibrary.py
|
```python GetLibrary.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetLibraryItems.py
|
```python GetLibraryItems.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetMetadata.py
|
```python GetMetadata.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetMetadataChildren.py
|
```python GetMetadataChildren.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetOnDeck.py
|
```python GetOnDeck.py
|
||||||
import sdk
|
import plex_api
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python GetRecentlyAdded.py
|
```python GetRecentlyAdded.py
|
||||||
import sdk
|
import plex_api
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python RefreshLibrary.py
|
```python RefreshLibrary.py
|
||||||
import sdk
|
import plex_api
|
||||||
from sdk.models import operations
|
from plex_api.models import operations
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
|
|
||||||
<CH.Code>
|
<CH.Code>
|
||||||
```python EnablePaperTrail.py
|
```python EnablePaperTrail.py
|
||||||
import sdk
|
import plex_api
|
||||||
|
|
||||||
s = sdk.SDK(
|
s = plex_api.PlexAPI(
|
||||||
access_token="<YOUR_API_KEY_HERE>",
|
access_token="<YOUR_API_KEY_HERE>",
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user