mirror of
https://github.com/LukeHagar/plexcsharp.git
synced 2025-12-09 20:47:50 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.459.2
This commit is contained in:
@@ -18,23 +18,16 @@ Get User Watchlist
|
||||
|
||||
```csharp
|
||||
using LukeHagar.PlexAPI.SDK;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Components;
|
||||
using LukeHagar.PlexAPI.SDK.Models.Requests;
|
||||
|
||||
var sdk = new PlexAPI(
|
||||
accessToken: "<YOUR_API_KEY_HERE>",
|
||||
clientID: "3381b62b-9ab7-4e37-827b-203e9809eb58",
|
||||
clientName: "Plex for Roku",
|
||||
clientVersion: "2.4.1",
|
||||
platform: "Roku",
|
||||
deviceNickname: "Roku 3"
|
||||
);
|
||||
var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");
|
||||
|
||||
GetWatchListRequest req = new GetWatchListRequest() {
|
||||
Filter = LukeHagar.PlexAPI.SDK.Models.Requests.Filter.Available,
|
||||
XPlexToken = "CV5xoxjTpFKUzBTShsaf",
|
||||
Filter = Filter.Available,
|
||||
XPlexContainerStart = 0,
|
||||
XPlexContainerSize = 50,
|
||||
XPlexToken = "CV5xoxjTpFKUzBTShsaf",
|
||||
};
|
||||
|
||||
var res = await sdk.Watchlist.GetWatchListAsync(req);
|
||||
|
||||
Reference in New Issue
Block a user