MCPcopy
hub / github.com/wechatpy/wechatpy / get_category

Method get_category

wechatpy/client/api/wxa.py:194–205  ·  view source on GitHub ↗

获取授权小程序账号的可选类目 详情请参考 https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&id=open1489140610_Uavc4 :rtype: list[dict]

(self)

Source from the content-addressed store, hash-verified

192 return self._get('wxa/get_qrcode')
193
194 def get_category(self):
195 """
196 获取授权小程序账号的可选类目
197 详情请参考
198 https://open.weixin.qq.com/cgi-bin/showdocument?action=dir_list&id=open1489140610_Uavc4
199
200 :rtype: list[dict]
201 """
202 return self._get(
203 'wxa/get_category',
204 result_processor=lambda x: x['category_list'],
205 )
206
207 def get_page(self):
208 """

Callers

nothing calls this directly

Calls 1

_getMethod · 0.45

Tested by

no test coverage detected