List bargains API

<?php
include("src/Ratebe.php");
include("config.php");
$action = 'bargain_list';
$msg = '';
$rest_data = array(
	'bizID' => $auth_arr['bizID']
); 
$Ratebe = new Ratebe($auth_arr,$action,$rest_data);
$result_arr = $Ratebe->go();
if($result_arr["result"]=="fail")
	$msg = 'You have failed to list the bargains. Reason: '.$result_arr["error"];
?>