Playwire™ API Clients

The Playwire™ team has so far developed one API client, a PHP API client. This client provides several classes which can be used from PHP to connect to the Playwire™ API.

The main class is a Playwire class which represents the API, and has a constructor which accepts the API token to access the API. Beyond this there are methods for each of the API requests, which may return one or many Video or VideoCategory classes, which are other classes defined by this client. All errors are encapsulated in a PlaywireException class.

Instead of describing all the methods here, it is suggested that any developers who wish to use the Playwire™ PHP API client download it and read the source code of class.playwire.php.

Another useful reference for how to use this client is this simple example site. The README.txt explains how to set up the site with the Playwire PHP API client.

To make use of this client, the PHP Curl library must be installed.