Server
Get Available Clients
Server
Media
Butler
Plex
Library
- GETGet Hash Value
- GETGet Recently Added
- GETGet All Libraries
- GETGet library details
- DELDelete library section
- GETGet library items
- GETGet all media of library
- GETRefresh Metadata Of The Library
- GETSearch library
- GETGet Genres of library media
- GETGet Countries of library media
- GETGet Actors of library media
- GETSearch All Libraries
- GETGet Media Metadata
- GETGet Items Children
- GETGet Top Watched Content
- GETGet On Deck
Watchlist
Playlists
Authentication
Sessions
Server
Get Available Clients
Get Available Clients
GET
/
clients
using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components;
var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");
var res = await sdk.Server.GetAvailableClientsAsync();
// handle response
{
"MediaContainer": {
"size": 1,
"Server": [
{
"name": "iPad",
"host": "10.10.10.102",
"address": "10.10.10.102",
"port": 32500,
"machineIdentifier": "A2E901F8-E016-43A7-ADFB-EF8CA8A4AC05",
"version": "8.17",
"protocol": "plex",
"product": "Plex for iOS",
"deviceClass": "tablet",
"protocolVersion": 2,
"protocolCapabilities": "playback,playqueues,timeline,provider-playback"
}
]
}
}
Authorizations
Plex Authentication Token
Response
200
application/json
Available Clients
Example:
1
Example:
"iPad"
Example:
"10.10.10.102"
Example:
"10.10.10.102"
Example:
32500
Example:
"A2E901F8-E016-43A7-ADFB-EF8CA8A4AC05"
Example:
"8.17"
Example:
"plex"
Example:
"Plex for iOS"
Example:
"tablet"
Example:
2
Example:
"playback,playqueues,timeline,provider-playback"
using LukeHagar.PlexAPI.SDK;
using LukeHagar.PlexAPI.SDK.Models.Components;
var sdk = new PlexAPI(accessToken: "<YOUR_API_KEY_HERE>");
var res = await sdk.Server.GetAvailableClientsAsync();
// handle response
{
"MediaContainer": {
"size": 1,
"Server": [
{
"name": "iPad",
"host": "10.10.10.102",
"address": "10.10.10.102",
"port": 32500,
"machineIdentifier": "A2E901F8-E016-43A7-ADFB-EF8CA8A4AC05",
"version": "8.17",
"protocol": "plex",
"product": "Plex for iOS",
"deviceClass": "tablet",
"protocolVersion": 2,
"protocolCapabilities": "playback,playqueues,timeline,provider-playback"
}
]
}
}