src/Yandex/Metrica/Management/GrantsClient.php
public function getGrants($counterId, $params = [])
    {
        $resource = 'counter/' . $counterId . '/grants';
        $response = $this->sendGetRequest($resource, $params);
        $grantResponse = new Models\GetGrantsResponse($response);
        return $grantResponse->getGrants();
    }
public function getGrants($counterId, $params = [])
    {
        $resource = 'counter/' . $counterId . '/grants';
        $response = $this->sendGetRequest($resource, $params);
        $grantResponse = new Models\GetGrantsResponse($response);
        return $grantResponse->getGrants();
    }
public function getGrants ( $ counterId , $ params = [ ] ) { $ resource = 'counter/' . $ counterId . '/grants' ; $ response = $ this -> sendGetRequest ( $ resource , $ params ) ; $ grantResponse = new Models \ GetGrantsResponse ( $ response ) ; return $ grantResponse -> getGrants ( ) ; }
Get counter grants

@see http://api.yandex.ru/metrika/doc/beta/management/grants/grants.xml

@param int $counterId
@param array $params
@return array
Get counter grants