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);
희망을 시작하는 데 도움이 되길 바랍니다.