예제 #1
0
파일: WeiboClientV2.cs 프로젝트: JDCB/JDCB
        /// <summary>
        /// This is a async request of \statuses\repost_timeline rest call. 
        ///It returns JsonResponse&lt;Stream&gt;
		/// Here comes request Comments:
		///<para>获取指定微博的转发微博列表 </para>
		///<para>URL:</para>
		///<para>	https://api.weibo.com/2/statuses/repost_timeline.json</para>
		///<para>支持格式:</para>
		///<para>	JSON</para>
		///<para>HTTP请求方式:</para>
		///<para>	GET</para>
		///<para>是否需要登录:</para>
		///<para>	是  关于登录授权,参见 如何登录授权</para>
		///<para>访问授权限制:</para>
		///<para>	访问级别:普通接口  频次限制:是  关于频次限制,参见 接口访问权限说明</para>
		///<para>注意事项:</para>
		///<para>	无</para>
		///<para></para>
        /// </summary>
        public async Task<JsonResponse<Stream>> RequestStatusesRepostTimelineAsync (
            StatusesRepostTimeline.Request request,
            CancellationToken cancellationToken=default(CancellationToken),
            IProgress<ProgressReport> progress=null)			
        {
            return await _requestStatusesRepostTimelineMethod.GetResponseAsync(request, cancellationToken, progress);
        }
예제 #2
0
파일: WeiboClientV2.cs 프로젝트: JDCB/JDCB
        /// <summary>
        /// This is a sync request of \statuses\repost_timeline rest call.
        ///It returns JsonResponse&lt;Stream&gt;
		/// Here comes request Comments:
		///<para>获取指定微博的转发微博列表 </para>
		///<para>URL:</para>
		///<para>	https://api.weibo.com/2/statuses/repost_timeline.json</para>
		///<para>支持格式:</para>
		///<para>	JSON</para>
		///<para>HTTP请求方式:</para>
		///<para>	GET</para>
		///<para>是否需要登录:</para>
		///<para>	是  关于登录授权,参见 如何登录授权</para>
		///<para>访问授权限制:</para>
		///<para>	访问级别:普通接口  频次限制:是  关于频次限制,参见 接口访问权限说明</para>
		///<para>注意事项:</para>
		///<para>	无</para>
		///<para></para>
        /// </summary>
        public JsonResponse<Stream> RequestStatusesRepostTimeline(StatusesRepostTimeline.Request request)
        {
            return RequestStatusesRepostTimelineAsync(request).Result;
        }        
예제 #3
0
파일: WeiboClientV2.cs 프로젝트: JDCB/JDCB
        /// <summary>
        /// This is a sync execution of \statuses\repost_timeline rest call. 
        /// It returns JsonResponse&lt;StatusesRepostTimeline.Response&gt;
		/// Here comes request Comments:
		///<para>获取指定微博的转发微博列表 </para>
		///<para>URL:</para>
		///<para>	https://api.weibo.com/2/statuses/repost_timeline.json</para>
		///<para>支持格式:</para>
		///<para>	JSON</para>
		///<para>HTTP请求方式:</para>
		///<para>	GET</para>
		///<para>是否需要登录:</para>
		///<para>	是  关于登录授权,参见 如何登录授权</para>
		///<para>访问授权限制:</para>
		///<para>	访问级别:普通接口  频次限制:是  关于频次限制,参见 接口访问权限说明</para>
		///<para>注意事项:</para>
		///<para>	无</para>
		///<para></para>
        /// </summary>
        public JsonResponse<StatusesRepostTimeline.Response> ExecuteStatusesRepostTimeline(StatusesRepostTimeline.Request request)
        {
            return ExecuteStatusesRepostTimelineAsync(request).Result;
        }