Blogger
import { Blogger } from "https://googleapis.deno.dev/v1/blogger:v3.ts";
The Blogger API provides access to posts, comments and pages of a Blogger blog.
class Blogger {}
async blogUserInfosGet(
blogId: string,
userId: string,
opts?: BlogUserInfosGetOptions,
): Promise<BlogUserInfo>;async commentsDelete(
blogId: string,
commentId: string,
postId: string,
): Promise<void>;async commentsGet(
blogId: string,
commentId: string,
postId: string,
opts?: CommentsGetOptions,
): Promise<Comment>;async commentsList(
blogId: string,
postId: string,
opts?: CommentsListOptions,
): Promise<CommentList>;async pagesUpdate(
blogId: string,
pageId: string,
req: Page,
opts?: PagesUpdateOptions,
): Promise<Page>;async postsUpdate(
blogId: string,
postId: string,
req: Post,
opts?: PostsUpdateOptions,
): Promise<Post>;async postUserInfosGet(
blogId: string,
postId: string,
userId: string,
opts?: PostUserInfosGetOptions,
): Promise<PostUserInfo>;async postUserInfosList(
blogId: string,
userId: string,
opts?: PostUserInfosListOptions,
): Promise<PostUserInfosList>;§Methods
§
blogsGetByUrl(opts?: BlogsGetByUrlOptions): Promise<Blog>
[src]Gets a blog by url.
§
blogUserInfosGet(blogId: string, userId: string, opts?: BlogUserInfosGetOptions): Promise<BlogUserInfo>
[src]Gets one blog and user info pair by blog id and user id.
§
commentsDelete(blogId: string, commentId: string, postId: string): Promise<void>
[src]Deletes a comment by blog id, post id and comment id.
§
commentsGet(blogId: string, commentId: string, postId: string, opts?: CommentsGetOptions): Promise<Comment>
[src]Gets a comment by id.
§
postUserInfosGet(blogId: string, postId: string, userId: string, opts?: PostUserInfosGetOptions): Promise<PostUserInfo>
[src]Gets one post and user info pair, by post_id and user_id.
§
postUserInfosList(blogId: string, userId: string, opts?: PostUserInfosListOptions): Promise<PostUserInfosList>
[src]Lists post and user info pairs.