Skip to content

Instantly share code, notes, and snippets.

View billettg's full-sized avatar
:octocat:
Load “” code

Gareth Billett billettg

:octocat:
Load “” code
View GitHub Profile
@billettg
billettg / plex-pin-auth.py
Created July 2, 2024 10:26
Sample code for PIN authentication using Plex API
import uuid
import random
import time
import requests
import logging
# Configure logging
logging.basicConfig(level=logging.DEBUG, format='%(asctime)s - %(levelname)s - %(message)s')
# Constants