raymauge/rokuwsphp

PHP Library for handling communication with Roku Web Services API

dev-master 2015-05-04 21:31 UTC

This package is not auto-updated.

Last update: 2024-04-17 07:23:28 UTC


README

Roku SDK for communicating with the Roku Web Service API: http://sdkdocs.roku.com/display/sdkdoc/Web+Service+API

Usage

Install the latest version with composer require raymauge/rokuwsphp

<?php

use RokuWS\RokuWS;

$ws = new RokuWS(<apiKey>);
$rokuResponse = $ws->validateTransaction(<transactionId>);
$responseArray = $rokuResponse->getParsedResponse();
$expDate = $responseArray['expirationDate'];

License

RokuWSPHP is licensed under the MIT license.