MCPcopy
hub / github.com/wechatpy/wechatpy / get_article_total

Method get_article_total

wechatpy/client/api/datacube.py:122–140  ·  view source on GitHub ↗

获取图文群发总数据 详情请参考 http://mp.weixin.qq.com/wiki/8/c0453610fb5131d1fcb17b4e87c82050.html :param begin_date: 起始日期 :param end_date: 结束日期 :return: 统计数据列表

(self, begin_date, end_date)

Source from the content-addressed store, hash-verified

120 return res
121
122 def get_article_total(self, begin_date, end_date):
123 """
124 获取图文群发总数据
125 详情请参考
126 http://mp.weixin.qq.com/wiki/8/c0453610fb5131d1fcb17b4e87c82050.html
127
128 :param begin_date: 起始日期
129 :param end_date: 结束日期
130 :return: 统计数据列表
131 """
132 res = self._post(
133 'getarticletotal',
134 data={
135 'begin_date': self._to_date_str(begin_date),
136 'end_date': self._to_date_str(end_date)
137 },
138 result_processor=lambda x: x['list']
139 )
140 return res
141
142 def get_user_read(self, begin_date, end_date):
143 """

Callers 1

Calls 2

_to_date_strMethod · 0.95
_postMethod · 0.45

Tested by 1