Magento API Call for Getting Product List with Filters

Magento Provides Web Services API Features systems communicate magento store.
for magento webservices please visit the official site links

While the methods fetch product outside magento.
After Carefully Inspecting the Magento API code finally the Product list filters applied.
So I will share the Solution.

//Sample Code For Soap Client
$client = SoapClient(‘http://example.com/api/?wsdl’);
// login

try {
$session = $client->login(‘your_api_username’, ‘your_api_key’);
$filters = array(
array(‘sku’ => array(‘like’=>’test%’),’name’=>array(‘eq’=>’Test’))
);

$message=$client->call($session,’catalog.product.list’,$filters);
print_r($message);
}
catch(Exception $fault)
{
echo $fault->getMessage();
}

// Sample Code For XMLRPC client

$client = Zend_XMLRPC_Client(‘http://example.com/api/xmlrpc’);
$session = $client->call(‘login’, array(‘your_api_username’, ‘your_api_key’));
$filters = array(
array(‘sku’ => array(‘like’=>’test%’),’name’=>array(‘eq’=>’Test’))
);

try {
$message = $client->call(‘call’, array($session, ‘catalog_product.list’, $filters));
print_r($message);
} catch (Exception $fault) {
echo $fault->getMessage();
}

Requirement :- Magento 1.4