Skip to content

Instantly share code, notes, and snippets.

View Starbix's full-sized avatar
🚲

Cédric Laubacher Starbix

🚲
View GitHub Profile
@blacktwin
blacktwin / plexapi_haiku.py
Created May 1, 2017 15:43
Randomly create haiku based on Plex libraries content.
from plexapi.server import PlexServer
import random
import re
baseurl = 'http://localhost:32400'
token = 'XXXXXXXXXX'
plex = PlexServer(baseurl, token)