示例#1
0
 public override string ToString()
 {
     return(UrlBuilder.GetPhotos(this));
 }
示例#2
0
 public async Task <GetUserDetailsResponse> GetUser(long userId)
 {
     return(await Get <GetUserDetailsResponse>(UrlBuilder.GetUser(userId)));
 }
示例#3
0
 public async Task <GetPhotosResponse> GetPhotos(IPhotoFilter filter, int page = 1, int resultsPerPage = 100)
 {
     return(await Get <GetPhotosResponse>(UrlBuilder.GetPhotos(filter), page, resultsPerPage));
 }
示例#4
0
 public async Task <GetPhotoLikesResponse> GetPhotoLikes(long photoId, int page = 1, int resultsPerPage = 100)
 {
     return(await Get <GetPhotoLikesResponse>(UrlBuilder.GetPhotoLikes(photoId), page, resultsPerPage));
 }
示例#5
0
 public async Task <GetFriendsResponse> GetFriends(long userId, int page = 1)
 {
     return(await Get <GetFriendsResponse>(UrlBuilder.GetFriends(userId), page, 100));
 }
示例#6
0
 public async Task <GetUserDetailsResponse> GetCurrentUser()
 {
     return(await Get <GetUserDetailsResponse>(UrlBuilder.GetCurrentUser()));
 }