Exemple #1
0
 /// <summary>
 ///     搜索某一话题下的微博
 /// </summary>
 /// <param name="q">搜索的话题关键字</param>
 /// <param name="count">单页返回的记录条数,默认为10,最大为50。 </param>
 /// <param name="page">返回结果的页码,默认为1。</param>
 /// <returns></returns>
 public Collection Topics(string q, int count = 10, int page = 1)
 {
     return(JsonConvert.DeserializeObject <Collection>(api.Topics(q, count, page)));
 }
Exemple #2
0
 /// <summary>
 /// 搜索某一话题下的微博
 /// </summary>
 /// <param name="q">搜索的话题关键字</param>
 /// <param name="count">单页返回的记录条数,默认为10,最大为50。 </param>
 /// <param name="page">返回结果的页码,默认为1。</param>
 /// <returns></returns>
 public dynamic Topics(string q, int count = 10, int page = 1)
 {
     return(DynamicJson.Parse(api.Topics(q, count, page)));
 }