public List<Trends> getTrendsHourly(Integer base_app) throws WeiboException { return Trends.constructTrendsList( client.get( WeiboConfig.getValue("baseURL") + "trends/hourly.json", new PostParameter[] {new PostParameter("base_app", base_app.toString())}, access_token)); }
/** * 返回最近一小时内的热门话题 * * @param base_app 是否只获取当前应用的数据。0为否(所有数据),1为是(仅当前应用),默认为0 * @return list of trends * @throws WeiboException when Weibo service or network is unavailable * @version weibo4j-V2 1.0.1 * @throws JSONException * @see http://open.weibo.com/wiki/2/trends/hourly * @since JDK 1.5 */ public List<Trends> getTrendsHourly() throws WeiboException { return Trends.constructTrendsList( client.get(WeiboConfig.getValue("baseURL") + "trends/hourly.json", access_token)); }