public async Task <PostResponse> GetPost(string postId) { string requestUrl = string.Format(ApiUrls.POST, googleBloggerAppSettings.GetBlogIdByLanguage(language), postId, googleBloggerAppSettings.ApiKey); var httpResponse = await GetService(requestUrl); var postResponse = await PreparePostResponse(httpResponse); return(postResponse); }
public async Task <PageResponse> Get(string PageId) { string requestUrl = string.Format(ApiUrls.PAGE, googleBloggerAppSettings.GetBlogIdByLanguage(language), PageId, googleBloggerAppSettings.ApiKey); var httpResponse = await GetHttpResponse(requestUrl); var pageResponse = await PreparePageResponse(httpResponse); return(pageResponse); }