Documentation ¶
Index ¶
- type Client
- func (comp *Client) GetDailyRetainInfo(from string, to string) (*response.ResponseDataCubeVisitInfo, error)
- func (comp *Client) GetDailySummary(from string, to string) (*response.ResponseDataCubeSummary, error)
- func (comp *Client) GetDailyVisitTrend(from string, to string) (*response.ResponseDataCubeSummary, error)
- func (comp *Client) GetMonthlyRetainInfo(from string, to string) (*response.ResponseDataCubeVisitInfo, error)
- func (comp *Client) GetMonthlyVisitTrend(from string, to string) (*response.ResponseDataCubeSummary, error)
- func (comp *Client) GetPerformanceData(options *request.RequestGetPerformanceData) (*response.ResponseDataCubeGetPerformanceData, error)
- func (comp *Client) GetUserPortrait(from string, to string) (*response.ResponseDataCubeUserPortrait, error)
- func (comp *Client) GetVisitDistribution(from string, to string) (*response.ResponseDataCubeVisit, error)
- func (comp *Client) GetVisitPage(from string, to string) (*response.ResponseDataCubeVisit, error)
- func (comp *Client) GetWeeklyRetainInfo(from string, to string) (*response.ResponseDataCubeVisitInfo, error)
- func (comp *Client) GetWeeklyVisitTrend(from string, to string) (*response.ResponseDataCubeSummary, error)
- func (comp *Client) Query(endpoint string, from string, to string, outHeader interface{}, ...) (interface{}, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) *Client
func (*Client) GetDailyRetainInfo ¶
func (*Client) GetDailySummary ¶
func (comp *Client) GetDailySummary(from string, to string) (*response.ResponseDataCubeSummary, error)
获取用户访问小程序数据概况 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/data-analysis/analysis.getDailySummary.html
func (*Client) GetDailyVisitTrend ¶
func (comp *Client) GetDailyVisitTrend(from string, to string) (*response.ResponseDataCubeSummary, error)
获取用户访问小程序数据日趋势 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/data-analysis/visit-trend/analysis.getDailyVisitTrend.html
func (*Client) GetMonthlyRetainInfo ¶
func (*Client) GetMonthlyVisitTrend ¶
func (comp *Client) GetMonthlyVisitTrend(from string, to string) (*response.ResponseDataCubeSummary, error)
获取用户访问小程序数据月趋势(能查询到的最新数据为上一个自然月的数据) https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/data-analysis/visit-trend/analysis.getMonthlyVisitTrend.html
func (*Client) GetPerformanceData ¶
func (comp *Client) GetPerformanceData(options *request.RequestGetPerformanceData) (*response.ResponseDataCubeGetPerformanceData, error)
获取小程序启动性能,运行性能等数据 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/data-analysis/analysis.getPerformanceData.html
func (*Client) GetUserPortrait ¶
func (comp *Client) GetUserPortrait(from string, to string) (*response.ResponseDataCubeUserPortrait, error)
获取小程序新增或活跃用户的画像分布数据 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/data-analysis/analysis.getUserPortrait.html
func (*Client) GetVisitDistribution ¶
func (comp *Client) GetVisitDistribution(from string, to string) (*response.ResponseDataCubeVisit, error)
获取用户小程序访问分布数据 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/data-analysis/analysis.getVisitDistribution.html
func (*Client) GetVisitPage ¶
func (*Client) GetWeeklyRetainInfo ¶
func (*Client) GetWeeklyVisitTrend ¶
func (comp *Client) GetWeeklyVisitTrend(from string, to string) (*response.ResponseDataCubeSummary, error)
获取用户访问小程序数据周趋势 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/data-analysis/visit-trend/analysis.getWeeklyVisitTrend.html