SaeTClientV2::search_schools PHP Method

search_schools() public method

对应API:{@link http://open.weibo.com/wiki/2/search/suggestions/schools search/suggestions/schools}
public search_schools ( string $q, integer $count = 10, $type = 1 ) : array
$q string 搜索的关键字,必须做URLencoding。必填
$count integer 返回的记录条数,默认为10。
return array
    function search_schools($q, $count = 10, $type = 1)
    {
        $params = array();
        $params['q'] = $q;
        $params['count'] = $count;
        $params['type'] = $type;
        return $this->oauth->get('search/suggestions/schools', $params);
    }
SaeTClientV2