Documentation ¶
Index ¶
- type Client
- func (comp *Client) ArticleSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeArticleSummary, error)
- func (comp *Client) ArticleTotal(ctx context.Context, from string, to string) (*response.ResponseDataCubeArticleTotal, error)
- func (comp *Client) FreeCardSummary(ctx context.Context, from string, to string, condSource int, cardID string) (*response.ResponseDataCubeFreeCardSummary, error)
- func (comp *Client) GetUserCumulate(ctx context.Context, from string, to string) (*response.ResponseDataCubeUserCumulate, error)
- func (comp *Client) GetUserSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeUserSummary, error)
- func (comp *Client) InterfaceSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeInterfaceSummary, error)
- func (comp *Client) InterfaceSummaryHourly(ctx context.Context, from string, to string) (*response.ResponseDataCubeInterfaceSummaryHourly, error)
- func (comp *Client) MemberCardSummary(ctx context.Context, from string, to string, condSource int, cardID string) (*response.ResponseDataCubeMemberCardSummary, error)
- func (comp *Client) MemberCardSummaryByID(ctx context.Context, from string, to string, cardID string) (*response.ResponseDataCubeMemberCardSummaryByID, error)
- func (comp *Client) Query(ctx context.Context, api string, from string, to string, ext *object.HashMap, ...) (err error)
- func (comp *Client) UpstreamMessageDistMonthly(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageDistMonthly, error)
- func (comp *Client) UpstreamMessageDistSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageDistSummary, error)
- func (comp *Client) UpstreamMessageDistWeekly(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageDistWeekly, error)
- func (comp *Client) UpstreamMessageHourly(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageHourly, error)
- func (comp *Client) UpstreamMessageMonthly(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageMonthly, error)
- func (comp *Client) UpstreamMessageSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageSummary, error)
- func (comp *Client) UpstreamMessageWeekly(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageWeekly, error)
- func (comp *Client) UserReadSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeUserReadSummary, error)
- func (comp *Client) UserShareHourly(ctx context.Context, from string, to string) (*response.ResponseDataCubeUserShareHourly, error)
- func (comp *Client) UserShareSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeUserShareSummary, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
BaseClient *kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) ArticleSummary ¶
func (comp *Client) ArticleSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeArticleSummary, error)
获取图文群发每日数据 https://developers.weixin.qq.com/doc/offiaccount/Analytics/Graphic_Analysis_Data_Interface.html
func (*Client) ArticleTotal ¶
func (comp *Client) ArticleTotal(ctx context.Context, from string, to string) (*response.ResponseDataCubeArticleTotal, error)
获取图文群发总数据 https://developers.weixin.qq.com/doc/offiaccount/Analytics/Graphic_Analysis_Data_Interface.html
func (*Client) FreeCardSummary ¶
func (*Client) GetUserCumulate ¶
func (comp *Client) GetUserCumulate(ctx context.Context, from string, to string) (*response.ResponseDataCubeUserCumulate, error)
获取累计用户数据 https://developers.weixin.qq.com/doc/offiaccount/Analytics/User_Analysis_Data_Interface.html
func (*Client) GetUserSummary ¶
func (comp *Client) GetUserSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeUserSummary, error)
获取用户增减数据 https://developers.weixin.qq.com/doc/offiaccount/Analytics/User_Analysis_Data_Interface.html
func (*Client) InterfaceSummary ¶
func (comp *Client) InterfaceSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeInterfaceSummary, error)
获取接口分析数据. https://developers.weixin.qq.com/doc/offiaccount/Analytics/Analytics_API.html
func (*Client) InterfaceSummaryHourly ¶
func (comp *Client) InterfaceSummaryHourly(ctx context.Context, from string, to string) (*response.ResponseDataCubeInterfaceSummaryHourly, error)
获取接口分析分时数据. https://developers.weixin.qq.com/doc/offiaccount/Analytics/Analytics_API.html
func (*Client) MemberCardSummary ¶
func (*Client) MemberCardSummaryByID ¶ added in v3.0.44
func (comp *Client) MemberCardSummaryByID(ctx context.Context, from string, to string, cardID string) (*response.ResponseDataCubeMemberCardSummaryByID, error)
拉取单张会员卡数据接口. https://developers.weixin.qq.com/doc/offiaccount/Cards_and_Offer/Managing_Coupons_Vouchers_and_Cards.html
func (*Client) UpstreamMessageDistMonthly ¶
func (comp *Client) UpstreamMessageDistMonthly(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageDistMonthly, error)
获取消息发送分布月数据. https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html
func (*Client) UpstreamMessageDistSummary ¶
func (comp *Client) UpstreamMessageDistSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageDistSummary, error)
获取消息发送分布数据. https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html
func (*Client) UpstreamMessageDistWeekly ¶
func (comp *Client) UpstreamMessageDistWeekly(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageDistWeekly, error)
获取消息发送分布周数据. https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html
func (*Client) UpstreamMessageHourly ¶
func (comp *Client) UpstreamMessageHourly(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageHourly, error)
获取图文分享转发分时数据. https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html
func (*Client) UpstreamMessageMonthly ¶
func (comp *Client) UpstreamMessageMonthly(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageMonthly, error)
获取消息发送月数据. https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html
func (*Client) UpstreamMessageSummary ¶
func (comp *Client) UpstreamMessageSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageSummary, error)
获取消息发送概况数据. https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html
func (*Client) UpstreamMessageWeekly ¶
func (comp *Client) UpstreamMessageWeekly(ctx context.Context, from string, to string) (*response.ResponseDataCubeUpstreamMessageWeekly, error)
获取消息发送周数据. https://developers.weixin.qq.com/doc/offiaccount/Analytics/Message_analysis_data_interface.html
func (*Client) UserReadSummary ¶
func (comp *Client) UserReadSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeUserReadSummary, error)
获取图文统计数据 https://developers.weixin.qq.com/doc/offiaccount/Analytics/Graphic_Analysis_Data_Interface.html
func (*Client) UserShareHourly ¶
func (comp *Client) UserShareHourly(ctx context.Context, from string, to string) (*response.ResponseDataCubeUserShareHourly, error)
获取图文分享转发分时数据. https://developers.weixin.qq.com/doc/offiaccount/Analytics/Graphic_Analysis_Data_Interface.html
func (*Client) UserShareSummary ¶
func (comp *Client) UserShareSummary(ctx context.Context, from string, to string) (*response.ResponseDataCubeUserShareSummary, error)
获取图文分享转发数据. https://developers.weixin.qq.com/doc/offiaccount/Analytics/Graphic_Analysis_Data_Interface.html