quietasice/rokuwsphp

PHP Library for handling communication with Roku Web Services API

dev-master 2022-11-24 15:55 UTC

This package is auto-updated.

Last update: 2024-12-18 19:05:54 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.