SaeTClientV2::school_list PHP Method

school_list() public method

对应API:{@link http://open.weibo.com/wiki/2/account/profile/school_list account/profile/school_list}
public school_list ( array $query ) : array
$query array 搜索选项。格式:array('key0'=>'value0', 'key1'=>'value1', ....)。支持的key: - province int 省份范围,省份ID。 - city int 城市范围,城市ID。 - area int 区域范围,区ID。 - type int 学校类型,1:大学、2:高中、3:中专技校、4:初中、5:小学,默认为1。 - capital string 学校首字母,默认为A。 - keyword string 学校名称关键字。 - count int 返回的记录条数,默认为10。 参数keyword与capital二者必选其一,且只能选其一。按首字母capital查询时,必须提供province参数。
return array
    function school_list($query)
    {
        $params = $query;
        return $this->oauth->get('account/profile/school_list', $params);
    }
SaeTClientV2