实例介绍
wechatpy是用于Python的微信公众平台第三方SDK。它支持普通公众平台被动响应和主动调用API、企业微信API、微信支付API、第三方平台代公众号调用接口API以及小程序云开发API。
推荐使用pip进行安装:pip install wechatpy。如需升级版本,可执行命令:pip install -U wechatpy。
【实例截图】【核心代码】
文件清单
└── wechatpy-a3f72cff3b5ad5cde0b434ee1775c272bec1a41a
├── CODE_OF_CONDUCT.md
├── docs
│ ├── changelog.rst
│ ├── client
│ │ ├── card.rst
│ │ ├── cloud.rst
│ │ ├── customservice.rst
│ │ ├── datacube.rst
│ │ ├── device.rst
│ │ ├── group.rst
│ │ ├── index.rst
│ │ ├── invoice.rst
│ │ ├── jsapi.rst
│ │ ├── marketing.rst
│ │ ├── material.rst
│ │ ├── media.rst
│ │ ├── menu.rst
│ │ ├── merchant.rst
│ │ ├── message.rst
│ │ ├── misc.rst
│ │ ├── poi.rst
│ │ ├── qrcode.rst
│ │ ├── scan.rst
│ │ ├── semantic.rst
│ │ ├── shakearound.rst
│ │ ├── tag.rst
│ │ ├── template.rst
│ │ ├── user.rst
│ │ ├── wifi.rst
│ │ └── wxa.rst
│ ├── component.rst
│ ├── conf.py
│ ├── events.rst
│ ├── index.rst
│ ├── install.rst
│ ├── make.bat
│ ├── Makefile
│ ├── messages.rst
│ ├── oauth.rst
│ ├── pay.rst
│ ├── quickstart.rst
│ ├── replies.rst
│ ├── requirements.txt
│ ├── sponsor.rst
│ ├── _static
│ │ └── images
│ │ ├── alipay.jpg
│ │ ├── logo.png
│ │ ├── qq-group.png
│ │ └── wechat.jpg
│ └── work
│ ├── client.rst
│ └── quickstart.rst
├── examples
│ ├── echo
│ │ ├── app.py
│ │ ├── Procfile
│ │ ├── requirements.txt
│ │ └── templates
│ │ └── index.html
│ ├── echo-encrypted
│ │ ├── app.py
│ │ ├── Procfile
│ │ ├── requirements.txt
│ │ └── templates
│ │ └── index.html
│ ├── echo-enterprise
│ │ ├── app.py
│ │ ├── Procfile
│ │ ├── requirements.txt
│ │ └── templates
│ │ └── index.html
│ ├── wechat-bot
│ └── wxjs
│ ├── main
│ │ ├── admin.py
│ │ ├── __init__.py
│ │ ├── migrations
│ │ │ └── __init__.py
│ │ ├── models.py
│ │ ├── static
│ │ │ └── js
│ │ │ └── jquery-1.11.2.min.js
│ │ ├── templates
│ │ │ └── index.html
│ │ ├── tests.py
│ │ ├── urls.py
│ │ └── views.py
│ ├── manage.py
│ ├── requirements.txt
│ └── wxjs
│ ├── __init__.py
│ ├── settings.py
│ ├── urls.py
│ └── wsgi.py
├── LICENSE
├── mypy.ini
├── poetry.lock
├── pyproject.toml
├── pytest.ini
├── README.md
├── setup.cfg
├── stubs
│ ├── requests_pkcs12.pyi
│ └── xmltodict.pyi
├── tests
│ ├── certs
│ │ ├── rsa_private_key.pem
│ │ └── rsa_public_key.pem
│ ├── conftest.py
│ ├── fixtures
│ │ ├── bizwifi_device_add.json
│ │ ├── bizwifi_device_delete.json
│ │ ├── bizwifi_device_list.json
│ │ ├── bizwifi_homepage_get.json
│ │ ├── bizwifi_homepage_set.json
│ │ ├── bizwifi_qrcode_get.json
│ │ ├── bizwifi_shop_get.json
│ │ ├── bizwifi_shop_list.json
│ │ ├── bizwifi_statistics_list.json
│ │ ├── callback_check.json
│ │ ├── changeopenid.json
│ │ ├── component
│ │ │ ├── api_authorizer_token.json
│ │ │ ├── api_component_token.json
│ │ │ ├── api_create_preauthcode.json
│ │ │ ├── api_get_authorizer_info.json
│ │ │ ├── api_get_authorizer_option.json
│ │ │ ├── api_query_auth.json
│ │ │ ├── api_set_authorizer_option.json
│ │ │ ├── _sns_oauth2_component_access_token.json
│ │ │ ├── _sns_oauth2_component_refresh_token.json
│ │ │ └── _sns_userinfo.json
│ │ ├── customservice_getkflist.json
│ │ ├── customservice_getonlinekflist.json
│ │ ├── customservice_kfaccount_add.json
│ │ ├── customservice_kfaccount_del.json
│ │ ├── customservice_kfaccount_update.json
│ │ ├── customservice_kfaccount_uploadheadimg.json
│ │ ├── customservice_kfsession_close.json
│ │ ├── customservice_kfsession_create.json
│ │ ├── customservice_kfsession_getsession.json
│ │ ├── customservice_kfsession_getsessionlist.json
│ │ ├── customservice_kfsession_getwaitcase.json
│ │ ├── customservice_msgrecord_getmsglist.json
│ │ ├── datacube_getarticlesummary.json
│ │ ├── datacube_getarticletotal.json
│ │ ├── datacube_getinterfacesummaryhour.json
│ │ ├── datacube_getinterfacesummary.json
│ │ ├── datacube_getupstreammsgdist.json
│ │ ├── datacube_getupstreammsgdistmonth.json
│ │ ├── datacube_getupstreammsgdistweek.json
│ │ ├── datacube_getupstreammsghour.json
│ │ ├── datacube_getupstreammsg.json
│ │ ├── datacube_getupstreammsgmonth.json
│ │ ├── datacube_getupstreammsgweek.json
│ │ ├── datacube_getusercumulate.json
│ │ ├── datacube_getuserreadhour.json
│ │ ├── datacube_getuserread.json
│ │ ├── datacube_getusersharehour.json
│ │ ├── datacube_getusershare.json
│ │ ├── datacube_getusersummary.json
│ │ ├── getcallbackip.json
│ │ ├── get_current_autoreply_info.json
│ │ ├── get_current_selfmenu_info.json
│ │ ├── groups_create.json
│ │ ├── groups_delete.json
│ │ ├── groups_getid.json
│ │ ├── groups_get.json
│ │ ├── groups_members_update.json
│ │ ├── groups_update.json
│ │ ├── material_get_materialcount.json
│ │ ├── media_uploadimg.json
│ │ ├── media_upload.json
│ │ ├── menu_create.json
│ │ ├── menu_delete.json
│ │ ├── menu_get.json
│ │ ├── message_custom_send.json
│ │ ├── message_mass_get.json
│ │ ├── message_mass_send.json
│ │ ├── payment
│ │ │ ├── papay_deletecontract.json
│ │ │ ├── papay_entrustweb.json
│ │ │ ├── papay_querycontract.json
│ │ │ ├── pay_paporderquery.json
│ │ │ └── pay_pappayapply.json
│ │ ├── qrcode_create.json
│ │ ├── scan_merchantinfo_get.json
│ │ ├── scan_product_clear.json
│ │ ├── scan_product_create.json
│ │ ├── scan_product_get.json
│ │ ├── scan_product_getlist.json
│ │ ├── scan_product_modstatus.json
│ │ ├── scan_product_update.json
│ │ ├── scan_scanticket_check.json
│ │ ├── scan_testwhitelist_set.json
│ │ ├── shakearound_device_applyid.json
│ │ ├── shakearound_device_applystatus.json
│ │ ├── shakearound_device_bindlocation.json
│ │ ├── shakearound_device_bindpage.json
│ │ ├── shakearound_device_search.json
│ │ ├── shakearound_device_update.json
│ │ ├── shakearound_material_add.json
│ │ ├── shakearound_page_add.json
│ │ ├── shakearound_page_delete.json
│ │ ├── shakearound_page_search.json
│ │ ├── shakearound_page_update.json
│ │ ├── shakearound_statistics_device.json
│ │ ├── shakearound_statistics_page.json
│ │ ├── shakearound_user_getshakeinfo.json
│ │ ├── shorturl.json
│ │ ├── sns_auth.json
│ │ ├── sns_jscode2session.json
│ │ ├── sns_oauth2_access_token.json
│ │ ├── sns_oauth2_refresh_token.json
│ │ ├── sns_userinfo.json
│ │ ├── ticket_getticket.json
│ │ ├── token.json
│ │ ├── user_get.json
│ │ ├── user_info_batchget.json
│ │ ├── user_info.json
│ │ ├── user_info_updateremark.json
│ │ ├── user_tag_get.json
│ │ ├── work
│ │ │ ├── batch_getresult.json
│ │ │ ├── batch_replaceparty.json
│ │ │ ├── batch_replaceuser.json
│ │ │ ├── batch_syncuser.json
│ │ │ ├── card_invoice_reimburse_getinvoiceinfobatch.json
│ │ │ ├── card_invoice_reimburse_getinvoiceinfo.json
│ │ │ ├── card_invoice_reimburse_updateinvoicestatus.json
│ │ │ ├── card_invoice_reimburse_updatestatusbatch.json
│ │ │ ├── checkin_getcheckindata.json
│ │ │ ├── checkin_getcheckinoption.json
│ │ │ ├── corp_get_join_qrcode.json
│ │ │ ├── corp_getopenapprovaldata.json
│ │ │ ├── department_create.json
│ │ │ ├── department_delete.json
│ │ │ ├── department_list.json
│ │ │ ├── department_update.json
│ │ │ ├── dial_get_dial_record.json
│ │ │ ├── exmail_account_act_email.json
│ │ │ ├── exmail_group_create.json
│ │ │ ├── exmail_group_delete.json
│ │ │ ├── exmail_group_get.json
│ │ │ ├── exmail_group_search.json
│ │ │ ├── exmail_group_update.json
│ │ │ ├── exmail_mail_get_newcount.json
│ │ │ ├── exmail_publicmail_create.json
│ │ │ ├── exmail_publicmail_delete.json
│ │ │ ├── exmail_publicmail_get.json
│ │ │ ├── exmail_publicmail_search.json
│ │ │ ├── exmail_publicmail_update.json
│ │ │ ├── exmail_useroption_get.json
│ │ │ ├── exmail_useroption_update.json
│ │ │ ├── export_department.json
│ │ │ ├── export_get_result.json
│ │ │ ├── export_simple_user.json
│ │ │ ├── export_taguser.json
│ │ │ ├── export_user.json
│ │ │ ├── externalcontact_add_contact_way.json
│ │ │ ├── externalcontact_add_corp_tag.json
│ │ │ ├── externalcontact_add_msg_template.json
│ │ │ ├── externalcontact_batch_get_by_user.json
│ │ │ ├── externalcontact_del_contact_way.json
│ │ │ ├── externalcontact_del_corp_tag.json
│ │ │ ├── externalcontact_edit_corp_tag.json
│ │ │ ├── externalcontact_get_contact_way.json
│ │ │ ├── externalcontact_get_follow_user_list.json
│ │ │ ├── externalcontact_get_group_msg_result.json
│ │ │ ├── externalcontact_get.json
│ │ │ ├── externalcontact_get_unassigned_list.json
│ │ │ ├── externalcontact_get_user_behavior_data.json
│ │ │ ├── externalcontact_groupchat_get.json
│ │ │ ├── externalcontact_groupchat_list.json
│ │ │ ├── externalcontact_group_welcome_template_add.json
│ │ │ ├── externalcontact_group_welcome_template_del.json
│ │ │ ├── externalcontact_group_welcome_template_edit.json
│ │ │ ├── externalcontact_group_welcome_template_get.json
│ │ │ ├── externalcontact_list.json
│ │ │ ├── externalcontact_mark_tag.json
│ │ │ ├── externalcontact_send_welcome_msg.json
│ │ │ ├── externalcontact_transfer.json
│ │ │ ├── externalcontact_update_contact_way.json
│ │ │ ├── getcallbackip.json
│ │ │ ├── get_jsapi_ticket.json
│ │ │ ├── gettoken.json
│ │ │ ├── media_upload.json
│ │ │ ├── oa_journal_get_record_detail.json
│ │ │ ├── oa_journal_get_record_list.json
│ │ │ ├── oa_journal_get_stat_list.json
│ │ │ ├── oa_meetingroom_add.json
│ │ │ ├── oa_meetingroom_book.json
│ │ │ ├── oa_meetingroom_cancel_book.json
│ │ │ ├── oa_meetingroom_del.json
│ │ │ ├── oa_meetingroom_edit.json
│ │ │ ├── oa_meetingroom_get_booking_info_by_meeting_id.json
│ │ │ ├── oa_meetingroom_get_booking_info.json
│ │ │ ├── oa_meetingroom_list.json
│ │ │ ├── service_get_login_info.json
│ │ │ ├── service_get_provider_token.json
│ │ │ ├── tag_addtagusers.json
│ │ │ ├── tag_create.json
│ │ │ ├── tag_delete.json
│ │ │ ├── tag_deltagusers.json
│ │ │ ├── tag_get.json
│ │ │ ├── tag_list.json
│ │ │ ├── tag_update.json
│ │ │ ├── user_convert_to_openid.json
│ │ │ ├── user_convert_to_userid.json
│ │ │ ├── user_get_active_stat.json
│ │ │ ├── user_list.json
│ │ │ └── user_simplelist.json
│ │ └── wxa_business_getuserphonenumber.json
│ ├── test_client.py
│ ├── test_component_api.py
│ ├── test_constants.py
│ ├── test_create_reply.py
│ ├── test_crypto.py
│ ├── test_deserialize_reply.py
│ ├── test_events.py
│ ├── test_external_contact.py
│ ├── test_fields.py
│ ├── test_messages.py
│ ├── test_oauth.py
│ ├── test_parser.py
│ ├── test_payment.py
│ ├── test_pay.py
│ ├── test_replies.py
│ ├── test_send_messages.py
│ ├── test_session.py
│ ├── test_utils.py
│ ├── test_work_client.py
│ ├── test_work_create_reply.py
│ └── test_work_parser.py
└── wechatpy
├── client
│ ├── api
│ │ ├── base.py
│ │ ├── card.py
│ │ ├── cloud.py
│ │ ├── customservice.py
│ │ ├── datacube.py
│ │ ├── device.py
│ │ ├── draft.py
│ │ ├── freepublish.py
│ │ ├── group.py
│ │ ├── __init__.py
│ │ ├── invoice.py
│ │ ├── jsapi.py
│ │ ├── marketing.py
│ │ ├── material.py
│ │ ├── media.py
│ │ ├── menu.py
│ │ ├── merchant
│ │ │ ├── category.py
│ │ │ ├── common.py
│ │ │ ├── express.py
│ │ │ ├── group.py
│ │ │ ├── __init__.py
│ │ │ ├── order.py
│ │ │ ├── shelf.py
│ │ │ └── stock.py
│ │ ├── message.py
│ │ ├── misc.py
│ │ ├── poi.py
│ │ ├── qrcode.py
│ │ ├── scan.py
│ │ ├── semantic.py
│ │ ├── shakearound.py
│ │ ├── tag.py
│ │ ├── template.py
│ │ ├── user.py
│ │ ├── wifi.py
│ │ └── wxa.py
│ ├── base.py
│ └── __init__.py
├── component.py
├── constants.py
├── crypto
│ ├── base.py
│ ├── __init__.py
│ └── pkcs7.py
├── events.py
├── exceptions.py
├── fields.py
├── __init__.py
├── messages.py
├── oauth.py
├── parser.py
├── pay
│ ├── api
│ │ ├── appauth.py
│ │ ├── base.py
│ │ ├── coupon.py
│ │ ├── __init__.py
│ │ ├── jsapi.py
│ │ ├── micropay.py
│ │ ├── order.py
│ │ ├── profitsharing.py
│ │ ├── redpack.py
│ │ ├── refund.py
│ │ ├── tools.py
│ │ ├── transfer.py
│ │ └── withhold.py
│ ├── __init__.py
│ └── utils.py
├── replies.py
├── schemes.py
├── session
│ ├── __init__.py
│ ├── memcachedstorage.py
│ ├── memorystorage.py
│ └── redisstorage.py
├── utils.py
└── work
├── client
│ ├── api
│ │ ├── agent.py
│ │ ├── appchat.py
│ │ ├── batch.py
│ │ ├── calendar.py
│ │ ├── department.py
│ │ ├── email.py
│ │ ├── export.py
│ │ ├── external_contact_group_chat.py
│ │ ├── external_contact.py
│ │ ├── __init__.py
│ │ ├── invoice.py
│ │ ├── jsapi.py
│ │ ├── kf_message.py
│ │ ├── kf.py
│ │ ├── living.py
│ │ ├── media.py
│ │ ├── menu.py
│ │ ├── message.py
│ │ ├── misc.py
│ │ ├── oa.py
│ │ ├── oauth.py
│ │ ├── schedule.py
│ │ ├── service.py
│ │ ├── tag.py
│ │ └── user.py
│ └── __init__.py
├── crypto.py
├── events.py
├── exceptions.py
├── __init__.py
├── messages.py
├── parser.py
├── replies.py
└── services
├── api
│ ├── auth.py
│ ├── __init__.py
│ └── miniprogram.py
└── __init__.py
41 directories, 417 files
标签:
相关软件
小贴士
感谢您为本站写下的评论,您的评论对其它用户来说具有重要的参考价值,所以请认真填写。
- 类似“顶”、“沙发”之类没有营养的文字,对勤劳贡献的楼主来说是令人沮丧的反馈信息。
- 相信您也不想看到一排文字/表情墙,所以请不要反馈意义不大的重复字符,也请尽量不要纯表情的回复。
- 提问之前请再仔细看一遍楼主的说明,或许是您遗漏了。
- 请勿到处挖坑绊人、招贴广告。既占空间让人厌烦,又没人会搭理,于人于己都无利。
关于好例子网
本站旨在为广大IT学习爱好者提供一个非营利性互相学习交流分享平台。本站所有资源都可以被免费获取学习研究。本站资源来自网友分享,对搜索内容的合法性不具有预见性、识别性、控制性,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,平台无法对用户传输的作品、信息、内容的权属或合法性、安全性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论平台是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二与二十三条之规定,若资源存在侵权或相关问题请联系本站客服人员,点此联系我们。关于更多版权及免责申明参见 版权及免责申明
网友评论
我要评论