Created
January 31, 2018 17:01
-
-
Save husaynhakeem/a23ac538b17152a85947ec2e0c78e90a to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.twitter.sdk.android.core.models.Tweet; | |
| import java.util.List; | |
| import io.reactivex.Single; | |
| import retrofit2.http.GET; | |
| import retrofit2.http.Query; | |
| public interface TweetsApi { | |
| @GET("user_timeline.json") | |
| Single<List<Tweet>> getTweets(@Query("screen_name") String screenName, | |
| @Query("trim_user") boolean trimUser, | |
| @Query("tweet_mode") String tweetMode, | |
| @Query("count") int count, | |
| @Query("page") int page); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment