Пример #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()));
 }