Connection + auth options.
Optionalauthenticationauth token for user by plex
OptionalcertificateUnknown
OptionalemailYour current Plex email address
OptionalentitlementsList of devices your allowed to use with this account
OptionalguestUnknown
OptionalhomeUnknown
OptionalhomeUnknown
OptionalidYour Plex account ID
OptionallocaleYour Plex locale
OptionalmailingOptionalmailingYour current mailing list status.
OptionalmaxUnknown
OptionalpasswordOptionalqueueEmail address to add items to your Watch Later queue.
OptionalrestrictedUnknown
OptionalscrobbleDescription
OptionalserverOptionalsubscriptionTrue if your subsctiption is active
OptionalsubscriptionList of features allowed on your subscription
OptionalsubscriptionName of subscription plan
OptionalsubscriptionString representation of subscriptionActive
OptionalthumbURL of your account thumbnail
OptionaltitleUnknown. - Looks like an alias for username
OptionaltokenOptionalusernameOptionaluuidUnknown
StatickeyAccept a pending invite received by this account.
Add one or more movies or shows to this account's watchlist.
Add an existing Plex user to this Plex Home.
Optionalsharing: InviteFriendOptionsAdd one webhook while preserving the account's existing URLs.
Cancel a pending invite sent by this account.
pass token from claimToken
Returns a str, a new "claim-token", which you can use to register your new Plex Server instance to your account.
Returns a new :class:~server.PlexServer or :class:~client.PlexClient object.
Often times there is more than one address specified for a server or client.
This function will prioritize local connections before remote and HTTPS before HTTP.
After trying to connect to all available addresses for this resource and
assuming at least one connection was successful, the PlexServer object is built and returned.
Create a managed Plex Home user and assign their shared libraries.
Name to match against.
OptionalclientId: string
clientIdentifier to match against.
Returns a list of all :class:~plexapi.myplex.MyPlexDevice objects connected to the server.
Invite a Plex user and share selected libraries with them.
Return whether a movie or show is currently on this account's watchlist.
Find a pending invite by username, email, friendly name, or account id.
Return pending invites sent from or received by this account.
Main method used to handle HTTPS requests to the Plex client. This method helps by encoding the response to utf-8 and parsing the returned XML into and ElementTree object. Returns None if no data exists in the response. TODO: use headers
Remove a user from this account's friends.
Remove one or more movies or shows from this account's watchlist.
Remove a managed user from this Plex Home.
Remove a managed Plex Home user's PIN.
Remove the signed-in account's Plex Home PIN.
Remove one webhook while preserving the account's remaining URLs.
Returns the :class:~plexapi.myplex.MyPlexResource that matches the name specified.
Set or change a managed Plex Home user's PIN.
Set or change the signed-in account's Plex Home PIN.
Replace all webhook URLs configured for this Plex account.
Return the server libraries available to account-sharing APIs.
Switch authentication to a managed Plex Home user.
Update a user's shared libraries and account-level sharing settings.
Find an account user by title, username, email, or account id.
Return users connected to this Plex account, including managed home users.
Return Plex Discover user state for a movie or show.
Return movies and shows in this account's Plex Discover watchlist.
Return webhook URLs configured for this Plex account.
StaticgetThis follows the outline described in https://forums.plex.tv/t/authenticating-with-plex/609370
to fetch a token and potentially compromise username and password. To use first call getWebLogin()
and present the returned uri to a user to go to, then await webLoginCheck(). If you pass in a
forwardUrl, then send the user to the returned uri, and when a request comes in on the passed in
url, then await webLoginCheck().
StaticwebPass in the webLogin object obtained from getWebLogin() and this will poll Plex to see if
the user agreed. It returns a connected MyPlexAccount or throws an error.
MyPlex account and profile information. This object represents the data found Account on the myplex.tv servers at the url https://plex.tv/users/account. You may create this object directly by passing in your username & password (or token). There is also a convenience method provided at :class:
~plexapi.server.PlexServer.myPlexAccount()which will create and return this object.