I want to fetch all the property records in toronto MLS api using phrets server API in Laravel. But whenever I hit the API total records are fetched 10000 property records, but in toronto MLS api total property records are more than 50000. please help me to fetch all the properties records.
$rets_login_url = "http://rets.torontomls.net:6103/rets-treb3pv/server/login";
$rets_username = "******";
$rets_password = "******";
$rets_user_agent = "********";
$rets_user_agent_password = "******";
$config = \PHRETS\Configuration::load([
'login_url' => $rets_login_url,
'username' => $rets_username,
'password' => $rets_password,
'useragent' => $rets_user_agent,
'useragentpassword' => $rets_user_agent_password,
'rets_version' => '1.5',
]);
$rets = new \PHRETS\Session($config);
$connect = $rets->Login();
if($connect){
echo "connected";
}
else{
print_r($rets->Error());
}
$residential = $rets->Search("Property", "ResidentialProperty", "(Area_code=*)");
$commercial = $rets->Search("Property", "CommercialProperty", "(Area_code=*)");
** I want to fetch all the property records related to residentail and commercial full listing i.e more than 50000 **