Skip to main content

wechat send message

Project description

Wechat_msg

企业微信发送消息接口,Python

from wechat_msg.WeChat import Authorize, Send, Upload

corpid = ''
corpsecret = ''
agentid = ''

a = Authorize(corpid, corpsecret)
token = a.get_token()

s = Send(agentid, token)
s.send_msg("TEST", name="username")
s.send_img("img_path", name="username")

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

wechat_msg-0.5.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

wechat_msg-0.5-py3-none-any.whl (4.4 kB view details)

Uploaded Python 3

File details

Details for the file wechat_msg-0.5.tar.gz.

File metadata

  • Download URL: wechat_msg-0.5.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for wechat_msg-0.5.tar.gz
Algorithm Hash digest
SHA256 98e14527279f59075a80381973dfd7cdd2bb6bf9ef3c0eb4af1bd4109be5639b
MD5 dff3013faff62584bc069ca9f29a9e17
BLAKE2b-256 5dcba0b403cdd232b8deb83ca653cef95b3a0ad255ffbeedd36d9fdc5c2cb665

See more details on using hashes here.

File details

Details for the file wechat_msg-0.5-py3-none-any.whl.

File metadata

  • Download URL: wechat_msg-0.5-py3-none-any.whl
  • Upload date:
  • Size: 4.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.21.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.7.3

File hashes

Hashes for wechat_msg-0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 bf14dd76c82858c2df7657b46c1c8938873a491f1d356f909e0012b4be408b4a
MD5 de7a8d0982e527aaf8999af450c4eac2
BLAKE2b-256 61900615af9c2c0884f0b09f608a2919ee97ec9e352019bb1815a3346eac27bb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page