Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jc21/plex-api
PHP API for Plex Servers
https://github.com/jc21/plex-api
Last synced: 3 months ago
JSON representation
PHP API for Plex Servers
- Host: GitHub
- URL: https://github.com/jc21/plex-api
- Owner: jc21
- License: other
- Created: 2015-08-19T05:39:52.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2023-06-07T22:58:16.000Z (over 1 year ago)
- Last Synced: 2024-07-19T04:34:58.360Z (4 months ago)
- Language: PHP
- Size: 87.9 KB
- Stars: 34
- Watchers: 8
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Plex API for PHP
================================================This is a basic API wrapper for Plex. See the
[documentation](docs/Documentation.md) for functionality.This doesn't use the Plex.tv API apart from
signing in.XML data returned is interpreted into arrays.
### Installing via Composer
```bash
# Install Composer
curl -sS https://getcomposer.org/installer | php
```Next, run the Composer command to install the latest stable version:
```bash
composer.phar require jc21/plex-api
```After installing, you need to require Composer's autoloader:
```php
require 'vendor/autoload.php';
```### Using
```php
use jc21\PlexApi;$client = new PlexApi('192.168.0.10');
$client->setAuth('username', 'password');
$result = $client->getOnDeck();
print_r($result);
```