Get Plex token using PlexTV

This commit is contained in:
JonnyWong16 2016-05-15 12:57:03 -07:00
commit 2e1e3f8409
4 changed files with 78 additions and 56 deletions

18
API.md
View file

@ -1037,6 +1037,22 @@ Returns:
```
### get_pms_token
Get the user's Plex token used for PlexPy.
```
Required parameters:
username (str): The Plex.tv username
password (str): The Plex.tv password
Optional parameters:
None
Returns:
string: The Plex token used for PlexPy
```
### get_recently_added
Get all items that where recelty added to plex.
@ -1094,8 +1110,6 @@ Get the PMS server identifier.
```
Required parameters:
None
hostname (str): 'localhost' or '192.160.0.10'
port (int): 32400