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