blogUserInfos

package
v1.0.7 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 17, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BloggerBlogUserInfosClient

type BloggerBlogUserInfosClient struct {
	*kernel.BaseClient
}

BloggerBlogUserInfosClient 博客用户信息客户端

func NewClient

NewClient 初始化博客用户信息客户端

func (*BloggerBlogUserInfosClient) Get

## Get - 通过blogId和userId获取博客和用户信息对

接口文档参考: https://developers.google.com/blogger/docs/3.0/reference/users/get?hl=zh-cn

参数:

ctx    - 请求上下文
blogId - 要获取的博客的ID(必填)
userId - 要提取其博客的用户的ID(必填,可以是'self'或用户的个人资料ID)

返回值:

*schema.BloggerBlogUserInfosGetRes 包含以下字段:
  • Kind: 资源类型,固定为"blogger#blogUserInfo"
  • Blog: 博客信息
  • BlogUserInfo: 博客用户详细信息
error 调用过程中遇到的错误(如有)

授权范围:

需要以下任一授权范围:
- https://www.googleapis.com/auth/blogger
- https://www.googleapis.com/auth/blogger.readonly

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL