channelsList - Returns the channel list.
mixed channelsList ( bool $encode );
This method is type of GET and will not receive any POST parameters.
@param (bool) $encode
Encode response into JSON
Get JSON response:
<?php
require_once('lib/api.php');
$api = new BridApi();
print_r($api->channelsList());
?>
Get PHP response:
<?php
require_once('lib/api.php');
$api = new BridApi();
print_r($api->channelsList(true));
?>