mirror of
https://github.com/LukeHagar/plexpy.git
synced 2025-12-09 20:57:44 +00:00
ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.513.4
This commit is contained in:
@@ -25,6 +25,7 @@ Get Companions Data
|
||||
```python
|
||||
from plex_api_client import PlexAPI
|
||||
|
||||
|
||||
with PlexAPI(
|
||||
access_token="<YOUR_API_KEY_HERE>",
|
||||
) as plex_api:
|
||||
@@ -66,6 +67,7 @@ Get friends of provided auth token.
|
||||
```python
|
||||
from plex_api_client import PlexAPI
|
||||
|
||||
|
||||
with PlexAPI(
|
||||
access_token="<YOUR_API_KEY_HERE>",
|
||||
) as plex_api:
|
||||
@@ -107,6 +109,7 @@ Returns the geolocation and locale data of the caller
|
||||
```python
|
||||
from plex_api_client import PlexAPI
|
||||
|
||||
|
||||
with PlexAPI() as plex_api:
|
||||
|
||||
res = plex_api.plex.get_geo_data()
|
||||
@@ -146,6 +149,7 @@ Retrieves the home data for the authenticated user, including details like home
|
||||
```python
|
||||
from plex_api_client import PlexAPI
|
||||
|
||||
|
||||
with PlexAPI(
|
||||
access_token="<YOUR_API_KEY_HERE>",
|
||||
) as plex_api:
|
||||
@@ -186,6 +190,7 @@ Get Plex server access tokens and server connections
|
||||
```python
|
||||
from plex_api_client import PlexAPI
|
||||
|
||||
|
||||
with PlexAPI(
|
||||
access_token="<YOUR_API_KEY_HERE>",
|
||||
) as plex_api:
|
||||
@@ -231,6 +236,7 @@ Retrieve a Pin ID from Plex.tv to use for authentication flows
|
||||
```python
|
||||
from plex_api_client import PlexAPI
|
||||
|
||||
|
||||
with PlexAPI() as plex_api:
|
||||
|
||||
res = plex_api.plex.get_pin(request={
|
||||
@@ -276,6 +282,7 @@ Retrieve an Access Token from Plex.tv after the Pin has been authenticated
|
||||
```python
|
||||
from plex_api_client import PlexAPI
|
||||
|
||||
|
||||
with PlexAPI() as plex_api:
|
||||
|
||||
res = plex_api.plex.get_token_by_pin_id(request={
|
||||
|
||||
Reference in New Issue
Block a user