plex-api-client 0.21.0__tar.gz → 0.21.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/PKG-INFO +34 -2
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/README-PYPI.md +33 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/pyproject.toml +2 -2
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/_version.py +3 -3
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/activities.py +28 -28
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/authentication.py +56 -56
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/butler.py +86 -70
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/hubs.py +28 -28
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/library.py +630 -182
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/log.py +50 -42
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/media.py +74 -70
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/__init__.py +36 -0
- plex_api_client-0.21.2/src/plex_api_client/models/errors/get_countries_library.py +79 -0
- plex_api_client-0.21.2/src/plex_api_client/models/errors/get_genres_library.py +79 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/__init__.py +48 -4
- plex_api_client-0.21.2/src/plex_api_client/models/operations/get_countries_library.py +135 -0
- plex_api_client-0.21.2/src/plex_api_client/models/operations/get_genres_library.py +137 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_library_items.py +15 -15
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_recently_added.py +15 -15
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_recently_added_library.py +4 -4
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_search_all_libraries.py +15 -15
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/playlists.py +130 -126
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/plex.py +104 -92
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/search.py +42 -42
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/server.py +124 -120
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/sessions.py +60 -56
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/statistics.py +42 -42
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/updater.py +46 -46
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/video.py +32 -28
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/watchlist.py +14 -14
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/LICENSE.md +0 -0
- {plex_api_client-0.21.0/src/plex_api_client → plex_api_client-0.21.2}/py.typed +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/__init__.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/_hooks/__init__.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/_hooks/registration.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/_hooks/sdkhooks.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/_hooks/types.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/basesdk.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/httpclient.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/components/__init__.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/components/security.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/addplaylistcontents.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/applyupdates.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/cancelserveractivities.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/checkforupdates.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/clearplaylistcontents.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/createplaylist.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/deletelibrary.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/deleteplaylist.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/enablepapertrail.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_all_libraries.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_banner_image.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_library_details.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_library_items.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_media_providers.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_meta_data_by_rating_key.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_recently_added_library.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_refresh_library_metadata.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_search_all_libraries.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_search_library.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_server_identity.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_server_resources.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_thumb_image.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/get_watch_list.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getavailableclients.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getbandwidthstatistics.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getbutlertasks.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getcompanionsdata.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getdevices.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getfilehash.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getgeodata.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getglobalhubs.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/gethomedata.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getlibraryhubs.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getmetadatachildren.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getmyplexaccount.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getondeck.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getpin.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getplaylist.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getplaylistcontents.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getplaylists.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getresizedphoto.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getresourcesstatistics.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getsearchresults.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getserveractivities.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getservercapabilities.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getserverlist.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getserverpreferences.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getsessionhistory.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getsessions.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getsourceconnectioninformation.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getstatistics.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/gettimeline.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/gettokenbypinid.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/gettokendetails.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/gettopwatchedcontent.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/gettranscodesessions.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/gettransienttoken.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getupdatestatus.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/getuserfriends.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/logline.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/logmultiline.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/markplayed.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/markunplayed.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/performsearch.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/performvoicesearch.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/post_users_sign_in_data.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/sdkerror.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/startalltasks.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/starttask.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/startuniversaltranscode.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/stopalltasks.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/stoptask.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/stoptranscodesession.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/updateplaylist.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/updateplayprogress.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/errors/uploadplaylist.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/addplaylistcontents.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/applyupdates.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/cancelserveractivities.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/checkforupdates.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/clearplaylistcontents.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/createplaylist.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/deletelibrary.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/deleteplaylist.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/enablepapertrail.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_all_libraries.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_banner_image.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_library_details.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_media_providers.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_meta_data_by_rating_key.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_refresh_library_metadata.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_search_library.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_server_identity.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_server_resources.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_thumb_image.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/get_watch_list.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getavailableclients.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getbandwidthstatistics.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getbutlertasks.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getcompanionsdata.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getdevices.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getfilehash.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getgeodata.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getglobalhubs.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/gethomedata.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getlibraryhubs.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getmetadatachildren.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getmyplexaccount.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getondeck.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getpin.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getplaylist.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getplaylistcontents.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getplaylists.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getresizedphoto.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getresourcesstatistics.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getsearchresults.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getserveractivities.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getservercapabilities.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getserverlist.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getserverpreferences.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getsessionhistory.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getsessions.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getsourceconnectioninformation.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getstatistics.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/gettimeline.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/gettokenbypinid.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/gettokendetails.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/gettopwatchedcontent.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/gettranscodesessions.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/gettransienttoken.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getupdatestatus.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/getuserfriends.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/logline.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/logmultiline.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/markplayed.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/markunplayed.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/performsearch.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/performvoicesearch.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/post_users_sign_in_data.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/startalltasks.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/starttask.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/startuniversaltranscode.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/stopalltasks.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/stoptask.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/stoptranscodesession.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/updateplaylist.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/updateplayprogress.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/models/operations/uploadplaylist.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2/src/plex_api_client}/py.typed +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/sdk.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/sdkconfiguration.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/types/__init__.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/types/basemodel.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/__init__.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/annotations.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/enums.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/eventstreaming.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/forms.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/headers.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/logger.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/metadata.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/queryparams.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/requestbodies.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/retries.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/security.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/serializers.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/url.py +0 -0
- {plex_api_client-0.21.0 → plex_api_client-0.21.2}/src/plex_api_client/utils/values.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.3
|
|
2
2
|
Name: plex-api-client
|
|
3
|
-
Version: 0.21.
|
|
3
|
+
Version: 0.21.2
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy
|
|
5
5
|
Author: Speakeasy
|
|
6
6
|
Requires-Python: >=3.9
|
|
@@ -12,7 +12,6 @@ Classifier: Programming Language :: Python :: 3.12
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.13
|
|
13
13
|
Requires-Dist: eval-type-backport (>=0.2.0)
|
|
14
14
|
Requires-Dist: httpx (>=0.28.1)
|
|
15
|
-
Requires-Dist: jsonpath-python (>=1.0.6)
|
|
16
15
|
Requires-Dist: pydantic (>=2.10.3)
|
|
17
16
|
Requires-Dist: python-dateutil (>=2.8.2)
|
|
18
17
|
Requires-Dist: typing-inspect (>=0.9.0)
|
|
@@ -108,6 +107,37 @@ pip install plex-api-client
|
|
|
108
107
|
```bash
|
|
109
108
|
poetry add plex-api-client
|
|
110
109
|
```
|
|
110
|
+
|
|
111
|
+
### Shell and script usage with `uv`
|
|
112
|
+
|
|
113
|
+
You can use this SDK in a Python shell with [uv](https://docs.astral.sh/uv/) and the `uvx` command that comes with it like so:
|
|
114
|
+
|
|
115
|
+
```shell
|
|
116
|
+
uvx --from plex-api-client python
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
It's also possible to write a standalone Python script without needing to set up a whole project like so:
|
|
120
|
+
|
|
121
|
+
```python
|
|
122
|
+
#!/usr/bin/env -S uv run --script
|
|
123
|
+
# /// script
|
|
124
|
+
# requires-python = ">=3.9"
|
|
125
|
+
# dependencies = [
|
|
126
|
+
# "plex-api-client",
|
|
127
|
+
# ]
|
|
128
|
+
# ///
|
|
129
|
+
|
|
130
|
+
from plex_api_client import PlexAPI
|
|
131
|
+
|
|
132
|
+
sdk = PlexAPI(
|
|
133
|
+
# SDK arguments
|
|
134
|
+
)
|
|
135
|
+
|
|
136
|
+
# Rest of script here...
|
|
137
|
+
```
|
|
138
|
+
|
|
139
|
+
Once that is saved to a file, you can run it with `uv run script.py` where
|
|
140
|
+
`script.py` can be replaced with the actual file name.
|
|
111
141
|
<!-- End SDK Installation [installation] -->
|
|
112
142
|
|
|
113
143
|
<!-- Start IDE Support [idesupport] -->
|
|
@@ -207,6 +237,8 @@ asyncio.run(main())
|
|
|
207
237
|
* [get_library_items](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_library_items) - Get Library Items
|
|
208
238
|
* [get_refresh_library_metadata](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_refresh_library_metadata) - Refresh Metadata Of The Library
|
|
209
239
|
* [get_search_library](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_search_library) - Search Library
|
|
240
|
+
* [get_genres_library](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_genres_library) - Get Genres of library media
|
|
241
|
+
* [get_countries_library](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_countries_library) - Get Countries of library media
|
|
210
242
|
* [get_search_all_libraries](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_search_all_libraries) - Search All Libraries
|
|
211
243
|
* [get_meta_data_by_rating_key](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_meta_data_by_rating_key) - Get Metadata by RatingKey
|
|
212
244
|
* [get_metadata_children](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_metadata_children) - Get Items Children
|
|
@@ -87,6 +87,37 @@ pip install plex-api-client
|
|
|
87
87
|
```bash
|
|
88
88
|
poetry add plex-api-client
|
|
89
89
|
```
|
|
90
|
+
|
|
91
|
+
### Shell and script usage with `uv`
|
|
92
|
+
|
|
93
|
+
You can use this SDK in a Python shell with [uv](https://docs.astral.sh/uv/) and the `uvx` command that comes with it like so:
|
|
94
|
+
|
|
95
|
+
```shell
|
|
96
|
+
uvx --from plex-api-client python
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
It's also possible to write a standalone Python script without needing to set up a whole project like so:
|
|
100
|
+
|
|
101
|
+
```python
|
|
102
|
+
#!/usr/bin/env -S uv run --script
|
|
103
|
+
# /// script
|
|
104
|
+
# requires-python = ">=3.9"
|
|
105
|
+
# dependencies = [
|
|
106
|
+
# "plex-api-client",
|
|
107
|
+
# ]
|
|
108
|
+
# ///
|
|
109
|
+
|
|
110
|
+
from plex_api_client import PlexAPI
|
|
111
|
+
|
|
112
|
+
sdk = PlexAPI(
|
|
113
|
+
# SDK arguments
|
|
114
|
+
)
|
|
115
|
+
|
|
116
|
+
# Rest of script here...
|
|
117
|
+
```
|
|
118
|
+
|
|
119
|
+
Once that is saved to a file, you can run it with `uv run script.py` where
|
|
120
|
+
`script.py` can be replaced with the actual file name.
|
|
90
121
|
<!-- End SDK Installation [installation] -->
|
|
91
122
|
|
|
92
123
|
<!-- Start IDE Support [idesupport] -->
|
|
@@ -186,6 +217,8 @@ asyncio.run(main())
|
|
|
186
217
|
* [get_library_items](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_library_items) - Get Library Items
|
|
187
218
|
* [get_refresh_library_metadata](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_refresh_library_metadata) - Refresh Metadata Of The Library
|
|
188
219
|
* [get_search_library](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_search_library) - Search Library
|
|
220
|
+
* [get_genres_library](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_genres_library) - Get Genres of library media
|
|
221
|
+
* [get_countries_library](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_countries_library) - Get Countries of library media
|
|
189
222
|
* [get_search_all_libraries](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_search_all_libraries) - Search All Libraries
|
|
190
223
|
* [get_meta_data_by_rating_key](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_meta_data_by_rating_key) - Get Metadata by RatingKey
|
|
191
224
|
* [get_metadata_children](https://github.com/LukeHagar/plexpy/blob/master/docs/sdks/library/README.md#get_metadata_children) - Get Items Children
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "plex-api-client"
|
|
3
|
-
version = "0.21.
|
|
3
|
+
version = "0.21.2"
|
|
4
4
|
description = "Python Client SDK Generated by Speakeasy"
|
|
5
5
|
authors = [{ name = "Speakeasy" },]
|
|
6
6
|
readme = "README-PYPI.md"
|
|
@@ -8,7 +8,6 @@ requires-python = ">=3.9"
|
|
|
8
8
|
dependencies = [
|
|
9
9
|
"eval-type-backport >=0.2.0",
|
|
10
10
|
"httpx >=0.28.1",
|
|
11
|
-
"jsonpath-python >=1.0.6",
|
|
12
11
|
"pydantic >=2.10.3",
|
|
13
12
|
"python-dateutil >=2.8.2",
|
|
14
13
|
"typing-inspect >=0.9.0",
|
|
@@ -37,6 +36,7 @@ requires = ["poetry-core"]
|
|
|
37
36
|
build-backend = "poetry.core.masonry.api"
|
|
38
37
|
|
|
39
38
|
[tool.pytest.ini_options]
|
|
39
|
+
asyncio_default_fixture_loop_scope = "function"
|
|
40
40
|
pythonpath = ["src"]
|
|
41
41
|
|
|
42
42
|
[tool.mypy]
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
import importlib.metadata
|
|
4
4
|
|
|
5
5
|
__title__: str = "plex-api-client"
|
|
6
|
-
__version__: str = "0.21.
|
|
6
|
+
__version__: str = "0.21.2"
|
|
7
7
|
__openapi_doc_version__: str = "0.0.3"
|
|
8
|
-
__gen_version__: str = "2.
|
|
9
|
-
__user_agent__: str = "speakeasy-sdk/python 0.21.
|
|
8
|
+
__gen_version__: str = "2.503.2"
|
|
9
|
+
__user_agent__: str = "speakeasy-sdk/python 0.21.2 2.503.2 0.0.3 plex-api-client"
|
|
10
10
|
|
|
11
11
|
try:
|
|
12
12
|
if __package__ is not None:
|
|
@@ -78,7 +78,7 @@ class Activities(BaseSDK):
|
|
|
78
78
|
retry_config=retry_config,
|
|
79
79
|
)
|
|
80
80
|
|
|
81
|
-
|
|
81
|
+
response_data: Any = None
|
|
82
82
|
if utils.match_response(http_res, "200", "application/json"):
|
|
83
83
|
return operations.GetServerActivitiesResponse(
|
|
84
84
|
object=utils.unmarshal_json(
|
|
@@ -89,17 +89,17 @@ class Activities(BaseSDK):
|
|
|
89
89
|
raw_response=http_res,
|
|
90
90
|
)
|
|
91
91
|
if utils.match_response(http_res, "400", "application/json"):
|
|
92
|
-
|
|
92
|
+
response_data = utils.unmarshal_json(
|
|
93
93
|
http_res.text, errors.GetServerActivitiesBadRequestData
|
|
94
94
|
)
|
|
95
|
-
|
|
96
|
-
raise errors.GetServerActivitiesBadRequest(data=
|
|
95
|
+
response_data.raw_response = http_res
|
|
96
|
+
raise errors.GetServerActivitiesBadRequest(data=response_data)
|
|
97
97
|
if utils.match_response(http_res, "401", "application/json"):
|
|
98
|
-
|
|
98
|
+
response_data = utils.unmarshal_json(
|
|
99
99
|
http_res.text, errors.GetServerActivitiesUnauthorizedData
|
|
100
100
|
)
|
|
101
|
-
|
|
102
|
-
raise errors.GetServerActivitiesUnauthorized(data=
|
|
101
|
+
response_data.raw_response = http_res
|
|
102
|
+
raise errors.GetServerActivitiesUnauthorized(data=response_data)
|
|
103
103
|
if utils.match_response(http_res, "4XX", "*"):
|
|
104
104
|
http_res_text = utils.stream_to_text(http_res)
|
|
105
105
|
raise errors.SDKError(
|
|
@@ -179,7 +179,7 @@ class Activities(BaseSDK):
|
|
|
179
179
|
retry_config=retry_config,
|
|
180
180
|
)
|
|
181
181
|
|
|
182
|
-
|
|
182
|
+
response_data: Any = None
|
|
183
183
|
if utils.match_response(http_res, "200", "application/json"):
|
|
184
184
|
return operations.GetServerActivitiesResponse(
|
|
185
185
|
object=utils.unmarshal_json(
|
|
@@ -190,17 +190,17 @@ class Activities(BaseSDK):
|
|
|
190
190
|
raw_response=http_res,
|
|
191
191
|
)
|
|
192
192
|
if utils.match_response(http_res, "400", "application/json"):
|
|
193
|
-
|
|
193
|
+
response_data = utils.unmarshal_json(
|
|
194
194
|
http_res.text, errors.GetServerActivitiesBadRequestData
|
|
195
195
|
)
|
|
196
|
-
|
|
197
|
-
raise errors.GetServerActivitiesBadRequest(data=
|
|
196
|
+
response_data.raw_response = http_res
|
|
197
|
+
raise errors.GetServerActivitiesBadRequest(data=response_data)
|
|
198
198
|
if utils.match_response(http_res, "401", "application/json"):
|
|
199
|
-
|
|
199
|
+
response_data = utils.unmarshal_json(
|
|
200
200
|
http_res.text, errors.GetServerActivitiesUnauthorizedData
|
|
201
201
|
)
|
|
202
|
-
|
|
203
|
-
raise errors.GetServerActivitiesUnauthorized(data=
|
|
202
|
+
response_data.raw_response = http_res
|
|
203
|
+
raise errors.GetServerActivitiesUnauthorized(data=response_data)
|
|
204
204
|
if utils.match_response(http_res, "4XX", "*"):
|
|
205
205
|
http_res_text = await utils.stream_to_text_async(http_res)
|
|
206
206
|
raise errors.SDKError(
|
|
@@ -287,7 +287,7 @@ class Activities(BaseSDK):
|
|
|
287
287
|
retry_config=retry_config,
|
|
288
288
|
)
|
|
289
289
|
|
|
290
|
-
|
|
290
|
+
response_data: Any = None
|
|
291
291
|
if utils.match_response(http_res, "200", "*"):
|
|
292
292
|
return operations.CancelServerActivitiesResponse(
|
|
293
293
|
status_code=http_res.status_code,
|
|
@@ -295,17 +295,17 @@ class Activities(BaseSDK):
|
|
|
295
295
|
raw_response=http_res,
|
|
296
296
|
)
|
|
297
297
|
if utils.match_response(http_res, "400", "application/json"):
|
|
298
|
-
|
|
298
|
+
response_data = utils.unmarshal_json(
|
|
299
299
|
http_res.text, errors.CancelServerActivitiesBadRequestData
|
|
300
300
|
)
|
|
301
|
-
|
|
302
|
-
raise errors.CancelServerActivitiesBadRequest(data=
|
|
301
|
+
response_data.raw_response = http_res
|
|
302
|
+
raise errors.CancelServerActivitiesBadRequest(data=response_data)
|
|
303
303
|
if utils.match_response(http_res, "401", "application/json"):
|
|
304
|
-
|
|
304
|
+
response_data = utils.unmarshal_json(
|
|
305
305
|
http_res.text, errors.CancelServerActivitiesUnauthorizedData
|
|
306
306
|
)
|
|
307
|
-
|
|
308
|
-
raise errors.CancelServerActivitiesUnauthorized(data=
|
|
307
|
+
response_data.raw_response = http_res
|
|
308
|
+
raise errors.CancelServerActivitiesUnauthorized(data=response_data)
|
|
309
309
|
if utils.match_response(http_res, "4XX", "*"):
|
|
310
310
|
http_res_text = utils.stream_to_text(http_res)
|
|
311
311
|
raise errors.SDKError(
|
|
@@ -392,7 +392,7 @@ class Activities(BaseSDK):
|
|
|
392
392
|
retry_config=retry_config,
|
|
393
393
|
)
|
|
394
394
|
|
|
395
|
-
|
|
395
|
+
response_data: Any = None
|
|
396
396
|
if utils.match_response(http_res, "200", "*"):
|
|
397
397
|
return operations.CancelServerActivitiesResponse(
|
|
398
398
|
status_code=http_res.status_code,
|
|
@@ -400,17 +400,17 @@ class Activities(BaseSDK):
|
|
|
400
400
|
raw_response=http_res,
|
|
401
401
|
)
|
|
402
402
|
if utils.match_response(http_res, "400", "application/json"):
|
|
403
|
-
|
|
403
|
+
response_data = utils.unmarshal_json(
|
|
404
404
|
http_res.text, errors.CancelServerActivitiesBadRequestData
|
|
405
405
|
)
|
|
406
|
-
|
|
407
|
-
raise errors.CancelServerActivitiesBadRequest(data=
|
|
406
|
+
response_data.raw_response = http_res
|
|
407
|
+
raise errors.CancelServerActivitiesBadRequest(data=response_data)
|
|
408
408
|
if utils.match_response(http_res, "401", "application/json"):
|
|
409
|
-
|
|
409
|
+
response_data = utils.unmarshal_json(
|
|
410
410
|
http_res.text, errors.CancelServerActivitiesUnauthorizedData
|
|
411
411
|
)
|
|
412
|
-
|
|
413
|
-
raise errors.CancelServerActivitiesUnauthorized(data=
|
|
412
|
+
response_data.raw_response = http_res
|
|
413
|
+
raise errors.CancelServerActivitiesUnauthorized(data=response_data)
|
|
414
414
|
if utils.match_response(http_res, "4XX", "*"):
|
|
415
415
|
http_res_text = await utils.stream_to_text_async(http_res)
|
|
416
416
|
raise errors.SDKError(
|
|
@@ -81,7 +81,7 @@ class Authentication(BaseSDK):
|
|
|
81
81
|
retry_config=retry_config,
|
|
82
82
|
)
|
|
83
83
|
|
|
84
|
-
|
|
84
|
+
response_data: Any = None
|
|
85
85
|
if utils.match_response(http_res, "200", "*"):
|
|
86
86
|
return operations.GetTransientTokenResponse(
|
|
87
87
|
status_code=http_res.status_code,
|
|
@@ -89,17 +89,17 @@ class Authentication(BaseSDK):
|
|
|
89
89
|
raw_response=http_res,
|
|
90
90
|
)
|
|
91
91
|
if utils.match_response(http_res, "400", "application/json"):
|
|
92
|
-
|
|
92
|
+
response_data = utils.unmarshal_json(
|
|
93
93
|
http_res.text, errors.GetTransientTokenBadRequestData
|
|
94
94
|
)
|
|
95
|
-
|
|
96
|
-
raise errors.GetTransientTokenBadRequest(data=
|
|
95
|
+
response_data.raw_response = http_res
|
|
96
|
+
raise errors.GetTransientTokenBadRequest(data=response_data)
|
|
97
97
|
if utils.match_response(http_res, "401", "application/json"):
|
|
98
|
-
|
|
98
|
+
response_data = utils.unmarshal_json(
|
|
99
99
|
http_res.text, errors.GetTransientTokenUnauthorizedData
|
|
100
100
|
)
|
|
101
|
-
|
|
102
|
-
raise errors.GetTransientTokenUnauthorized(data=
|
|
101
|
+
response_data.raw_response = http_res
|
|
102
|
+
raise errors.GetTransientTokenUnauthorized(data=response_data)
|
|
103
103
|
if utils.match_response(http_res, "4XX", "*"):
|
|
104
104
|
http_res_text = utils.stream_to_text(http_res)
|
|
105
105
|
raise errors.SDKError(
|
|
@@ -190,7 +190,7 @@ class Authentication(BaseSDK):
|
|
|
190
190
|
retry_config=retry_config,
|
|
191
191
|
)
|
|
192
192
|
|
|
193
|
-
|
|
193
|
+
response_data: Any = None
|
|
194
194
|
if utils.match_response(http_res, "200", "*"):
|
|
195
195
|
return operations.GetTransientTokenResponse(
|
|
196
196
|
status_code=http_res.status_code,
|
|
@@ -198,17 +198,17 @@ class Authentication(BaseSDK):
|
|
|
198
198
|
raw_response=http_res,
|
|
199
199
|
)
|
|
200
200
|
if utils.match_response(http_res, "400", "application/json"):
|
|
201
|
-
|
|
201
|
+
response_data = utils.unmarshal_json(
|
|
202
202
|
http_res.text, errors.GetTransientTokenBadRequestData
|
|
203
203
|
)
|
|
204
|
-
|
|
205
|
-
raise errors.GetTransientTokenBadRequest(data=
|
|
204
|
+
response_data.raw_response = http_res
|
|
205
|
+
raise errors.GetTransientTokenBadRequest(data=response_data)
|
|
206
206
|
if utils.match_response(http_res, "401", "application/json"):
|
|
207
|
-
|
|
207
|
+
response_data = utils.unmarshal_json(
|
|
208
208
|
http_res.text, errors.GetTransientTokenUnauthorizedData
|
|
209
209
|
)
|
|
210
|
-
|
|
211
|
-
raise errors.GetTransientTokenUnauthorized(data=
|
|
210
|
+
response_data.raw_response = http_res
|
|
211
|
+
raise errors.GetTransientTokenUnauthorized(data=response_data)
|
|
212
212
|
if utils.match_response(http_res, "4XX", "*"):
|
|
213
213
|
http_res_text = await utils.stream_to_text_async(http_res)
|
|
214
214
|
raise errors.SDKError(
|
|
@@ -297,7 +297,7 @@ class Authentication(BaseSDK):
|
|
|
297
297
|
retry_config=retry_config,
|
|
298
298
|
)
|
|
299
299
|
|
|
300
|
-
|
|
300
|
+
response_data: Any = None
|
|
301
301
|
if utils.match_response(http_res, "200", "*"):
|
|
302
302
|
return operations.GetSourceConnectionInformationResponse(
|
|
303
303
|
status_code=http_res.status_code,
|
|
@@ -305,17 +305,17 @@ class Authentication(BaseSDK):
|
|
|
305
305
|
raw_response=http_res,
|
|
306
306
|
)
|
|
307
307
|
if utils.match_response(http_res, "400", "application/json"):
|
|
308
|
-
|
|
308
|
+
response_data = utils.unmarshal_json(
|
|
309
309
|
http_res.text, errors.GetSourceConnectionInformationBadRequestData
|
|
310
310
|
)
|
|
311
|
-
|
|
312
|
-
raise errors.GetSourceConnectionInformationBadRequest(data=
|
|
311
|
+
response_data.raw_response = http_res
|
|
312
|
+
raise errors.GetSourceConnectionInformationBadRequest(data=response_data)
|
|
313
313
|
if utils.match_response(http_res, "401", "application/json"):
|
|
314
|
-
|
|
314
|
+
response_data = utils.unmarshal_json(
|
|
315
315
|
http_res.text, errors.GetSourceConnectionInformationUnauthorizedData
|
|
316
316
|
)
|
|
317
|
-
|
|
318
|
-
raise errors.GetSourceConnectionInformationUnauthorized(data=
|
|
317
|
+
response_data.raw_response = http_res
|
|
318
|
+
raise errors.GetSourceConnectionInformationUnauthorized(data=response_data)
|
|
319
319
|
if utils.match_response(http_res, "4XX", "*"):
|
|
320
320
|
http_res_text = utils.stream_to_text(http_res)
|
|
321
321
|
raise errors.SDKError(
|
|
@@ -404,7 +404,7 @@ class Authentication(BaseSDK):
|
|
|
404
404
|
retry_config=retry_config,
|
|
405
405
|
)
|
|
406
406
|
|
|
407
|
-
|
|
407
|
+
response_data: Any = None
|
|
408
408
|
if utils.match_response(http_res, "200", "*"):
|
|
409
409
|
return operations.GetSourceConnectionInformationResponse(
|
|
410
410
|
status_code=http_res.status_code,
|
|
@@ -412,17 +412,17 @@ class Authentication(BaseSDK):
|
|
|
412
412
|
raw_response=http_res,
|
|
413
413
|
)
|
|
414
414
|
if utils.match_response(http_res, "400", "application/json"):
|
|
415
|
-
|
|
415
|
+
response_data = utils.unmarshal_json(
|
|
416
416
|
http_res.text, errors.GetSourceConnectionInformationBadRequestData
|
|
417
417
|
)
|
|
418
|
-
|
|
419
|
-
raise errors.GetSourceConnectionInformationBadRequest(data=
|
|
418
|
+
response_data.raw_response = http_res
|
|
419
|
+
raise errors.GetSourceConnectionInformationBadRequest(data=response_data)
|
|
420
420
|
if utils.match_response(http_res, "401", "application/json"):
|
|
421
|
-
|
|
421
|
+
response_data = utils.unmarshal_json(
|
|
422
422
|
http_res.text, errors.GetSourceConnectionInformationUnauthorizedData
|
|
423
423
|
)
|
|
424
|
-
|
|
425
|
-
raise errors.GetSourceConnectionInformationUnauthorized(data=
|
|
424
|
+
response_data.raw_response = http_res
|
|
425
|
+
raise errors.GetSourceConnectionInformationUnauthorized(data=response_data)
|
|
426
426
|
if utils.match_response(http_res, "4XX", "*"):
|
|
427
427
|
http_res_text = await utils.stream_to_text_async(http_res)
|
|
428
428
|
raise errors.SDKError(
|
|
@@ -504,7 +504,7 @@ class Authentication(BaseSDK):
|
|
|
504
504
|
retry_config=retry_config,
|
|
505
505
|
)
|
|
506
506
|
|
|
507
|
-
|
|
507
|
+
response_data: Any = None
|
|
508
508
|
if utils.match_response(http_res, "200", "application/json"):
|
|
509
509
|
return operations.GetTokenDetailsResponse(
|
|
510
510
|
user_plex_account=utils.unmarshal_json(
|
|
@@ -515,17 +515,17 @@ class Authentication(BaseSDK):
|
|
|
515
515
|
raw_response=http_res,
|
|
516
516
|
)
|
|
517
517
|
if utils.match_response(http_res, "400", "application/json"):
|
|
518
|
-
|
|
518
|
+
response_data = utils.unmarshal_json(
|
|
519
519
|
http_res.text, errors.GetTokenDetailsBadRequestData
|
|
520
520
|
)
|
|
521
|
-
|
|
522
|
-
raise errors.GetTokenDetailsBadRequest(data=
|
|
521
|
+
response_data.raw_response = http_res
|
|
522
|
+
raise errors.GetTokenDetailsBadRequest(data=response_data)
|
|
523
523
|
if utils.match_response(http_res, "401", "application/json"):
|
|
524
|
-
|
|
524
|
+
response_data = utils.unmarshal_json(
|
|
525
525
|
http_res.text, errors.GetTokenDetailsUnauthorizedData
|
|
526
526
|
)
|
|
527
|
-
|
|
528
|
-
raise errors.GetTokenDetailsUnauthorized(data=
|
|
527
|
+
response_data.raw_response = http_res
|
|
528
|
+
raise errors.GetTokenDetailsUnauthorized(data=response_data)
|
|
529
529
|
if utils.match_response(http_res, "4XX", "*"):
|
|
530
530
|
http_res_text = utils.stream_to_text(http_res)
|
|
531
531
|
raise errors.SDKError(
|
|
@@ -607,7 +607,7 @@ class Authentication(BaseSDK):
|
|
|
607
607
|
retry_config=retry_config,
|
|
608
608
|
)
|
|
609
609
|
|
|
610
|
-
|
|
610
|
+
response_data: Any = None
|
|
611
611
|
if utils.match_response(http_res, "200", "application/json"):
|
|
612
612
|
return operations.GetTokenDetailsResponse(
|
|
613
613
|
user_plex_account=utils.unmarshal_json(
|
|
@@ -618,17 +618,17 @@ class Authentication(BaseSDK):
|
|
|
618
618
|
raw_response=http_res,
|
|
619
619
|
)
|
|
620
620
|
if utils.match_response(http_res, "400", "application/json"):
|
|
621
|
-
|
|
621
|
+
response_data = utils.unmarshal_json(
|
|
622
622
|
http_res.text, errors.GetTokenDetailsBadRequestData
|
|
623
623
|
)
|
|
624
|
-
|
|
625
|
-
raise errors.GetTokenDetailsBadRequest(data=
|
|
624
|
+
response_data.raw_response = http_res
|
|
625
|
+
raise errors.GetTokenDetailsBadRequest(data=response_data)
|
|
626
626
|
if utils.match_response(http_res, "401", "application/json"):
|
|
627
|
-
|
|
627
|
+
response_data = utils.unmarshal_json(
|
|
628
628
|
http_res.text, errors.GetTokenDetailsUnauthorizedData
|
|
629
629
|
)
|
|
630
|
-
|
|
631
|
-
raise errors.GetTokenDetailsUnauthorized(data=
|
|
630
|
+
response_data.raw_response = http_res
|
|
631
|
+
raise errors.GetTokenDetailsUnauthorized(data=response_data)
|
|
632
632
|
if utils.match_response(http_res, "4XX", "*"):
|
|
633
633
|
http_res_text = await utils.stream_to_text_async(http_res)
|
|
634
634
|
raise errors.SDKError(
|
|
@@ -726,7 +726,7 @@ class Authentication(BaseSDK):
|
|
|
726
726
|
retry_config=retry_config,
|
|
727
727
|
)
|
|
728
728
|
|
|
729
|
-
|
|
729
|
+
response_data: Any = None
|
|
730
730
|
if utils.match_response(http_res, "201", "application/json"):
|
|
731
731
|
return operations.PostUsersSignInDataResponse(
|
|
732
732
|
user_plex_account=utils.unmarshal_json(
|
|
@@ -738,17 +738,17 @@ class Authentication(BaseSDK):
|
|
|
738
738
|
raw_response=http_res,
|
|
739
739
|
)
|
|
740
740
|
if utils.match_response(http_res, "400", "application/json"):
|
|
741
|
-
|
|
741
|
+
response_data = utils.unmarshal_json(
|
|
742
742
|
http_res.text, errors.PostUsersSignInDataBadRequestData
|
|
743
743
|
)
|
|
744
|
-
|
|
745
|
-
raise errors.PostUsersSignInDataBadRequest(data=
|
|
744
|
+
response_data.raw_response = http_res
|
|
745
|
+
raise errors.PostUsersSignInDataBadRequest(data=response_data)
|
|
746
746
|
if utils.match_response(http_res, "401", "application/json"):
|
|
747
|
-
|
|
747
|
+
response_data = utils.unmarshal_json(
|
|
748
748
|
http_res.text, errors.PostUsersSignInDataUnauthorizedData
|
|
749
749
|
)
|
|
750
|
-
|
|
751
|
-
raise errors.PostUsersSignInDataUnauthorized(data=
|
|
750
|
+
response_data.raw_response = http_res
|
|
751
|
+
raise errors.PostUsersSignInDataUnauthorized(data=response_data)
|
|
752
752
|
if utils.match_response(http_res, "4XX", "*"):
|
|
753
753
|
http_res_text = utils.stream_to_text(http_res)
|
|
754
754
|
raise errors.SDKError(
|
|
@@ -846,7 +846,7 @@ class Authentication(BaseSDK):
|
|
|
846
846
|
retry_config=retry_config,
|
|
847
847
|
)
|
|
848
848
|
|
|
849
|
-
|
|
849
|
+
response_data: Any = None
|
|
850
850
|
if utils.match_response(http_res, "201", "application/json"):
|
|
851
851
|
return operations.PostUsersSignInDataResponse(
|
|
852
852
|
user_plex_account=utils.unmarshal_json(
|
|
@@ -858,17 +858,17 @@ class Authentication(BaseSDK):
|
|
|
858
858
|
raw_response=http_res,
|
|
859
859
|
)
|
|
860
860
|
if utils.match_response(http_res, "400", "application/json"):
|
|
861
|
-
|
|
861
|
+
response_data = utils.unmarshal_json(
|
|
862
862
|
http_res.text, errors.PostUsersSignInDataBadRequestData
|
|
863
863
|
)
|
|
864
|
-
|
|
865
|
-
raise errors.PostUsersSignInDataBadRequest(data=
|
|
864
|
+
response_data.raw_response = http_res
|
|
865
|
+
raise errors.PostUsersSignInDataBadRequest(data=response_data)
|
|
866
866
|
if utils.match_response(http_res, "401", "application/json"):
|
|
867
|
-
|
|
867
|
+
response_data = utils.unmarshal_json(
|
|
868
868
|
http_res.text, errors.PostUsersSignInDataUnauthorizedData
|
|
869
869
|
)
|
|
870
|
-
|
|
871
|
-
raise errors.PostUsersSignInDataUnauthorized(data=
|
|
870
|
+
response_data.raw_response = http_res
|
|
871
|
+
raise errors.PostUsersSignInDataUnauthorized(data=response_data)
|
|
872
872
|
if utils.match_response(http_res, "4XX", "*"):
|
|
873
873
|
http_res_text = await utils.stream_to_text_async(http_res)
|
|
874
874
|
raise errors.SDKError(
|