lib/Dropbox/Client.php
function getAccountInfo()
    {
        $response = $this->doGet($this->apiHost, "1/account/info");
        if ($response->statusCode !== 200) throw RequestUtil::unexpectedStatus($response);
        return RequestUtil::parseResponseJson($response->body);
    }
function getAccountInfo()
    {
        $response = $this->doGet($this->apiHost, "1/account/info");
        if ($response->statusCode !== 200) throw RequestUtil::unexpectedStatus($response);
        return RequestUtil::parseResponseJson($response->body);
    }
Make an API call to get basic account and quota information.

<code>
$client = ...
$accountInfo = $client->getAccountInfo();
print_r($accountInfo);
</code>

@return array
See <a href="https://www.dropbox.com/developers/core/docs#account-info">/account/info</a>.

@throws Exception