APIを見ると、コードは次のようになると思われます。これは完全にテストされていないことに注意してください。特定のユーザ名でユーザをゲットするために上場メソッドを使用して、特定の電子メール
//listing function definition void listing (&$rows, &$resultInfo, [ $page = 1], [ $perPage = 25], [ $filters = array()])
//get projects, 25 per page, page 1, where project belong to client email [email protected]
$client->listing($rows,$resultInfo,1,25,array('email'=>'[email protected]'));
//dump result data
print_r($rows);
print_r($resultInfo);
をユーザにゲットするために上場メソッドを使用して、クライアントオブジェクト
//new Client object
$client = new FreshBooks_Client();
と
スタート
//listing function definition void listing (&$rows, &$resultInfo, [ $page = 1], [ $perPage = 25], [ $filters = array()])
//get projects, 25 per page, page 1, where project belong to client username test
$client->listing($rows,$resultInfo,1,25,array('username'=>'test'));
//dump result data
print_r($rows);
print_r($resultInfo);
ご協力いただきありがとうございます。