Site list

Get your site list

sitesList - Returns list of all sites that the authorized user can access.

Description

mixed sitesList ( bool $encode );
This method is type of GET and will not receive any POST parameters.

Parameters

@param (bool) $encode
Encode response into JSON

Examples

Get JSON response:

<?php 
    require_once('lib/api.php');
    $api = new BridApi();
    print_r($api->sitesList());
?>

Get PHP response:

<?php 
    require_once('lib/api.php');
    $api = new BridApi();
    print_r($api->sitesList(true));
?>