2/search/suggestions/schools/en
search/suggestions/schools
Suggestions for searching schools.
URL
https://api.weibo.com/2/search/suggestions/schools.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. |
q | true | string | Keyword for searching.It must be encoded by URLencoding. |
count | false | int | The returned count.Default is 10. |
type | false | int | Return the schools by the school type.0:All; 1:university; 2:high school; 3:technical secondary school; 4:junior high school; 5:elementary school; Default is 0. |
Notes
None
Response
JSON Example
[ { "school_name": "北京联合大学", "location": 11, "id": 62, "type": 1 }, ... ]
See the Error Code Description for the error information details.
Field Description
None
Others
None
文档更新时间: 19 January 2012