plex-api-client 0.14.0__tar.gz → 0.15.1__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.14.0 → plex_api_client-0.15.1}/PKG-INFO +27 -2
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/README-PYPI.md +26 -1
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/pyproject.toml +4 -1
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/__init__.py +4 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_server_resources.py +1 -1
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getcompanionsdata.py +1 -1
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getgeodata.py +1 -1
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getpin.py +1 -1
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/gettokenbypinid.py +97 -2
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/gettokendetails.py +4 -4
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getuserfriends.py +1 -1
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/post_users_sign_in_data.py +4 -4
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/plex.py +32 -12
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/sdk.py +28 -1
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/sdkconfiguration.py +3 -3
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/LICENSE.md +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/py.typed +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/__init__.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/_hooks/__init__.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/_hooks/registration.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/_hooks/sdkhooks.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/_hooks/types.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/activities.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/authentication.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/basesdk.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/butler.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/httpclient.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/hubs.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/library.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/log.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/media.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/components/__init__.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/components/security.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/__init__.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/addplaylistcontents.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/applyupdates.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/cancelserveractivities.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/checkforupdates.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/clearplaylistcontents.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/createplaylist.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/deletelibrary.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/deleteplaylist.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/enablepapertrail.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_all_libraries.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_banner_image.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_library_details.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_library_items.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_media_providers.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_meta_data_by_rating_key.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_recently_added_library.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_refresh_library_metadata.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_search_library.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_server_identity.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_server_resources.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_thumb_image.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/get_watch_list.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getavailableclients.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getbandwidthstatistics.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getbutlertasks.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getcompanionsdata.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getdevices.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getfilehash.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getgeodata.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getglobalhubs.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/gethomedata.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getlibraryhubs.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getmetadatachildren.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getmyplexaccount.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getondeck.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getpin.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getplaylist.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getplaylistcontents.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getplaylists.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getresizedphoto.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getresourcesstatistics.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getsearchresults.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getserveractivities.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getservercapabilities.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getserverlist.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getserverpreferences.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getsessionhistory.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getsessions.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getsourceconnectioninformation.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getstatistics.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/gettimeline.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/gettokenbypinid.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/gettokendetails.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/gettopwatchedcontent.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/gettranscodesessions.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/gettransienttoken.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getupdatestatus.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/getuserfriends.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/logline.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/logmultiline.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/markplayed.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/markunplayed.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/performsearch.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/performvoicesearch.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/post_users_sign_in_data.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/sdkerror.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/startalltasks.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/starttask.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/startuniversaltranscode.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/stopalltasks.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/stoptask.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/stoptranscodesession.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/updateplaylist.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/updateplayprogress.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/uploadplaylist.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/internal/__init__.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/internal/globals.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/addplaylistcontents.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/applyupdates.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/cancelserveractivities.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/checkforupdates.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/clearplaylistcontents.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/createplaylist.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/deletelibrary.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/deleteplaylist.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/enablepapertrail.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_all_libraries.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_banner_image.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_library_details.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_library_items.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_media_providers.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_meta_data_by_rating_key.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_recently_added.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_recently_added_library.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_refresh_library_metadata.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_search_library.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_server_identity.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_thumb_image.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/get_watch_list.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getavailableclients.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getbandwidthstatistics.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getbutlertasks.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getdevices.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getfilehash.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getglobalhubs.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/gethomedata.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getlibraryhubs.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getmetadatachildren.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getmyplexaccount.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getondeck.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getplaylist.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getplaylistcontents.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getplaylists.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getresizedphoto.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getresourcesstatistics.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getsearchresults.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getserveractivities.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getservercapabilities.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getserverlist.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getserverpreferences.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getsessionhistory.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getsessions.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getsourceconnectioninformation.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getstatistics.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/gettimeline.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/gettopwatchedcontent.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/gettranscodesessions.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/gettransienttoken.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/getupdatestatus.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/logline.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/logmultiline.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/markplayed.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/markunplayed.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/performsearch.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/performvoicesearch.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/startalltasks.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/starttask.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/startuniversaltranscode.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/stopalltasks.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/stoptask.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/stoptranscodesession.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/updateplaylist.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/updateplayprogress.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/uploadplaylist.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/playlists.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/py.typed +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/search.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/server.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/sessions.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/statistics.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/types/__init__.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/types/basemodel.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/updater.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/__init__.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/annotations.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/enums.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/eventstreaming.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/forms.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/headers.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/logger.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/metadata.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/queryparams.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/requestbodies.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/retries.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/security.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/serializers.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/url.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/utils/values.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/video.py +0 -0
- {plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/watchlist.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: plex-api-client
|
|
3
|
-
Version: 0.
|
|
3
|
+
Version: 0.15.1
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy
|
|
5
5
|
Home-page: https://github.com/LukeHagar/plexpy.git
|
|
6
6
|
Author: Speakeasy
|
|
@@ -33,6 +33,31 @@ Description-Content-Type: text/markdown
|
|
|
33
33
|
## Summary
|
|
34
34
|
|
|
35
35
|
Plex-API: An Open API Spec for interacting with Plex.tv and Plex Media Server
|
|
36
|
+
|
|
37
|
+
# Plex Media Server OpenAPI Specification
|
|
38
|
+
|
|
39
|
+
An Open Source OpenAPI Specification for Plex Media Server
|
|
40
|
+
|
|
41
|
+
Automation and SDKs provided by [Speakeasy](https://speakeasyapi.dev/)
|
|
42
|
+
|
|
43
|
+
## Documentation
|
|
44
|
+
|
|
45
|
+
[API Documentation](https://plexapi.dev)
|
|
46
|
+
|
|
47
|
+
## SDKs
|
|
48
|
+
|
|
49
|
+
The following SDKs are generated from the OpenAPI Specification. They are automatically generated and may not be fully tested. If you find any issues, please open an issue on the [main specification Repository](https://github.com/LukeHagar/plex-api-spec).
|
|
50
|
+
|
|
51
|
+
| Language | Repository | Releases | Other |
|
|
52
|
+
| --------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------- |
|
|
53
|
+
| Python | [GitHub](https://github.com/LukeHagar/plexpy) | [PyPI](https://pypi.org/project/plex-api-client/) | - |
|
|
54
|
+
| JavaScript/TypeScript | [GitHub](https://github.com/LukeHagar/plexjs) | [NPM](https://www.npmjs.com/package/@lukehagar/plexjs) \ [JSR](https://jsr.io/@lukehagar/plexjs) | - |
|
|
55
|
+
| Go | [GitHub](https://github.com/LukeHagar/plexgo) | [Releases](https://github.com/LukeHagar/plexgo/releases) | [GoDoc](https://pkg.go.dev/github.com/LukeHagar/plexgo) |
|
|
56
|
+
| Ruby | [GitHub](https://github.com/LukeHagar/plexruby) | [Releases](https://github.com/LukeHagar/plexruby/releases) | - |
|
|
57
|
+
| Swift | [GitHub](https://github.com/LukeHagar/plexswift) | [Releases](https://github.com/LukeHagar/plexswift/releases) | - |
|
|
58
|
+
| PHP | [GitHub](https://github.com/LukeHagar/plexphp) | [Releases](https://github.com/LukeHagar/plexphp/releases) | - |
|
|
59
|
+
| Java | [GitHub](https://github.com/LukeHagar/plexjava) | [Releases](https://github.com/LukeHagar/plexjava/releases) | - |
|
|
60
|
+
| C# | [GitHub](https://github.com/LukeHagar/plexcsharp) | [Releases](https://github.com/LukeHagar/plexcsharp/releases) | -
|
|
36
61
|
<!-- End Summary [summary] -->
|
|
37
62
|
|
|
38
63
|
<!-- Start Table of Contents [toc] -->
|
|
@@ -445,7 +470,7 @@ s = PlexAPI(
|
|
|
445
470
|
device_name="Linux",
|
|
446
471
|
)
|
|
447
472
|
|
|
448
|
-
res = s.plex.get_companions_data(server_url="https://plex.tv/api/v2
|
|
473
|
+
res = s.plex.get_companions_data(server_url="https://plex.tv/api/v2")
|
|
449
474
|
|
|
450
475
|
if res.response_bodies is not None:
|
|
451
476
|
# handle response
|
|
@@ -11,6 +11,31 @@
|
|
|
11
11
|
## Summary
|
|
12
12
|
|
|
13
13
|
Plex-API: An Open API Spec for interacting with Plex.tv and Plex Media Server
|
|
14
|
+
|
|
15
|
+
# Plex Media Server OpenAPI Specification
|
|
16
|
+
|
|
17
|
+
An Open Source OpenAPI Specification for Plex Media Server
|
|
18
|
+
|
|
19
|
+
Automation and SDKs provided by [Speakeasy](https://speakeasyapi.dev/)
|
|
20
|
+
|
|
21
|
+
## Documentation
|
|
22
|
+
|
|
23
|
+
[API Documentation](https://plexapi.dev)
|
|
24
|
+
|
|
25
|
+
## SDKs
|
|
26
|
+
|
|
27
|
+
The following SDKs are generated from the OpenAPI Specification. They are automatically generated and may not be fully tested. If you find any issues, please open an issue on the [main specification Repository](https://github.com/LukeHagar/plex-api-spec).
|
|
28
|
+
|
|
29
|
+
| Language | Repository | Releases | Other |
|
|
30
|
+
| --------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------- |
|
|
31
|
+
| Python | [GitHub](https://github.com/LukeHagar/plexpy) | [PyPI](https://pypi.org/project/plex-api-client/) | - |
|
|
32
|
+
| JavaScript/TypeScript | [GitHub](https://github.com/LukeHagar/plexjs) | [NPM](https://www.npmjs.com/package/@lukehagar/plexjs) \ [JSR](https://jsr.io/@lukehagar/plexjs) | - |
|
|
33
|
+
| Go | [GitHub](https://github.com/LukeHagar/plexgo) | [Releases](https://github.com/LukeHagar/plexgo/releases) | [GoDoc](https://pkg.go.dev/github.com/LukeHagar/plexgo) |
|
|
34
|
+
| Ruby | [GitHub](https://github.com/LukeHagar/plexruby) | [Releases](https://github.com/LukeHagar/plexruby/releases) | - |
|
|
35
|
+
| Swift | [GitHub](https://github.com/LukeHagar/plexswift) | [Releases](https://github.com/LukeHagar/plexswift/releases) | - |
|
|
36
|
+
| PHP | [GitHub](https://github.com/LukeHagar/plexphp) | [Releases](https://github.com/LukeHagar/plexphp/releases) | - |
|
|
37
|
+
| Java | [GitHub](https://github.com/LukeHagar/plexjava) | [Releases](https://github.com/LukeHagar/plexjava/releases) | - |
|
|
38
|
+
| C# | [GitHub](https://github.com/LukeHagar/plexcsharp) | [Releases](https://github.com/LukeHagar/plexcsharp/releases) | -
|
|
14
39
|
<!-- End Summary [summary] -->
|
|
15
40
|
|
|
16
41
|
<!-- Start Table of Contents [toc] -->
|
|
@@ -423,7 +448,7 @@ s = PlexAPI(
|
|
|
423
448
|
device_name="Linux",
|
|
424
449
|
)
|
|
425
450
|
|
|
426
|
-
res = s.plex.get_companions_data(server_url="https://plex.tv/api/v2
|
|
451
|
+
res = s.plex.get_companions_data(server_url="https://plex.tv/api/v2")
|
|
427
452
|
|
|
428
453
|
if res.response_bodies is not None:
|
|
429
454
|
# handle response
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "plex-api-client"
|
|
3
|
-
version = "0.
|
|
3
|
+
version = "0.15.1"
|
|
4
4
|
description = "Python Client SDK Generated by Speakeasy"
|
|
5
5
|
authors = ["Speakeasy",]
|
|
6
6
|
readme = "README-PYPI.md"
|
|
@@ -28,6 +28,9 @@ typing-inspect = "^0.9.0"
|
|
|
28
28
|
[tool.poetry.group.dev.dependencies]
|
|
29
29
|
mypy = "==1.10.1"
|
|
30
30
|
pylint = "==3.2.3"
|
|
31
|
+
pytest = "^8.2.0"
|
|
32
|
+
pytest-asyncio = "^0.23.7"
|
|
33
|
+
pytest-xdist = "^3.6.1"
|
|
31
34
|
types-python-dateutil = "^2.9.0.20240316"
|
|
32
35
|
|
|
33
36
|
[build-system]
|
{plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/operations/__init__.py
RENAMED
|
@@ -797,6 +797,8 @@ from .gettokenbypinid import (
|
|
|
797
797
|
GetTokenByPinIDAuthPinContainerTypedDict,
|
|
798
798
|
GetTokenByPinIDGeoData,
|
|
799
799
|
GetTokenByPinIDGeoDataTypedDict,
|
|
800
|
+
GetTokenByPinIDGlobals,
|
|
801
|
+
GetTokenByPinIDGlobalsTypedDict,
|
|
800
802
|
GetTokenByPinIDRequest,
|
|
801
803
|
GetTokenByPinIDRequestTypedDict,
|
|
802
804
|
GetTokenByPinIDResponse,
|
|
@@ -1616,6 +1618,8 @@ __all__ = [
|
|
|
1616
1618
|
"GetTokenByPinIDAuthPinContainerTypedDict",
|
|
1617
1619
|
"GetTokenByPinIDGeoData",
|
|
1618
1620
|
"GetTokenByPinIDGeoDataTypedDict",
|
|
1621
|
+
"GetTokenByPinIDGlobals",
|
|
1622
|
+
"GetTokenByPinIDGlobalsTypedDict",
|
|
1619
1623
|
"GetTokenByPinIDRequest",
|
|
1620
1624
|
"GetTokenByPinIDRequestTypedDict",
|
|
1621
1625
|
"GetTokenByPinIDResponse",
|
|
@@ -10,20 +10,80 @@ from plex_api_client.types import (
|
|
|
10
10
|
UNSET,
|
|
11
11
|
UNSET_SENTINEL,
|
|
12
12
|
)
|
|
13
|
-
from plex_api_client.utils import FieldMetadata, PathParamMetadata
|
|
13
|
+
from plex_api_client.utils import FieldMetadata, PathParamMetadata, QueryParamMetadata
|
|
14
14
|
import pydantic
|
|
15
15
|
from pydantic import model_serializer
|
|
16
16
|
from typing import Any, Optional, TypedDict
|
|
17
17
|
from typing_extensions import Annotated, NotRequired
|
|
18
18
|
|
|
19
19
|
GET_TOKEN_BY_PIN_ID_SERVERS = [
|
|
20
|
-
"https://plex.tv/api/v2
|
|
20
|
+
"https://plex.tv/api/v2",
|
|
21
21
|
]
|
|
22
22
|
|
|
23
23
|
|
|
24
|
+
class GetTokenByPinIDGlobalsTypedDict(TypedDict):
|
|
25
|
+
client_id: NotRequired[str]
|
|
26
|
+
r"""The unique identifier for the client application
|
|
27
|
+
This is used to track the client application and its usage
|
|
28
|
+
(UUID, serial number, or other number unique per device)
|
|
29
|
+
|
|
30
|
+
"""
|
|
31
|
+
client_name: NotRequired[str]
|
|
32
|
+
device_name: NotRequired[str]
|
|
33
|
+
client_version: NotRequired[str]
|
|
34
|
+
client_platform: NotRequired[str]
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
class GetTokenByPinIDGlobals(BaseModel):
|
|
38
|
+
client_id: Annotated[
|
|
39
|
+
Optional[str],
|
|
40
|
+
pydantic.Field(alias="X-Plex-Client-Identifier"),
|
|
41
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
42
|
+
] = None
|
|
43
|
+
r"""The unique identifier for the client application
|
|
44
|
+
This is used to track the client application and its usage
|
|
45
|
+
(UUID, serial number, or other number unique per device)
|
|
46
|
+
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
client_name: Annotated[
|
|
50
|
+
Optional[str],
|
|
51
|
+
pydantic.Field(alias="X-Plex-Product"),
|
|
52
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
53
|
+
] = None
|
|
54
|
+
|
|
55
|
+
device_name: Annotated[
|
|
56
|
+
Optional[str],
|
|
57
|
+
pydantic.Field(alias="X-Plex-Device"),
|
|
58
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
59
|
+
] = None
|
|
60
|
+
|
|
61
|
+
client_version: Annotated[
|
|
62
|
+
Optional[str],
|
|
63
|
+
pydantic.Field(alias="X-Plex-Version"),
|
|
64
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
65
|
+
] = None
|
|
66
|
+
|
|
67
|
+
client_platform: Annotated[
|
|
68
|
+
Optional[str],
|
|
69
|
+
pydantic.Field(alias="X-Plex-Platform"),
|
|
70
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
71
|
+
] = None
|
|
72
|
+
|
|
73
|
+
|
|
24
74
|
class GetTokenByPinIDRequestTypedDict(TypedDict):
|
|
25
75
|
pin_id: int
|
|
26
76
|
r"""The PinID to retrieve an access token for"""
|
|
77
|
+
client_id: NotRequired[str]
|
|
78
|
+
r"""The unique identifier for the client application
|
|
79
|
+
This is used to track the client application and its usage
|
|
80
|
+
(UUID, serial number, or other number unique per device)
|
|
81
|
+
|
|
82
|
+
"""
|
|
83
|
+
client_name: NotRequired[str]
|
|
84
|
+
device_name: NotRequired[str]
|
|
85
|
+
client_version: NotRequired[str]
|
|
86
|
+
client_platform: NotRequired[str]
|
|
27
87
|
|
|
28
88
|
|
|
29
89
|
class GetTokenByPinIDRequest(BaseModel):
|
|
@@ -34,6 +94,41 @@ class GetTokenByPinIDRequest(BaseModel):
|
|
|
34
94
|
]
|
|
35
95
|
r"""The PinID to retrieve an access token for"""
|
|
36
96
|
|
|
97
|
+
client_id: Annotated[
|
|
98
|
+
Optional[str],
|
|
99
|
+
pydantic.Field(alias="X-Plex-Client-Identifier"),
|
|
100
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
101
|
+
] = None
|
|
102
|
+
r"""The unique identifier for the client application
|
|
103
|
+
This is used to track the client application and its usage
|
|
104
|
+
(UUID, serial number, or other number unique per device)
|
|
105
|
+
|
|
106
|
+
"""
|
|
107
|
+
|
|
108
|
+
client_name: Annotated[
|
|
109
|
+
Optional[str],
|
|
110
|
+
pydantic.Field(alias="X-Plex-Product"),
|
|
111
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
112
|
+
] = None
|
|
113
|
+
|
|
114
|
+
device_name: Annotated[
|
|
115
|
+
Optional[str],
|
|
116
|
+
pydantic.Field(alias="X-Plex-Device"),
|
|
117
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
118
|
+
] = None
|
|
119
|
+
|
|
120
|
+
client_version: Annotated[
|
|
121
|
+
Optional[str],
|
|
122
|
+
pydantic.Field(alias="X-Plex-Version"),
|
|
123
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
124
|
+
] = None
|
|
125
|
+
|
|
126
|
+
client_platform: Annotated[
|
|
127
|
+
Optional[str],
|
|
128
|
+
pydantic.Field(alias="X-Plex-Platform"),
|
|
129
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
130
|
+
] = None
|
|
131
|
+
|
|
37
132
|
|
|
38
133
|
class GetTokenByPinIDGeoDataTypedDict(TypedDict):
|
|
39
134
|
r"""Geo location data"""
|
|
@@ -17,12 +17,12 @@ from typing import List, Optional, TypedDict
|
|
|
17
17
|
from typing_extensions import Annotated, NotRequired
|
|
18
18
|
|
|
19
19
|
GET_TOKEN_DETAILS_SERVERS = [
|
|
20
|
-
"https://plex.tv/api/v2
|
|
20
|
+
"https://plex.tv/api/v2",
|
|
21
21
|
]
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
class MailingListStatus(str, Enum):
|
|
25
|
-
r"""Your current mailing list status"""
|
|
25
|
+
r"""Your current mailing list status (active or unsubscribed)"""
|
|
26
26
|
|
|
27
27
|
ACTIVE = "active"
|
|
28
28
|
UNSUBSCRIBED = "unsubscribed"
|
|
@@ -529,7 +529,7 @@ class GetTokenDetailsUserPlexAccountTypedDict(TypedDict):
|
|
|
529
529
|
locale: Nullable[str]
|
|
530
530
|
r"""The account locale"""
|
|
531
531
|
mailing_list_status: MailingListStatus
|
|
532
|
-
r"""Your current mailing list status"""
|
|
532
|
+
r"""Your current mailing list status (active or unsubscribed)"""
|
|
533
533
|
max_home_size: int
|
|
534
534
|
r"""The maximum number of accounts allowed in the Plex Home"""
|
|
535
535
|
profile: UserProfileTypedDict
|
|
@@ -630,7 +630,7 @@ class GetTokenDetailsUserPlexAccount(BaseModel):
|
|
|
630
630
|
mailing_list_status: Annotated[
|
|
631
631
|
MailingListStatus, pydantic.Field(alias="mailingListStatus")
|
|
632
632
|
]
|
|
633
|
-
r"""Your current mailing list status"""
|
|
633
|
+
r"""Your current mailing list status (active or unsubscribed)"""
|
|
634
634
|
|
|
635
635
|
max_home_size: Annotated[int, pydantic.Field(alias="maxHomeSize")]
|
|
636
636
|
r"""The maximum number of accounts allowed in the Plex Home"""
|
|
@@ -18,7 +18,7 @@ from typing import List, Optional, TypedDict
|
|
|
18
18
|
from typing_extensions import Annotated, NotRequired
|
|
19
19
|
|
|
20
20
|
POST_USERS_SIGN_IN_DATA_SERVERS = [
|
|
21
|
-
"https://plex.tv/api/v2
|
|
21
|
+
"https://plex.tv/api/v2",
|
|
22
22
|
]
|
|
23
23
|
|
|
24
24
|
|
|
@@ -160,7 +160,7 @@ class PostUsersSignInDataRequest(BaseModel):
|
|
|
160
160
|
|
|
161
161
|
|
|
162
162
|
class PostUsersSignInDataMailingListStatus(str, Enum):
|
|
163
|
-
r"""Your current mailing list status"""
|
|
163
|
+
r"""Your current mailing list status (active or unsubscribed)"""
|
|
164
164
|
|
|
165
165
|
ACTIVE = "active"
|
|
166
166
|
UNSUBSCRIBED = "unsubscribed"
|
|
@@ -828,7 +828,7 @@ class PostUsersSignInDataUserPlexAccountTypedDict(TypedDict):
|
|
|
828
828
|
locale: Nullable[str]
|
|
829
829
|
r"""The account locale"""
|
|
830
830
|
mailing_list_status: PostUsersSignInDataMailingListStatus
|
|
831
|
-
r"""Your current mailing list status"""
|
|
831
|
+
r"""Your current mailing list status (active or unsubscribed)"""
|
|
832
832
|
max_home_size: int
|
|
833
833
|
r"""The maximum number of accounts allowed in the Plex Home"""
|
|
834
834
|
profile: PostUsersSignInDataUserProfileTypedDict
|
|
@@ -931,7 +931,7 @@ class PostUsersSignInDataUserPlexAccount(BaseModel):
|
|
|
931
931
|
mailing_list_status: Annotated[
|
|
932
932
|
PostUsersSignInDataMailingListStatus, pydantic.Field(alias="mailingListStatus")
|
|
933
933
|
]
|
|
934
|
-
r"""Your current mailing list status"""
|
|
934
|
+
r"""Your current mailing list status (active or unsubscribed)"""
|
|
935
935
|
|
|
936
936
|
max_home_size: Annotated[int, pydantic.Field(alias="maxHomeSize")]
|
|
937
937
|
r"""The maximum number of accounts allowed in the Plex Home"""
|
|
@@ -1156,7 +1156,10 @@ class Plex(BaseSDK):
|
|
|
1156
1156
|
def get_token_by_pin_id(
|
|
1157
1157
|
self,
|
|
1158
1158
|
*,
|
|
1159
|
-
|
|
1159
|
+
request: Union[
|
|
1160
|
+
operations.GetTokenByPinIDRequest,
|
|
1161
|
+
operations.GetTokenByPinIDRequestTypedDict,
|
|
1162
|
+
],
|
|
1160
1163
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1161
1164
|
server_url: Optional[str] = None,
|
|
1162
1165
|
timeout_ms: Optional[int] = None,
|
|
@@ -1165,7 +1168,7 @@ class Plex(BaseSDK):
|
|
|
1165
1168
|
|
|
1166
1169
|
Retrieve an Access Token from Plex.tv after the Pin has been authenticated
|
|
1167
1170
|
|
|
1168
|
-
:param
|
|
1171
|
+
:param request: The request object to send.
|
|
1169
1172
|
:param retries: Override the default retry configuration for this method
|
|
1170
1173
|
:param server_url: Override the default server URL for this method
|
|
1171
1174
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1180,9 +1183,9 @@ class Plex(BaseSDK):
|
|
|
1180
1183
|
else:
|
|
1181
1184
|
base_url = operations.GET_TOKEN_BY_PIN_ID_SERVERS[0]
|
|
1182
1185
|
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
)
|
|
1186
|
+
if not isinstance(request, BaseModel):
|
|
1187
|
+
request = utils.unmarshal(request, operations.GetTokenByPinIDRequest)
|
|
1188
|
+
request = cast(operations.GetTokenByPinIDRequest, request)
|
|
1186
1189
|
|
|
1187
1190
|
req = self.build_request(
|
|
1188
1191
|
method="GET",
|
|
@@ -1192,9 +1195,16 @@ class Plex(BaseSDK):
|
|
|
1192
1195
|
request=request,
|
|
1193
1196
|
request_body_required=False,
|
|
1194
1197
|
request_has_path_params=True,
|
|
1195
|
-
request_has_query_params=
|
|
1198
|
+
request_has_query_params=True,
|
|
1196
1199
|
user_agent_header="user-agent",
|
|
1197
1200
|
accept_header_value="application/json",
|
|
1201
|
+
_globals=operations.GetTokenByPinIDGlobals(
|
|
1202
|
+
client_id=self.sdk_configuration.globals.client_id,
|
|
1203
|
+
client_name=self.sdk_configuration.globals.client_name,
|
|
1204
|
+
device_name=self.sdk_configuration.globals.device_name,
|
|
1205
|
+
client_version=self.sdk_configuration.globals.client_version,
|
|
1206
|
+
client_platform=self.sdk_configuration.globals.client_platform,
|
|
1207
|
+
),
|
|
1198
1208
|
timeout_ms=timeout_ms,
|
|
1199
1209
|
)
|
|
1200
1210
|
|
|
@@ -1253,7 +1263,10 @@ class Plex(BaseSDK):
|
|
|
1253
1263
|
async def get_token_by_pin_id_async(
|
|
1254
1264
|
self,
|
|
1255
1265
|
*,
|
|
1256
|
-
|
|
1266
|
+
request: Union[
|
|
1267
|
+
operations.GetTokenByPinIDRequest,
|
|
1268
|
+
operations.GetTokenByPinIDRequestTypedDict,
|
|
1269
|
+
],
|
|
1257
1270
|
retries: OptionalNullable[utils.RetryConfig] = UNSET,
|
|
1258
1271
|
server_url: Optional[str] = None,
|
|
1259
1272
|
timeout_ms: Optional[int] = None,
|
|
@@ -1262,7 +1275,7 @@ class Plex(BaseSDK):
|
|
|
1262
1275
|
|
|
1263
1276
|
Retrieve an Access Token from Plex.tv after the Pin has been authenticated
|
|
1264
1277
|
|
|
1265
|
-
:param
|
|
1278
|
+
:param request: The request object to send.
|
|
1266
1279
|
:param retries: Override the default retry configuration for this method
|
|
1267
1280
|
:param server_url: Override the default server URL for this method
|
|
1268
1281
|
:param timeout_ms: Override the default request timeout configuration for this method in milliseconds
|
|
@@ -1277,9 +1290,9 @@ class Plex(BaseSDK):
|
|
|
1277
1290
|
else:
|
|
1278
1291
|
base_url = operations.GET_TOKEN_BY_PIN_ID_SERVERS[0]
|
|
1279
1292
|
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
)
|
|
1293
|
+
if not isinstance(request, BaseModel):
|
|
1294
|
+
request = utils.unmarshal(request, operations.GetTokenByPinIDRequest)
|
|
1295
|
+
request = cast(operations.GetTokenByPinIDRequest, request)
|
|
1283
1296
|
|
|
1284
1297
|
req = self.build_request_async(
|
|
1285
1298
|
method="GET",
|
|
@@ -1289,9 +1302,16 @@ class Plex(BaseSDK):
|
|
|
1289
1302
|
request=request,
|
|
1290
1303
|
request_body_required=False,
|
|
1291
1304
|
request_has_path_params=True,
|
|
1292
|
-
request_has_query_params=
|
|
1305
|
+
request_has_query_params=True,
|
|
1293
1306
|
user_agent_header="user-agent",
|
|
1294
1307
|
accept_header_value="application/json",
|
|
1308
|
+
_globals=operations.GetTokenByPinIDGlobals(
|
|
1309
|
+
client_id=self.sdk_configuration.globals.client_id,
|
|
1310
|
+
client_name=self.sdk_configuration.globals.client_name,
|
|
1311
|
+
device_name=self.sdk_configuration.globals.device_name,
|
|
1312
|
+
client_version=self.sdk_configuration.globals.client_version,
|
|
1313
|
+
client_platform=self.sdk_configuration.globals.client_platform,
|
|
1314
|
+
),
|
|
1295
1315
|
timeout_ms=timeout_ms,
|
|
1296
1316
|
)
|
|
1297
1317
|
|
|
@@ -30,7 +30,34 @@ from typing import Any, Callable, Dict, List, Optional, Union
|
|
|
30
30
|
|
|
31
31
|
|
|
32
32
|
class PlexAPI(BaseSDK):
|
|
33
|
-
r"""Plex-API: An Open API Spec for interacting with Plex.tv and Plex Media Server
|
|
33
|
+
r"""Plex-API: An Open API Spec for interacting with Plex.tv and Plex Media Server
|
|
34
|
+
|
|
35
|
+
# Plex Media Server OpenAPI Specification
|
|
36
|
+
|
|
37
|
+
An Open Source OpenAPI Specification for Plex Media Server
|
|
38
|
+
|
|
39
|
+
Automation and SDKs provided by [Speakeasy](https://speakeasyapi.dev/)
|
|
40
|
+
|
|
41
|
+
## Documentation
|
|
42
|
+
|
|
43
|
+
[API Documentation](https://plexapi.dev)
|
|
44
|
+
|
|
45
|
+
## SDKs
|
|
46
|
+
|
|
47
|
+
The following SDKs are generated from the OpenAPI Specification. They are automatically generated and may not be fully tested. If you find any issues, please open an issue on the [main specification Repository](https://github.com/LukeHagar/plex-api-spec).
|
|
48
|
+
|
|
49
|
+
| Language | Repository | Releases | Other |
|
|
50
|
+
| --------------------- | ------------------------------------------------- | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------- |
|
|
51
|
+
| Python | [GitHub](https://github.com/LukeHagar/plexpy) | [PyPI](https://pypi.org/project/plex-api-client/) | - |
|
|
52
|
+
| JavaScript/TypeScript | [GitHub](https://github.com/LukeHagar/plexjs) | [NPM](https://www.npmjs.com/package/@lukehagar/plexjs) \ [JSR](https://jsr.io/@lukehagar/plexjs) | - |
|
|
53
|
+
| Go | [GitHub](https://github.com/LukeHagar/plexgo) | [Releases](https://github.com/LukeHagar/plexgo/releases) | [GoDoc](https://pkg.go.dev/github.com/LukeHagar/plexgo) |
|
|
54
|
+
| Ruby | [GitHub](https://github.com/LukeHagar/plexruby) | [Releases](https://github.com/LukeHagar/plexruby/releases) | - |
|
|
55
|
+
| Swift | [GitHub](https://github.com/LukeHagar/plexswift) | [Releases](https://github.com/LukeHagar/plexswift/releases) | - |
|
|
56
|
+
| PHP | [GitHub](https://github.com/LukeHagar/plexphp) | [Releases](https://github.com/LukeHagar/plexphp/releases) | - |
|
|
57
|
+
| Java | [GitHub](https://github.com/LukeHagar/plexjava) | [Releases](https://github.com/LukeHagar/plexjava/releases) | - |
|
|
58
|
+
| C# | [GitHub](https://github.com/LukeHagar/plexcsharp) | [Releases](https://github.com/LukeHagar/plexcsharp/releases) | -
|
|
59
|
+
|
|
60
|
+
"""
|
|
34
61
|
|
|
35
62
|
server: Server
|
|
36
63
|
r"""Operations against the Plex Media Server System.
|
|
@@ -39,9 +39,9 @@ class SDKConfiguration:
|
|
|
39
39
|
server_defaults: List[Dict[str, str]] = field(default_factory=List)
|
|
40
40
|
language: str = "python"
|
|
41
41
|
openapi_doc_version: str = "0.0.3"
|
|
42
|
-
sdk_version: str = "0.
|
|
43
|
-
gen_version: str = "2.
|
|
44
|
-
user_agent: str = "speakeasy-sdk/python 0.
|
|
42
|
+
sdk_version: str = "0.15.1"
|
|
43
|
+
gen_version: str = "2.426.2"
|
|
44
|
+
user_agent: str = "speakeasy-sdk/python 0.15.1 2.426.2 0.0.3 plex-api-client"
|
|
45
45
|
retry_config: OptionalNullable[RetryConfig] = Field(default_factory=lambda: UNSET)
|
|
46
46
|
timeout_ms: Optional[int] = None
|
|
47
47
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/_hooks/registration.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/components/__init__.py
RENAMED
|
File without changes
|
{plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/components/security.py
RENAMED
|
File without changes
|
{plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
{plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/applyupdates.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{plex_api_client-0.14.0 → plex_api_client-0.15.1}/src/plex_api_client/models/errors/deletelibrary.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|