Skip to main content

A package for interacting with the Gewechat API

Project description

gewechat-python

gewechat python client

Usage

安装 gewechat client

pip install gewechat-client

使用demo

from gewechat_client import GewechatClient

base_url = "http://127.0.0.1:2531/v2/api"
download_url = "http://127.0.0.1:2532/download"
token = "xxx"
app_id = "xxx"

# 创建 GewechatClient 实例
client = GewechatClient(base_url, download_url, token)

try:
    contacts_list = client.fetch_contacts_list(app_id)
    print("Fetched contacts list successfully!")
    print("Contacts list:", contacts_list)
except Exception as e:
    print("Failed to fetch contacts list:", str(e))

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

gewechat-client-0.1.2.tar.gz (8.6 kB view details)

Uploaded Source

Built Distribution

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

gewechat_client-0.1.2-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file gewechat-client-0.1.2.tar.gz.

File metadata

  • Download URL: gewechat-client-0.1.2.tar.gz
  • Upload date:
  • Size: 8.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.8.5

File hashes

Hashes for gewechat-client-0.1.2.tar.gz
Algorithm Hash digest
SHA256 df383b3cc3dc0ecbb5096f674a4234df271a9c9cdb4954fd48df5266a376ebe9
MD5 c0c330d5d70101442a730cfca5d9fb29
BLAKE2b-256 5bbb127852dd453ad40572eb84487d2f74b686fb04c5cf05f4242874b8e49af8

See more details on using hashes here.

File details

Details for the file gewechat_client-0.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for gewechat_client-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c19e7c795cba24ac21121305773b594b79a5a6cc5700690deb549e8bbb6b541f
MD5 822624f3444cdf9cbcb287cb991d75ff
BLAKE2b-256 e2fbf9ee49186dbffd4f6764aff3a2c37700a8b7434ce892468e894f38d42bf9

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