Files
plexpy/tests/test_watchlist.py

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