$apiUrl = 'http://192.168.1.7/xxxx/api/rest';
...
$oauthClient->setToken($_SESSION['token'], $_SESSION['secret']);
$resourceUrl = "$apiUrl/products?page=1&limit=5";
$oauthClient->fetch($resourceUrl, array(), 'GET', array('Content-Type' => 'application/json', 'Accept' => '*/*'));
$productsList = json_decode($oauthClient->getLastResponse());
print_r($productsList);
exit;
I have getting list of product using rest api but i wants a filter with status=1 and visibility=4