public JSONArray searchSuggestionsSchools(String q) throws WeiboException { return client .get( WeiboConfig.getValue("baseURL") + "search/suggestions/schools.json", new PostParameter[] {new PostParameter("q", q)}) .asJSONArray(); }
public JSONArray searchSuggestionsAt_users(String q, int type) throws WeiboException { return client .get( WeiboConfig.getValue("baseURL") + "search/suggestions/at_users.json", new PostParameter[] {new PostParameter("q", q), new PostParameter("type", type)}) .asJSONArray(); }
public JSONArray searchSuggestionsApps(String q, int count) throws WeiboException { return client .get( WeiboConfig.getValue("baseURL") + "search/suggestions/apps.json", new PostParameter[] {new PostParameter("q", q), new PostParameter("count", count)}) .asJSONArray(); }