2/account/profile/school list/en
(Created page with '{{api_desc_v2_en| uri=account/profile/school_list| desc=Return all of the schools.| httpMethod=GET| needAuth=true| level={{Api_L1_en}}| rateLimit=true| params={{api_args|province…') |
|||
第25行: | 第25行: | ||
resultDes=None| | resultDes=None| | ||
useAge=*You must provide a parameter either keyword or capital. | useAge=*You must provide a parameter either keyword or capital. | ||
− | *You must provide patameter | + | *You must provide patameter ‘province’ if you query by ‘capital’.| |
otherInfo=None | otherInfo=None | ||
}} | }} |
2012年1月12日 (四) 14:33的最后版本
account/profile/school_list
Return all of the schools.
URL
https://api.weibo.com/2/account/profile/school_list.json
Supported Formats
JSON
HTTP Request Method
GET
Requires Login
true
See the Login and Authorization Mechanism Statement for login and authorization details.
Requests Count Limitation
Level:Normal
Count Limitation:true
See the Interface Access Rights Statement for the request count limitation details.
Request Parameters
Requires | Type and Range | Description | |
---|---|---|---|
source | false | string | This parameter is not needed when using OAuth.The value of this parameter is the AppKey. |
access_token | false | string | This parameter is required when using OAuth.You will get the access_token after oauth authorization. |
province | false | int | Province ID |
city | false | int | City ID |
area | false | int | Area ID |
type | false | int | Return the schools by the school type.1:university; 2:high school; 3:technical secondary school; 4:junior high school; 5:elementary school; Default is 1. |
capital | false | string | The first letter of the school name.Default is A. |
keyword | false | string | The key word of the school name. |
count | false | int | The returned count.Default is 10. |
Notes
- You must provide a parameter either keyword or capital.
- You must provide patameter ‘province’ if you query by ‘capital’.
Response
JSON Example
[ { "id": 245941, "name": "澳门大学" }, ... ]
See the Error Code Description for the error information details.
Field Description
None
Others
None
文档更新时间: 2012-01-12