mirror of
https://github.com/LukeHagar/plexpy.git
synced 2025-12-06 12:47:44 +00:00
23 lines
580 B
Python
23 lines
580 B
Python
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
|
|
from plex_api_client import PlexAPI
|
|
from plex_api_client.models import operations
|
|
|
|
|
|
def test_watchlist_get_watch_list():
|
|
s = PlexAPI(
|
|
access_token="<YOUR_API_KEY_HERE>",
|
|
)
|
|
|
|
assert s is not None
|
|
|
|
res = s.watchlist.get_watch_list(
|
|
request={
|
|
"filter_": operations.Filter.AVAILABLE,
|
|
"x_plex_container_start": 0,
|
|
"x_plex_container_size": 50,
|
|
"x_plex_token": "CV5xoxjTpFKUzBTShsaf",
|
|
}
|
|
)
|
|
assert res.status_code == 200
|