src/Dropbox/Dropbox.php
public function getAccounts(array $account_ids = [])
    {
        //Get account
        $response = $this->postToAPI('/users/get_account_batch', ['account_ids' => $account_ids]);
        $body = $response->getDecodedBody();

        //Make and return the model
        return new AccountList($body);
    }
public function getAccounts(array $account_ids = [])
    {
        //Get account
        $response = $this->postToAPI('/users/get_account_batch', ['account_ids' => $account_ids]);
        $body = $response->getDecodedBody();

        //Make and return the model
        return new AccountList($body);
    }
public function getAccounts ( array $ account_ids = [ ] ) { //Get account $ response = $ this -> postToAPI ( '/users/get_account_batch' , [ 'account_ids' => $ account_ids ] ) ; $ body = $ response -> getDecodedBody ( ) ; //Make and return the model return new AccountList ( $ body ) ; }
Get Multiple Accounts in one call

@param array $account_ids IDs of the accounts to get details for

@link https://www.dropbox.com/developers/documentation/http/documentation#users-get_account_batch

@return \Kunnu\Dropbox\Models\AccountList
Get Multiple Accounts in one call