2/account/profile/school list/en
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