예제 #1
0
 /// <summary>
 /// Get the raw API response for a user's timeline.
 /// </summary>
 /// <param name="options">The options used when making the call to the API.</param>
 /// <returns>An instance of <see cref="TwitterGetUserTimelineResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline</cref>
 /// </see>
 public TwitterGetUserTimelineResponse GetUserTimeline(TwitterGetUserTimelineOptions options)
 {
     return(TwitterGetUserTimelineResponse.ParseResponse(Raw.GetUserTimeline(options)));
 }
예제 #2
0
 /// <summary>
 /// Gets the timeline of the user with the specified <paramref name="screenName"/>.
 /// </summary>
 /// <param name="screenName">The screen name of the user.</param>
 /// <param name="count">The maximum amount of tweets to return.</param>
 /// <param name="maxId">The maximum status message ID. Only status message with an ID less then (that is, older
 /// than) this ID will be returned.</param>
 /// <returns>An instance of <see cref="TwitterGetUserTimelineResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline</cref>
 /// </see>
 public TwitterGetUserTimelineResponse GetUserTimeline(string screenName, int count, long maxId)
 {
     return(TwitterGetUserTimelineResponse.ParseResponse(Raw.GetUserTimeline(screenName, count, maxId)));
 }
예제 #3
0
 /// <summary>
 /// Gets the timeline of the user with the specified <paramref name="userId"/>.
 /// </summary>
 /// <param name="userId">The ID of the user.</param>
 /// <param name="count">The maximum amount of tweets to return.</param>
 /// <param name="maxId">The maximum status message ID. Only status message with an ID less then (that is, older
 /// than) this ID will be returned.</param>
 /// <returns>An instance of <see cref="TwitterGetUserTimelineResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline</cref>
 /// </see>
 public TwitterGetUserTimelineResponse GetUserTimeline(long userId, int count, long maxId)
 {
     return(TwitterGetUserTimelineResponse.ParseResponse(Raw.GetUserTimeline(userId, count, maxId)));
 }
예제 #4
0
 /// <summary>
 /// Gets the timeline of the user with the specified <paramref name="screenName"/>.
 /// </summary>
 /// <param name="screenName">The screen name of the user.</param>
 /// <returns>An instance of <see cref="TwitterGetUserTimelineResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline</cref>
 /// </see>
 public TwitterGetUserTimelineResponse GetUserTimeline(string screenName)
 {
     return(TwitterGetUserTimelineResponse.ParseResponse(Raw.GetUserTimeline(screenName)));
 }
예제 #5
0
 /// <summary>
 /// Gets the timeline of the user with the specified <paramref name="userId"/>.
 /// </summary>
 /// <param name="userId">The ID of the user.</param>
 /// <returns>An instance of <see cref="TwitterGetUserTimelineResponse"/> representing the response.</returns>
 /// <see>
 ///     <cref>https://developer.twitter.com/en/docs/tweets/timelines/api-reference/get-statuses-user_timeline</cref>
 /// </see>
 public TwitterGetUserTimelineResponse GetUserTimeline(long userId)
 {
     return(TwitterGetUserTimelineResponse.ParseResponse(Raw.GetUserTimeline(userId)));
 }