mirror of
https://github.com/LukeHagar/plex-sdk-docs.git
synced 2025-12-06 12:37:46 +00:00
ci: regenerated with OpenAPI Doc 0.0.3, Speakeasy CLI 1.136.1
This commit is contained in:
@@ -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 */}
|
||||
@@ -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() {
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
## Errors
|
||||
import LanguageSelector from 'src/components/LanguageSelector';
|
||||
import { H2 } from "src/components/TextHeaderWrapper";
|
||||
|
||||
<H2>Errors <LanguageSelector/></H2>
|
||||
|
||||
{/* render errors */}
|
||||
@@ -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 */}
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
## Installation
|
||||
import LanguageSelector from 'src/components/LanguageSelector';
|
||||
import { H2 } from "src/components/TextHeaderWrapper";
|
||||
|
||||
<H2>Installation <LanguageSelector/></H2>
|
||||
|
||||
{/* render installation */}
|
||||
@@ -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"
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
"plexgo/models/components"
|
||||
"plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
"plexgo/models/components"
|
||||
"plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
"plexgo/models/components"
|
||||
"plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
"plexgo/models/components"
|
||||
"plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
"plexgo/models/components"
|
||||
"plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
"plexgo/models/components"
|
||||
"plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
"plexgo/models/components"
|
||||
"plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
"plexgo/models/components"
|
||||
"plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
"plexgo/models/components"
|
||||
"plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
"plexgo/models/components"
|
||||
"plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
"plexgo/models/components"
|
||||
"plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -4,8 +4,8 @@
|
||||
package main
|
||||
|
||||
import(
|
||||
"plexgo/models/components"
|
||||
"plexgo"
|
||||
"github.com/LukeHagar/plexgo/models/components"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"context"
|
||||
"log"
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
@@ -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"
|
||||
)
|
||||
|
||||
@@ -11,8 +11,8 @@ package main
|
||||
|
||||
import (
|
||||
"context"
|
||||
"github.com/LukeHagar/plexgo"
|
||||
"log"
|
||||
"plexgo"
|
||||
)
|
||||
|
||||
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 */}
|
||||
@@ -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>"),
|
||||
)
|
||||
|
||||
|
||||
@@ -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 */}
|
||||
@@ -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 */}
|
||||
|
||||
@@ -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 */}
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -1,3 +1,6 @@
|
||||
## Errors
|
||||
import LanguageSelector from 'src/components/LanguageSelector';
|
||||
import { H2 } from "src/components/TextHeaderWrapper";
|
||||
|
||||
<H2>Errors <LanguageSelector/></H2>
|
||||
|
||||
{/* render errors */}
|
||||
@@ -1,5 +1,5 @@
|
||||
{/* Start Python Installation */}
|
||||
```bash
|
||||
pip install openapi
|
||||
pip install plexpy
|
||||
```
|
||||
{/* 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 */}
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
|
||||
<CH.Code>
|
||||
```python LogLine.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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
|
||||
<CH.Code>
|
||||
```python LogMultiLine.py
|
||||
import sdk
|
||||
import plex_api
|
||||
|
||||
s = sdk.SDK(
|
||||
s = plex_api.PlexAPI(
|
||||
access_token="<YOUR_API_KEY_HERE>",
|
||||
)
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
|
||||
<CH.Code>
|
||||
```python MarkPlayed.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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
|
||||
<CH.Code>
|
||||
```python MarkUnplayed.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>",
|
||||
)
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
|
||||
<CH.Code>
|
||||
```python UpdatePlayProgress.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>",
|
||||
)
|
||||
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user