plex-api-client 0.12.0__tar.gz → 0.12.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.12.0 → plex_api_client-0.12.2}/PKG-INFO +60 -16
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/README-PYPI.md +59 -15
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/pyproject.toml +1 -1
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/authentication.py +8 -8
- plex_api_client-0.12.2/src/plex_api_client/models/internal/globals.py +58 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/get_server_resources.py +4 -4
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getgeodata.py +2 -2
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getpin.py +59 -10
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/gettokenbypinid.py +8 -8
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/post_users_sign_in_data.py +4 -4
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/plex.py +42 -46
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/sdk.py +18 -4
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/sdkconfiguration.py +3 -3
- plex_api_client-0.12.0/src/plex_api_client/models/internal/globals.py +0 -30
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/LICENSE.md +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/py.typed +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/__init__.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/_hooks/__init__.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/_hooks/registration.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/_hooks/sdkhooks.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/_hooks/types.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/activities.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/basesdk.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/butler.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/httpclient.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/hubs.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/library.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/log.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/media.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/components/__init__.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/components/security.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/__init__.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/addplaylistcontents.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/applyupdates.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/cancelserveractivities.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/checkforupdates.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/clearplaylistcontents.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/createplaylist.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/deletelibrary.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/deleteplaylist.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/enablepapertrail.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/get_all_libraries.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/get_banner_image.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/get_library_details.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/get_library_items.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/get_media_providers.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/get_meta_data_by_rating_key.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/get_refresh_library_metadata.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/get_search_library.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/get_server_identity.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/get_server_resources.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/get_thumb_image.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/get_watch_list.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getavailableclients.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getbandwidthstatistics.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getbutlertasks.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getcompanionsdata.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getdevices.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getfilehash.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getgeodata.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getglobalhubs.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/gethomedata.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getlibraryhubs.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getmetadatachildren.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getmyplexaccount.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getondeck.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getpin.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getplaylist.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getplaylistcontents.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getplaylists.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getrecentlyadded.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getresizedphoto.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getresourcesstatistics.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getsearchresults.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getserveractivities.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getservercapabilities.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getserverlist.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getserverpreferences.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getsessionhistory.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getsessions.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getsourceconnectioninformation.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getstatistics.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/gettimeline.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/gettokenbypinid.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/gettokendetails.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/gettopwatchedcontent.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/gettranscodesessions.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/gettransienttoken.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getupdatestatus.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/getuserfriends.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/logline.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/logmultiline.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/markplayed.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/markunplayed.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/performsearch.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/performvoicesearch.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/post_users_sign_in_data.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/sdkerror.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/startalltasks.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/starttask.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/startuniversaltranscode.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/stopalltasks.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/stoptask.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/stoptranscodesession.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/updateplaylist.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/updateplayprogress.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/errors/uploadplaylist.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/internal/__init__.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/__init__.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/addplaylistcontents.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/applyupdates.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/cancelserveractivities.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/checkforupdates.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/clearplaylistcontents.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/createplaylist.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/deletelibrary.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/deleteplaylist.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/enablepapertrail.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/get_all_libraries.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/get_banner_image.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/get_library_details.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/get_library_items.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/get_media_providers.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/get_meta_data_by_rating_key.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/get_refresh_library_metadata.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/get_search_library.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/get_server_identity.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/get_thumb_image.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/get_watch_list.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getavailableclients.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getbandwidthstatistics.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getbutlertasks.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getcompanionsdata.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getdevices.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getfilehash.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getglobalhubs.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/gethomedata.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getlibraryhubs.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getmetadatachildren.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getmyplexaccount.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getondeck.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getplaylist.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getplaylistcontents.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getplaylists.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getrecentlyadded.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getresizedphoto.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getresourcesstatistics.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getsearchresults.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getserveractivities.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getservercapabilities.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getserverlist.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getserverpreferences.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getsessionhistory.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getsessions.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getsourceconnectioninformation.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getstatistics.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/gettimeline.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/gettokendetails.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/gettopwatchedcontent.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/gettranscodesessions.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/gettransienttoken.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getupdatestatus.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getuserfriends.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/logline.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/logmultiline.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/markplayed.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/markunplayed.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/performsearch.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/performvoicesearch.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/startalltasks.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/starttask.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/startuniversaltranscode.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/stopalltasks.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/stoptask.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/stoptranscodesession.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/updateplaylist.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/updateplayprogress.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/uploadplaylist.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/playlists.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/py.typed +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/search.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/server.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/sessions.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/statistics.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/types/__init__.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/types/basemodel.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/updater.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/__init__.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/annotations.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/enums.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/eventstreaming.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/forms.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/headers.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/logger.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/metadata.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/queryparams.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/requestbodies.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/retries.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/security.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/serializers.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/url.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/utils/values.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/video.py +0 -0
- {plex_api_client-0.12.0 → plex_api_client-0.12.2}/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.12.
|
|
3
|
+
Version: 0.12.2
|
|
4
4
|
Summary: Python Client SDK Generated by Speakeasy
|
|
5
5
|
Home-page: https://github.com/LukeHagar/plexpy.git
|
|
6
6
|
Author: Speakeasy
|
|
@@ -94,7 +94,11 @@ from plex_api_client import PlexAPI
|
|
|
94
94
|
|
|
95
95
|
s = PlexAPI(
|
|
96
96
|
access_token="<YOUR_API_KEY_HERE>",
|
|
97
|
-
|
|
97
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
98
|
+
client_name="Plex Web",
|
|
99
|
+
client_version="4.133.0",
|
|
100
|
+
client_platform="Chrome",
|
|
101
|
+
device_name="Linux",
|
|
98
102
|
)
|
|
99
103
|
|
|
100
104
|
res = s.server.get_server_capabilities()
|
|
@@ -115,7 +119,11 @@ from plex_api_client import PlexAPI
|
|
|
115
119
|
async def main():
|
|
116
120
|
s = PlexAPI(
|
|
117
121
|
access_token="<YOUR_API_KEY_HERE>",
|
|
118
|
-
|
|
122
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
123
|
+
client_name="Plex Web",
|
|
124
|
+
client_version="4.133.0",
|
|
125
|
+
client_platform="Chrome",
|
|
126
|
+
device_name="Linux",
|
|
119
127
|
)
|
|
120
128
|
res = await s.server.get_server_capabilities_async()
|
|
121
129
|
if res.object is not None:
|
|
@@ -270,7 +278,11 @@ from plex_api_client import PlexAPI
|
|
|
270
278
|
|
|
271
279
|
s = PlexAPI(
|
|
272
280
|
access_token="<YOUR_API_KEY_HERE>",
|
|
273
|
-
|
|
281
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
282
|
+
client_name="Plex Web",
|
|
283
|
+
client_version="4.133.0",
|
|
284
|
+
client_platform="Chrome",
|
|
285
|
+
device_name="Linux",
|
|
274
286
|
)
|
|
275
287
|
|
|
276
288
|
res = s.server.get_server_capabilities(,
|
|
@@ -290,7 +302,11 @@ from plex_api_client import PlexAPI
|
|
|
290
302
|
s = PlexAPI(
|
|
291
303
|
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
|
|
292
304
|
access_token="<YOUR_API_KEY_HERE>",
|
|
293
|
-
|
|
305
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
306
|
+
client_name="Plex Web",
|
|
307
|
+
client_version="4.133.0",
|
|
308
|
+
client_platform="Chrome",
|
|
309
|
+
device_name="Linux",
|
|
294
310
|
)
|
|
295
311
|
|
|
296
312
|
res = s.server.get_server_capabilities()
|
|
@@ -321,7 +337,11 @@ from plex_api_client.models import errors
|
|
|
321
337
|
|
|
322
338
|
s = PlexAPI(
|
|
323
339
|
access_token="<YOUR_API_KEY_HERE>",
|
|
324
|
-
|
|
340
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
341
|
+
client_name="Plex Web",
|
|
342
|
+
client_version="4.133.0",
|
|
343
|
+
client_platform="Chrome",
|
|
344
|
+
device_name="Linux",
|
|
325
345
|
)
|
|
326
346
|
|
|
327
347
|
res = None
|
|
@@ -363,7 +383,11 @@ from plex_api_client import PlexAPI
|
|
|
363
383
|
s = PlexAPI(
|
|
364
384
|
server_idx=0,
|
|
365
385
|
access_token="<YOUR_API_KEY_HERE>",
|
|
366
|
-
|
|
386
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
387
|
+
client_name="Plex Web",
|
|
388
|
+
client_version="4.133.0",
|
|
389
|
+
client_platform="Chrome",
|
|
390
|
+
device_name="Linux",
|
|
367
391
|
)
|
|
368
392
|
|
|
369
393
|
res = s.server.get_server_capabilities()
|
|
@@ -390,7 +414,11 @@ from plex_api_client import PlexAPI
|
|
|
390
414
|
s = PlexAPI(
|
|
391
415
|
server_url="{protocol}://{ip}:{port}",
|
|
392
416
|
access_token="<YOUR_API_KEY_HERE>",
|
|
393
|
-
|
|
417
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
418
|
+
client_name="Plex Web",
|
|
419
|
+
client_version="4.133.0",
|
|
420
|
+
client_platform="Chrome",
|
|
421
|
+
device_name="Linux",
|
|
394
422
|
)
|
|
395
423
|
|
|
396
424
|
res = s.server.get_server_capabilities()
|
|
@@ -409,7 +437,11 @@ from plex_api_client import PlexAPI
|
|
|
409
437
|
|
|
410
438
|
s = PlexAPI(
|
|
411
439
|
access_token="<YOUR_API_KEY_HERE>",
|
|
412
|
-
|
|
440
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
441
|
+
client_name="Plex Web",
|
|
442
|
+
client_version="4.133.0",
|
|
443
|
+
client_platform="Chrome",
|
|
444
|
+
device_name="Linux",
|
|
413
445
|
)
|
|
414
446
|
|
|
415
447
|
res = s.plex.get_companions_data(server_url="https://plex.tv/api/v2/")
|
|
@@ -519,7 +551,11 @@ from plex_api_client import PlexAPI
|
|
|
519
551
|
|
|
520
552
|
s = PlexAPI(
|
|
521
553
|
access_token="<YOUR_API_KEY_HERE>",
|
|
522
|
-
|
|
554
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
555
|
+
client_name="Plex Web",
|
|
556
|
+
client_version="4.133.0",
|
|
557
|
+
client_platform="Chrome",
|
|
558
|
+
device_name="Linux",
|
|
523
559
|
)
|
|
524
560
|
|
|
525
561
|
res = s.server.get_server_capabilities()
|
|
@@ -534,21 +570,25 @@ if res.object is not None:
|
|
|
534
570
|
<!-- Start Global Parameters [global-parameters] -->
|
|
535
571
|
## Global Parameters
|
|
536
572
|
|
|
537
|
-
|
|
573
|
+
Certain parameters are configured globally. These parameters may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, These global values will be used as defaults on the operations that use them. When such operations are called, there is a place in each to override the global value, if needed.
|
|
538
574
|
|
|
539
|
-
For example, you can set `
|
|
575
|
+
For example, you can set `ClientID` to `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `get_server_resources`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
|
|
540
576
|
|
|
541
577
|
|
|
542
578
|
### Available Globals
|
|
543
579
|
|
|
544
|
-
The following global
|
|
580
|
+
The following global parameters are available.
|
|
545
581
|
|
|
546
582
|
| Name | Type | Required | Description |
|
|
547
583
|
| ---- | ---- |:--------:| ----------- |
|
|
548
|
-
|
|
|
584
|
+
| client_id | str | | The unique identifier for the client application
|
|
549
585
|
This is used to track the client application and its usage
|
|
550
586
|
(UUID, serial number, or other number unique per device)
|
|
551
587
|
|
|
|
588
|
+
| client_name | str | | The client_name parameter. |
|
|
589
|
+
| client_version | str | | The client_version parameter. |
|
|
590
|
+
| client_platform | str | | The client_platform parameter. |
|
|
591
|
+
| device_name | str | | The device_name parameter. |
|
|
552
592
|
|
|
553
593
|
|
|
554
594
|
### Example
|
|
@@ -559,10 +599,14 @@ from plex_api_client.models import operations
|
|
|
559
599
|
|
|
560
600
|
s = PlexAPI(
|
|
561
601
|
access_token="<YOUR_API_KEY_HERE>",
|
|
562
|
-
|
|
602
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
603
|
+
client_name="Plex Web",
|
|
604
|
+
client_version="4.133.0",
|
|
605
|
+
client_platform="Chrome",
|
|
606
|
+
device_name="Linux",
|
|
563
607
|
)
|
|
564
608
|
|
|
565
|
-
res = s.plex.get_server_resources(
|
|
609
|
+
res = s.plex.get_server_resources(client_id="gcgzw5rz2xovp84b4vha3a40", include_https=operations.IncludeHTTPS.ONE, include_relay=operations.IncludeRelay.ONE, include_i_pv6=operations.IncludeIPv6.ONE)
|
|
566
610
|
|
|
567
611
|
if res.plex_devices is not None:
|
|
568
612
|
# handle response
|
|
@@ -72,7 +72,11 @@ from plex_api_client import PlexAPI
|
|
|
72
72
|
|
|
73
73
|
s = PlexAPI(
|
|
74
74
|
access_token="<YOUR_API_KEY_HERE>",
|
|
75
|
-
|
|
75
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
76
|
+
client_name="Plex Web",
|
|
77
|
+
client_version="4.133.0",
|
|
78
|
+
client_platform="Chrome",
|
|
79
|
+
device_name="Linux",
|
|
76
80
|
)
|
|
77
81
|
|
|
78
82
|
res = s.server.get_server_capabilities()
|
|
@@ -93,7 +97,11 @@ from plex_api_client import PlexAPI
|
|
|
93
97
|
async def main():
|
|
94
98
|
s = PlexAPI(
|
|
95
99
|
access_token="<YOUR_API_KEY_HERE>",
|
|
96
|
-
|
|
100
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
101
|
+
client_name="Plex Web",
|
|
102
|
+
client_version="4.133.0",
|
|
103
|
+
client_platform="Chrome",
|
|
104
|
+
device_name="Linux",
|
|
97
105
|
)
|
|
98
106
|
res = await s.server.get_server_capabilities_async()
|
|
99
107
|
if res.object is not None:
|
|
@@ -248,7 +256,11 @@ from plex_api_client import PlexAPI
|
|
|
248
256
|
|
|
249
257
|
s = PlexAPI(
|
|
250
258
|
access_token="<YOUR_API_KEY_HERE>",
|
|
251
|
-
|
|
259
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
260
|
+
client_name="Plex Web",
|
|
261
|
+
client_version="4.133.0",
|
|
262
|
+
client_platform="Chrome",
|
|
263
|
+
device_name="Linux",
|
|
252
264
|
)
|
|
253
265
|
|
|
254
266
|
res = s.server.get_server_capabilities(,
|
|
@@ -268,7 +280,11 @@ from plex_api_client import PlexAPI
|
|
|
268
280
|
s = PlexAPI(
|
|
269
281
|
retry_config=RetryConfig("backoff", BackoffStrategy(1, 50, 1.1, 100), False),
|
|
270
282
|
access_token="<YOUR_API_KEY_HERE>",
|
|
271
|
-
|
|
283
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
284
|
+
client_name="Plex Web",
|
|
285
|
+
client_version="4.133.0",
|
|
286
|
+
client_platform="Chrome",
|
|
287
|
+
device_name="Linux",
|
|
272
288
|
)
|
|
273
289
|
|
|
274
290
|
res = s.server.get_server_capabilities()
|
|
@@ -299,7 +315,11 @@ from plex_api_client.models import errors
|
|
|
299
315
|
|
|
300
316
|
s = PlexAPI(
|
|
301
317
|
access_token="<YOUR_API_KEY_HERE>",
|
|
302
|
-
|
|
318
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
319
|
+
client_name="Plex Web",
|
|
320
|
+
client_version="4.133.0",
|
|
321
|
+
client_platform="Chrome",
|
|
322
|
+
device_name="Linux",
|
|
303
323
|
)
|
|
304
324
|
|
|
305
325
|
res = None
|
|
@@ -341,7 +361,11 @@ from plex_api_client import PlexAPI
|
|
|
341
361
|
s = PlexAPI(
|
|
342
362
|
server_idx=0,
|
|
343
363
|
access_token="<YOUR_API_KEY_HERE>",
|
|
344
|
-
|
|
364
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
365
|
+
client_name="Plex Web",
|
|
366
|
+
client_version="4.133.0",
|
|
367
|
+
client_platform="Chrome",
|
|
368
|
+
device_name="Linux",
|
|
345
369
|
)
|
|
346
370
|
|
|
347
371
|
res = s.server.get_server_capabilities()
|
|
@@ -368,7 +392,11 @@ from plex_api_client import PlexAPI
|
|
|
368
392
|
s = PlexAPI(
|
|
369
393
|
server_url="{protocol}://{ip}:{port}",
|
|
370
394
|
access_token="<YOUR_API_KEY_HERE>",
|
|
371
|
-
|
|
395
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
396
|
+
client_name="Plex Web",
|
|
397
|
+
client_version="4.133.0",
|
|
398
|
+
client_platform="Chrome",
|
|
399
|
+
device_name="Linux",
|
|
372
400
|
)
|
|
373
401
|
|
|
374
402
|
res = s.server.get_server_capabilities()
|
|
@@ -387,7 +415,11 @@ from plex_api_client import PlexAPI
|
|
|
387
415
|
|
|
388
416
|
s = PlexAPI(
|
|
389
417
|
access_token="<YOUR_API_KEY_HERE>",
|
|
390
|
-
|
|
418
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
419
|
+
client_name="Plex Web",
|
|
420
|
+
client_version="4.133.0",
|
|
421
|
+
client_platform="Chrome",
|
|
422
|
+
device_name="Linux",
|
|
391
423
|
)
|
|
392
424
|
|
|
393
425
|
res = s.plex.get_companions_data(server_url="https://plex.tv/api/v2/")
|
|
@@ -497,7 +529,11 @@ from plex_api_client import PlexAPI
|
|
|
497
529
|
|
|
498
530
|
s = PlexAPI(
|
|
499
531
|
access_token="<YOUR_API_KEY_HERE>",
|
|
500
|
-
|
|
532
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
533
|
+
client_name="Plex Web",
|
|
534
|
+
client_version="4.133.0",
|
|
535
|
+
client_platform="Chrome",
|
|
536
|
+
device_name="Linux",
|
|
501
537
|
)
|
|
502
538
|
|
|
503
539
|
res = s.server.get_server_capabilities()
|
|
@@ -512,21 +548,25 @@ if res.object is not None:
|
|
|
512
548
|
<!-- Start Global Parameters [global-parameters] -->
|
|
513
549
|
## Global Parameters
|
|
514
550
|
|
|
515
|
-
|
|
551
|
+
Certain parameters are configured globally. These parameters may be set on the SDK client instance itself during initialization. When configured as an option during SDK initialization, These global values will be used as defaults on the operations that use them. When such operations are called, there is a place in each to override the global value, if needed.
|
|
516
552
|
|
|
517
|
-
For example, you can set `
|
|
553
|
+
For example, you can set `ClientID` to `"gcgzw5rz2xovp84b4vha3a40"` at SDK initialization and then you do not have to pass the same value on calls to operations like `get_server_resources`. But if you want to do so you may, which will locally override the global setting. See the example code below for a demonstration.
|
|
518
554
|
|
|
519
555
|
|
|
520
556
|
### Available Globals
|
|
521
557
|
|
|
522
|
-
The following global
|
|
558
|
+
The following global parameters are available.
|
|
523
559
|
|
|
524
560
|
| Name | Type | Required | Description |
|
|
525
561
|
| ---- | ---- |:--------:| ----------- |
|
|
526
|
-
|
|
|
562
|
+
| client_id | str | | The unique identifier for the client application
|
|
527
563
|
This is used to track the client application and its usage
|
|
528
564
|
(UUID, serial number, or other number unique per device)
|
|
529
565
|
|
|
|
566
|
+
| client_name | str | | The client_name parameter. |
|
|
567
|
+
| client_version | str | | The client_version parameter. |
|
|
568
|
+
| client_platform | str | | The client_platform parameter. |
|
|
569
|
+
| device_name | str | | The device_name parameter. |
|
|
530
570
|
|
|
531
571
|
|
|
532
572
|
### Example
|
|
@@ -537,10 +577,14 @@ from plex_api_client.models import operations
|
|
|
537
577
|
|
|
538
578
|
s = PlexAPI(
|
|
539
579
|
access_token="<YOUR_API_KEY_HERE>",
|
|
540
|
-
|
|
580
|
+
client_id="gcgzw5rz2xovp84b4vha3a40",
|
|
581
|
+
client_name="Plex Web",
|
|
582
|
+
client_version="4.133.0",
|
|
583
|
+
client_platform="Chrome",
|
|
584
|
+
device_name="Linux",
|
|
541
585
|
)
|
|
542
586
|
|
|
543
|
-
res = s.plex.get_server_resources(
|
|
587
|
+
res = s.plex.get_server_resources(client_id="gcgzw5rz2xovp84b4vha3a40", include_https=operations.IncludeHTTPS.ONE, include_relay=operations.IncludeRelay.ONE, include_i_pv6=operations.IncludeIPv6.ONE)
|
|
544
588
|
|
|
545
589
|
if res.plex_devices is not None:
|
|
546
590
|
# handle response
|
|
@@ -592,7 +592,7 @@ class Authentication(BaseSDK):
|
|
|
592
592
|
def post_users_sign_in_data(
|
|
593
593
|
self,
|
|
594
594
|
*,
|
|
595
|
-
|
|
595
|
+
client_id: Optional[str] = None,
|
|
596
596
|
request_body: Optional[
|
|
597
597
|
Union[
|
|
598
598
|
operations.PostUsersSignInDataRequestBody,
|
|
@@ -607,7 +607,7 @@ class Authentication(BaseSDK):
|
|
|
607
607
|
|
|
608
608
|
Sign in user with username and password and return user data with Plex authentication token
|
|
609
609
|
|
|
610
|
-
:param
|
|
610
|
+
:param client_id: The unique identifier for the client application This is used to track the client application and its usage (UUID, serial number, or other number unique per device)
|
|
611
611
|
:param request_body: Login credentials
|
|
612
612
|
:param retries: Override the default retry configuration for this method
|
|
613
613
|
:param server_url: Override the default server URL for this method
|
|
@@ -624,7 +624,7 @@ class Authentication(BaseSDK):
|
|
|
624
624
|
base_url = operations.POST_USERS_SIGN_IN_DATA_SERVERS[0]
|
|
625
625
|
|
|
626
626
|
request = operations.PostUsersSignInDataRequest(
|
|
627
|
-
|
|
627
|
+
client_id=client_id,
|
|
628
628
|
request_body=utils.get_pydantic_model(
|
|
629
629
|
request_body, Optional[operations.PostUsersSignInDataRequestBody]
|
|
630
630
|
),
|
|
@@ -642,7 +642,7 @@ class Authentication(BaseSDK):
|
|
|
642
642
|
user_agent_header="user-agent",
|
|
643
643
|
accept_header_value="application/json",
|
|
644
644
|
_globals=operations.PostUsersSignInDataGlobals(
|
|
645
|
-
|
|
645
|
+
client_id=self.sdk_configuration.globals.client_id,
|
|
646
646
|
),
|
|
647
647
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
648
648
|
request.request_body,
|
|
@@ -712,7 +712,7 @@ class Authentication(BaseSDK):
|
|
|
712
712
|
async def post_users_sign_in_data_async(
|
|
713
713
|
self,
|
|
714
714
|
*,
|
|
715
|
-
|
|
715
|
+
client_id: Optional[str] = None,
|
|
716
716
|
request_body: Optional[
|
|
717
717
|
Union[
|
|
718
718
|
operations.PostUsersSignInDataRequestBody,
|
|
@@ -727,7 +727,7 @@ class Authentication(BaseSDK):
|
|
|
727
727
|
|
|
728
728
|
Sign in user with username and password and return user data with Plex authentication token
|
|
729
729
|
|
|
730
|
-
:param
|
|
730
|
+
:param client_id: The unique identifier for the client application This is used to track the client application and its usage (UUID, serial number, or other number unique per device)
|
|
731
731
|
:param request_body: Login credentials
|
|
732
732
|
:param retries: Override the default retry configuration for this method
|
|
733
733
|
:param server_url: Override the default server URL for this method
|
|
@@ -744,7 +744,7 @@ class Authentication(BaseSDK):
|
|
|
744
744
|
base_url = operations.POST_USERS_SIGN_IN_DATA_SERVERS[0]
|
|
745
745
|
|
|
746
746
|
request = operations.PostUsersSignInDataRequest(
|
|
747
|
-
|
|
747
|
+
client_id=client_id,
|
|
748
748
|
request_body=utils.get_pydantic_model(
|
|
749
749
|
request_body, Optional[operations.PostUsersSignInDataRequestBody]
|
|
750
750
|
),
|
|
@@ -762,7 +762,7 @@ class Authentication(BaseSDK):
|
|
|
762
762
|
user_agent_header="user-agent",
|
|
763
763
|
accept_header_value="application/json",
|
|
764
764
|
_globals=operations.PostUsersSignInDataGlobals(
|
|
765
|
-
|
|
765
|
+
client_id=self.sdk_configuration.globals.client_id,
|
|
766
766
|
),
|
|
767
767
|
get_serialized_body=lambda: utils.serialize_request_body(
|
|
768
768
|
request.request_body,
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"""Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
from plex_api_client.types import BaseModel
|
|
5
|
+
from plex_api_client.utils import FieldMetadata, QueryParamMetadata
|
|
6
|
+
import pydantic
|
|
7
|
+
from typing import Optional, TypedDict
|
|
8
|
+
from typing_extensions import Annotated, NotRequired
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
class GlobalsTypedDict(TypedDict):
|
|
12
|
+
client_id: NotRequired[str]
|
|
13
|
+
r"""The unique identifier for the client application
|
|
14
|
+
This is used to track the client application and its usage
|
|
15
|
+
(UUID, serial number, or other number unique per device)
|
|
16
|
+
|
|
17
|
+
"""
|
|
18
|
+
client_name: NotRequired[str]
|
|
19
|
+
client_version: NotRequired[str]
|
|
20
|
+
client_platform: NotRequired[str]
|
|
21
|
+
device_name: NotRequired[str]
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
class Globals(BaseModel):
|
|
25
|
+
client_id: Annotated[
|
|
26
|
+
Optional[str],
|
|
27
|
+
pydantic.Field(alias="X-Plex-Client-Identifier"),
|
|
28
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
29
|
+
] = None
|
|
30
|
+
r"""The unique identifier for the client application
|
|
31
|
+
This is used to track the client application and its usage
|
|
32
|
+
(UUID, serial number, or other number unique per device)
|
|
33
|
+
|
|
34
|
+
"""
|
|
35
|
+
|
|
36
|
+
client_name: Annotated[
|
|
37
|
+
Optional[str],
|
|
38
|
+
pydantic.Field(alias="X-Plex-Product"),
|
|
39
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
40
|
+
] = None
|
|
41
|
+
|
|
42
|
+
client_version: Annotated[
|
|
43
|
+
Optional[str],
|
|
44
|
+
pydantic.Field(alias="X-Plex-Version"),
|
|
45
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
46
|
+
] = None
|
|
47
|
+
|
|
48
|
+
client_platform: Annotated[
|
|
49
|
+
Optional[str],
|
|
50
|
+
pydantic.Field(alias="X-Plex-Platform"),
|
|
51
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
52
|
+
] = None
|
|
53
|
+
|
|
54
|
+
device_name: Annotated[
|
|
55
|
+
Optional[str],
|
|
56
|
+
pydantic.Field(alias="X-Plex-Device"),
|
|
57
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
58
|
+
] = None
|
|
@@ -17,7 +17,7 @@ GET_SERVER_RESOURCES_SERVERS = [
|
|
|
17
17
|
|
|
18
18
|
|
|
19
19
|
class GetServerResourcesGlobalsTypedDict(TypedDict):
|
|
20
|
-
|
|
20
|
+
client_id: NotRequired[str]
|
|
21
21
|
r"""The unique identifier for the client application
|
|
22
22
|
This is used to track the client application and its usage
|
|
23
23
|
(UUID, serial number, or other number unique per device)
|
|
@@ -26,7 +26,7 @@ class GetServerResourcesGlobalsTypedDict(TypedDict):
|
|
|
26
26
|
|
|
27
27
|
|
|
28
28
|
class GetServerResourcesGlobals(BaseModel):
|
|
29
|
-
|
|
29
|
+
client_id: Annotated[
|
|
30
30
|
Optional[str],
|
|
31
31
|
pydantic.Field(alias="X-Plex-Client-Identifier"),
|
|
32
32
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
@@ -63,7 +63,7 @@ class IncludeIPv6(int, Enum):
|
|
|
63
63
|
|
|
64
64
|
|
|
65
65
|
class GetServerResourcesRequestTypedDict(TypedDict):
|
|
66
|
-
|
|
66
|
+
client_id: NotRequired[str]
|
|
67
67
|
r"""The unique identifier for the client application
|
|
68
68
|
This is used to track the client application and its usage
|
|
69
69
|
(UUID, serial number, or other number unique per device)
|
|
@@ -81,7 +81,7 @@ class GetServerResourcesRequestTypedDict(TypedDict):
|
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
class GetServerResourcesRequest(BaseModel):
|
|
84
|
-
|
|
84
|
+
client_id: Annotated[
|
|
85
85
|
Optional[str],
|
|
86
86
|
pydantic.Field(alias="X-Plex-Client-Identifier"),
|
|
87
87
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
@@ -24,7 +24,7 @@ class GetGeoDataGeoDataTypedDict(TypedDict):
|
|
|
24
24
|
r"""The name of the city."""
|
|
25
25
|
time_zone: str
|
|
26
26
|
r"""The time zone of the country."""
|
|
27
|
-
postal_code:
|
|
27
|
+
postal_code: str
|
|
28
28
|
r"""The postal code of the location."""
|
|
29
29
|
subdivisions: str
|
|
30
30
|
r"""The name of the primary administrative subdivision."""
|
|
@@ -56,7 +56,7 @@ class GetGeoDataGeoData(BaseModel):
|
|
|
56
56
|
time_zone: str
|
|
57
57
|
r"""The time zone of the country."""
|
|
58
58
|
|
|
59
|
-
postal_code:
|
|
59
|
+
postal_code: str
|
|
60
60
|
r"""The postal code of the location."""
|
|
61
61
|
|
|
62
62
|
subdivisions: str
|
{plex_api_client-0.12.0 → plex_api_client-0.12.2}/src/plex_api_client/models/operations/getpin.py
RENAMED
|
@@ -22,16 +22,20 @@ GET_PIN_SERVERS = [
|
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
class GetPinGlobalsTypedDict(TypedDict):
|
|
25
|
-
|
|
25
|
+
client_id: NotRequired[str]
|
|
26
26
|
r"""The unique identifier for the client application
|
|
27
27
|
This is used to track the client application and its usage
|
|
28
28
|
(UUID, serial number, or other number unique per device)
|
|
29
29
|
|
|
30
30
|
"""
|
|
31
|
+
client_name: NotRequired[str]
|
|
32
|
+
device_name: NotRequired[str]
|
|
33
|
+
client_version: NotRequired[str]
|
|
34
|
+
client_platform: NotRequired[str]
|
|
31
35
|
|
|
32
36
|
|
|
33
37
|
class GetPinGlobals(BaseModel):
|
|
34
|
-
|
|
38
|
+
client_id: Annotated[
|
|
35
39
|
Optional[str],
|
|
36
40
|
pydantic.Field(alias="X-Plex-Client-Identifier"),
|
|
37
41
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
@@ -42,6 +46,30 @@ class GetPinGlobals(BaseModel):
|
|
|
42
46
|
|
|
43
47
|
"""
|
|
44
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
|
+
|
|
45
73
|
|
|
46
74
|
class GetPinRequestTypedDict(TypedDict):
|
|
47
75
|
strong: NotRequired[bool]
|
|
@@ -50,13 +78,16 @@ class GetPinRequestTypedDict(TypedDict):
|
|
|
50
78
|
Non-Strong codes are used for `Plex.tv/link`
|
|
51
79
|
|
|
52
80
|
"""
|
|
53
|
-
|
|
81
|
+
client_id: NotRequired[str]
|
|
54
82
|
r"""The unique identifier for the client application
|
|
55
83
|
This is used to track the client application and its usage
|
|
56
84
|
(UUID, serial number, or other number unique per device)
|
|
57
85
|
|
|
58
86
|
"""
|
|
59
|
-
|
|
87
|
+
client_name: NotRequired[str]
|
|
88
|
+
device_name: NotRequired[str]
|
|
89
|
+
client_version: NotRequired[str]
|
|
90
|
+
client_platform: NotRequired[str]
|
|
60
91
|
|
|
61
92
|
|
|
62
93
|
class GetPinRequest(BaseModel):
|
|
@@ -70,7 +101,7 @@ class GetPinRequest(BaseModel):
|
|
|
70
101
|
|
|
71
102
|
"""
|
|
72
103
|
|
|
73
|
-
|
|
104
|
+
client_id: Annotated[
|
|
74
105
|
Optional[str],
|
|
75
106
|
pydantic.Field(alias="X-Plex-Client-Identifier"),
|
|
76
107
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
@@ -81,12 +112,30 @@ class GetPinRequest(BaseModel):
|
|
|
81
112
|
|
|
82
113
|
"""
|
|
83
114
|
|
|
84
|
-
|
|
115
|
+
client_name: Annotated[
|
|
85
116
|
Optional[str],
|
|
86
117
|
pydantic.Field(alias="X-Plex-Product"),
|
|
87
118
|
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
88
119
|
] = None
|
|
89
120
|
|
|
121
|
+
device_name: Annotated[
|
|
122
|
+
Optional[str],
|
|
123
|
+
pydantic.Field(alias="X-Plex-Device"),
|
|
124
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
125
|
+
] = None
|
|
126
|
+
|
|
127
|
+
client_version: Annotated[
|
|
128
|
+
Optional[str],
|
|
129
|
+
pydantic.Field(alias="X-Plex-Version"),
|
|
130
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
131
|
+
] = None
|
|
132
|
+
|
|
133
|
+
client_platform: Annotated[
|
|
134
|
+
Optional[str],
|
|
135
|
+
pydantic.Field(alias="X-Plex-Platform"),
|
|
136
|
+
FieldMetadata(query=QueryParamMetadata(style="form", explode=True)),
|
|
137
|
+
] = None
|
|
138
|
+
|
|
90
139
|
|
|
91
140
|
class GeoDataTypedDict(TypedDict):
|
|
92
141
|
r"""Geo location data"""
|
|
@@ -101,7 +150,7 @@ class GeoDataTypedDict(TypedDict):
|
|
|
101
150
|
r"""The name of the city."""
|
|
102
151
|
time_zone: str
|
|
103
152
|
r"""The time zone of the country."""
|
|
104
|
-
postal_code:
|
|
153
|
+
postal_code: str
|
|
105
154
|
r"""The postal code of the location."""
|
|
106
155
|
subdivisions: str
|
|
107
156
|
r"""The name of the primary administrative subdivision."""
|
|
@@ -133,7 +182,7 @@ class GeoData(BaseModel):
|
|
|
133
182
|
time_zone: str
|
|
134
183
|
r"""The time zone of the country."""
|
|
135
184
|
|
|
136
|
-
postal_code:
|
|
185
|
+
postal_code: str
|
|
137
186
|
r"""The postal code of the location."""
|
|
138
187
|
|
|
139
188
|
subdivisions: str
|
|
@@ -168,7 +217,7 @@ class GetPinAuthPinContainerTypedDict(TypedDict):
|
|
|
168
217
|
trusted: NotRequired[bool]
|
|
169
218
|
expires_in: NotRequired[int]
|
|
170
219
|
r"""The number of seconds this pin expires, by default 900 seconds"""
|
|
171
|
-
auth_token: NotRequired[Nullable[
|
|
220
|
+
auth_token: NotRequired[Nullable[str]]
|
|
172
221
|
new_registration: NotRequired[Nullable[Any]]
|
|
173
222
|
|
|
174
223
|
|
|
@@ -198,7 +247,7 @@ class GetPinAuthPinContainer(BaseModel):
|
|
|
198
247
|
expires_in: Annotated[Optional[int], pydantic.Field(alias="expiresIn")] = 900
|
|
199
248
|
r"""The number of seconds this pin expires, by default 900 seconds"""
|
|
200
249
|
|
|
201
|
-
auth_token: Annotated[OptionalNullable[
|
|
250
|
+
auth_token: Annotated[OptionalNullable[str], pydantic.Field(alias="authToken")] = (
|
|
202
251
|
UNSET
|
|
203
252
|
)
|
|
204
253
|
|