plex-api 0.0.12

Library for communication with Plex server. Work in progress, not ready for any use. See github for details.
Documentation
{
    "id": 12345,
    "uuid": "212acf24b07315e5",
    "username": "user@example.com",
    "title": "user@example.com",
    "email": "user@example.com",
    "friendlyName": "",
    "locale": null,
    "confirmed": true,
    "emailOnlyAuth": false,
    "hasPassword": true,
    "protected": true,
    "thumb": "https://plex.tv/users/212acf24b07315e5/avatar?c=1630875354",
    "authToken": "auth_token",
    "mailingListStatus": "unsubscribed",
    "mailingListActive": false,
    "scrobbleTypes": "10",
    "country": "GB",
    "pin": "<pin>",
    "subscription": {
        "active": true,
        "subscribedAt": "2021-10-01T01:02:03Z",
        "status": "Active",
        "paymentService": "braintree",
        "plan": "lifetime",
        "features": [
            "webhooks",
            "camera_upload",
            "home",
            "pass",
            "dvr",
            "trailers",
            "session_bandwidth_restrictions",
            "music_videos",
            "content_filter",
            "adaptive_bitrate",
            "sync",
            "lyrics",
            "cloudsync",
            "premium_music_metadata",
            "hardware_transcoding",
            "session_kick",
            "photos-metadata-edition",
            "collections",
            "radio",
            "tuner-sharing",
            "photos-favorites",
            "hwtranscode",
            "photosV6-tv-albums",
            "photosV6-edit",
            "federated-auth",
            "item_clusters",
            "livetv",
            "Android - PiP",
            "photos-v5",
            "podcasts",
            "livetv-platform-specific",
            "type-first",
            "unsupportedtuners",
            "kevin-bacon",
            "live-tv-channels-grid",
            "Subtitles on Demand",
            "web-log-viewer",
            "client-radio-stations",
            "imagga-v2",
            "silence-removal",
            "boost-voices",
            "volume-leveling",
            "sweet-fades",
            "sleep-timer",
            "TREBLE-show-features",
            "web_server_dashboard",
            "visualizers",
            "chromecast-music-mp",
            "premium-dashboard",
            "conan_redirect_qa",
            "conan_redirect_alpha",
            "conan_redirect_beta",
            "conan_redirect_public",
            "save-to-library",
            "nominatim",
            "transcoder_cache",
            "live-tv-support-incomplete-segments",
            "dvr-block-unsupported-countries",
            "companions_sonos",
            "users-and-sharing",
            "web-share-v2",
            "sonos-client-feature",
            "artist-tv",
            "allow_dvr",
            "music_preview",
            "signin_notification",
            "singleitemsharing",
            "exclude restrictions",
            "vod",
            "signin_with_apple",
            "drm_support",
            "metadata",
            "tunefind-clients",
            "Android - Dolby Vision",
            "parental-controls",
            "epg-recent-channels",
            "spring_serve_ad_provider",
            "lets_encrypt",
            "conan_redirect_nightlies",
            "conan_redirect_nightly",
            "vod_subtitles",
            "watchlist",
            "create_anonymous_users",
            "retro-games",
            "web-desktop-v4-home",
            "web-desktop-v4-pre-plays",
            "intro-markers",
            "client-non-destructive-comskip",
            "web-desktop-live-tv-chromecast-remote-player",
            "web-desktop-v4-dvr-setup",
            "watch-together-20200520",
            "watch-together-invite",
            "spotlight-style-hub",
            "Sync v3",
            "tunefind-vod",
            "live-tv-on-plex-subtitles",
            "ios14-privacy-banner",
            "two-factor-authentication",
            "amazon-loop-debug",
            "retro-games-plex-tv",
            "two-factor-authentication-clients",
            "vod_cloudflare",
            "global-continue-watching",
            "grandfather-sync",
            "downloads-gating",
            "optimize-server-users-endpoint",
            "web-desktop-gracenote-banner",
            "metadata_search",
            "CU Sunset",
            "news-provider-sunset-modal",
            "custom-home-removal",
            "bypass-web-navbar-upsell-modal",
            "music-analysis",
            "album-types",
            "ad-countdown-timer",
            "guided-upgrade",
            "upgrade-3ds2"
        ]
    },
    "subscriptionDescription": "Lifetime Plex Pass",
    "restricted": false,
    "anonymous": null,
    "home": true,
    "guest": false,
    "homeSize": 3,
    "homeAdmin": true,
    "maxHomeSize": 15,
    "rememberExpiresAt": 1641937035,
    "profile": {
        "autoSelectAudio": true,
        "defaultAudioAccessibility": 0,
        "defaultAudioLanguage": "en",
        "defaultAudioLanguages": null,
        "defaultSubtitleLanguage": "en",
        "defaultSubtitleLanguages": null,
        "autoSelectSubtitle": 0,
        "defaultSubtitleAccessibility": 0,
        "defaultSubtitleForced": 0,
        "watchedIndicator": 1,
        "mediaReviewsVisibility": 0,
        "mediaReviewsLanguages": null
    },
    "entitlements": [
        "ios",
        "all",
        "roku",
        "android",
        "xbox_one",
        "xbox_360",
        "windows",
        "windows_phone"
    ],
    "roles": [
        "plexpass"
    ],
    "subscriptions": [
        {
            "id": null,
            "mode": "lifetime",
            "renewsAt": null,
            "endsAt": null,
            "type": "plexpass",
            "transfer": null,
            "state": "active"
        }
    ],
    "pastSubscriptions": [],
    "trials": [],
    "services": [
        {
            "identifier": "epg",
            "endpoint": "https://epg.provider.plex.tv",
            "token": "token1",
            "status": "online"
        },
        {
            "identifier": "epg-staging",
            "endpoint": "https://epg-staging.provider.plex.tv",
            "token": "token1",
            "status": "online"
        },
        {
            "identifier": "epg-dev",
            "endpoint": "https://epg-dev.provider.plex.tv",
            "token": "token1",
            "status": "online"
        },
        {
            "identifier": "eyeq",
            "endpoint": "https://c4412416.ipg.web.cddbp.net/webapi/xml/1.0/",
            "token": "token2",
            "status": "online"
        },
        {
            "identifier": "eyeq-channel-icons",
            "endpoint": "http://akamai-b.cdn.cddbp.net/cds/2.0/image",
            "status": "online"
        },
        {
            "identifier": "graph-dev",
            "endpoint": "https://graph-dev.provider.plex.tv",
            "status": "online"
        },
        {
            "identifier": "graph-staging",
            "endpoint": "https://graph-staging.provider.plex.tv",
            "status": "online"
        },
        {
            "identifier": "imagga-v2",
            "endpoint": "https://api.imagga.com/v2",
            "token": "token3",
            "secret": "secret3",
            "status": "online"
        },
        {
            "identifier": "nominatim",
            "endpoint": "https://locationiq.org/v1",
            "token": "token4",
            "status": "online"
        },
        {
            "identifier": "metadata",
            "endpoint": "https://metadata.provider.plex.tv",
            "token": "token5",
            "status": "online"
        },
        {
            "identifier": "metadata-dev",
            "endpoint": "https://metadata-dev.provider.plex.tv",
            "token": "token5",
            "status": "online"
        },
        {
            "identifier": "metadata-provider",
            "endpoint": "https://mpm.plex.tv/",
            "status": "online"
        },
        {
            "identifier": "tmsapi",
            "endpoint": "https://tmsapi.plex.tv/v1.1/",
            "token": "token6",
            "status": "online"
        },
        {
            "identifier": "subtitles-search",
            "endpoint": "https://metadata.provider.plex.tv/library/metadata/matches",
            "token": "token5",
            "status": "online"
        },
        {
            "identifier": "acoustid",
            "endpoint": "https://acoustid.plex.tv/",
            "token": "token7",
            "status": "online"
        },
        {
            "identifier": "lyricfind",
            "endpoint": "https://lyricfind.plex.tv/",
            "token": "token8",
            "secret": "secret8",
            "status": "online"
        },
        {
            "identifier": "lyricfind-search",
            "endpoint": "https://lyricfind.plex.tv/",
            "token": "token9",
            "status": "online"
        },
        {
            "identifier": "tvdb",
            "endpoint": "https://api4.thetvdb.com/",
            "token": "token10",
            "status": "online"
        }
    ],
    "adsConsent": true,
    "adsConsentSetAt": 1618272851,
    "adsConsentReminderAt": 1649808851,
    "experimentalFeatures": true,
    "twoFactorEnabled": true,
    "backupCodesCreated": true,
    "joinedAt": 1339124759
}