src/Yandex/Market/Content/Clients/PopularClient.php
public function getCategoryModels($categoryId, $params = array())
    {
        $resource = 'popular/' . $categoryId . '.json';
        $resource .= '?' . $this->buildQueryString($params);
        $response = $this->getServiceResponse($resource);

        $getPopularCategoryModelsResponse = new Models\ResponsePopularCategoryModelsGet($response);

        return $getPopularCategoryModelsResponse;
    }
public function getCategoryModels($categoryId, $params = array())
    {
        $resource = 'popular/' . $categoryId . '.json';
        $resource .= '?' . $this->buildQueryString($params);
        $response = $this->getServiceResponse($resource);

        $getPopularCategoryModelsResponse = new Models\ResponsePopularCategoryModelsGet($response);

        return $getPopularCategoryModelsResponse;
    }
public function getCategoryModels ( $ categoryId , $ params = array ( ) ) { $ resource = 'popular/' . $ categoryId . '.json' ; $ resource .= '?' . $ this -> buildQueryString ( $ params ) ; $ response = $ this -> getServiceResponse ( $ resource ) ; $ getPopularCategoryModelsResponse = new Models \ ResponsePopularCategoryModelsGet ( $ response ) ; return $ getPopularCategoryModelsResponse ; }
Get popular category models

Returns popular category models of Yandex.Market service according to params.

@see https://tech.yandex.ru/market/content-data/doc/dg/reference/popular-category-id-docpage/

@param int   $categoryId
@param array $params

@return Models\ResponsePopularCategoryModelsGet
Get popular category models