shakeAround

package
v2.0.2-beta01 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2022 License: MIT Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceClient

type DeviceClient struct {
	*kernel.BaseClient
}

func NewDeviceClient

func NewDeviceClient(app kernel.ApplicationInterface) (*DeviceClient, error)

type GroupClient

type GroupClient struct {
	*kernel.BaseClient
}

func NewGroupClient

func NewGroupClient(app kernel.ApplicationInterface) (*GroupClient, error)

type MaterialClient

type MaterialClient struct {
	*kernel.BaseClient
}

func NewMaterialClient

func NewMaterialClient(app kernel.ApplicationInterface) (*MaterialClient, error)

func (*MaterialClient) UploadImage

func (comp *MaterialClient) UploadImage(path string, Type string) (*response.ResponseMaterialUpload, error)

上传在摇一摇功能中需使用到的图片素材 https://developers.weixin.qq.com/doc/offiaccount/Shake_Nearby/Uploading_Image_Assets.html

type ShakeAround

type ShakeAround struct {
	*Client

	Device   *DeviceClient
	Page     *PageClient
	Material *MaterialClient
	Group    *GroupClient
	Relation *RelationClient
	Stats    *StatsClient
}

func RegisterProvider

func RegisterProvider(app kernel.ApplicationInterface) (*ShakeAround, error)

type StatsClient

type StatsClient struct {
	*kernel.BaseClient
}

func NewStatsClient

func NewStatsClient(app kernel.ApplicationInterface) (*StatsClient, error)

func (*StatsClient) DeviceSummary

func (comp *StatsClient) DeviceSummary(data *request.RequestDeviceIdentifier, beginTime int, endTime int) (*response.ResponseStatsSummary, error)

查询单个设备进行摇周边操作的人数、次数,点击摇周边消息的人数、次数 https://developers.weixin.qq.com/doc/offiaccount/Shake_Nearby/Analytics/Using_devices_as_a_dimension_for_the_data_statistics_interface.html

func (*StatsClient) PageSummary

func (comp *StatsClient) PageSummary(pageID int, beginTime int, endTime int) (*response.ResponseStatsPage, error)

查询单个页面通过摇周边摇出来的人数、次数,点击摇周边页面的人数、次数 https://developers.weixin.qq.com/doc/offiaccount/Shake_Nearby/Analytics/Using_pages_as_a_dimension_for_the_data_statistics_interface.html

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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