mirror of
https://github.com/LukeHagar/plexpy.git
synced 2025-12-06 12:47:44 +00:00
SDK update generated by liblab
This commit is contained in:
10
examples/sample.py
Normal file
10
examples/sample.py
Normal file
@@ -0,0 +1,10 @@
|
||||
from os import getenv
|
||||
from pprint import pprint
|
||||
from plexsdk import PlexSDK
|
||||
|
||||
sdk = PlexSDK()
|
||||
sdk.set_api_key(getenv("PLEXSDK_API_KEY"))
|
||||
|
||||
results = sdk.server.get_server_capabilities()
|
||||
|
||||
pprint(vars(results))
|
||||
Reference in New Issue
Block a user