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.1.tar.gz (12.5 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.1-py3-none-any.whl (16.6 kB view details)

Uploaded Python 3

File details

Details for the file gewechat_client-0.1.1.tar.gz.

File metadata

  • Download URL: gewechat_client-0.1.1.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.20

File hashes

Hashes for gewechat_client-0.1.1.tar.gz
Algorithm Hash digest
SHA256 d400cd3b4600cdbffbbe7fe8fc12cf8394bc68e32b962a3f3b00470bffdf4c63
MD5 e4f1fa9c55a59d9aba0706c74d42c51d
BLAKE2b-256 0189d3ebd42f9dcb5b4d1838c4a8d49939779562375a9e43e1f3c2261ea2b437

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for gewechat_client-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da56a19f8dc37f422e2e7354b8444a035de14d59c241eed72d5e635a764e356e
MD5 23eac2abd4b717631d038e7e37d0238b
BLAKE2b-256 55a861070aab5455d0f6020377187ecf6647922ac7afda823aa7d736d2a5f055

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