npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

open-wechat-api

v2.0.0

Published

开放平台版本微信公众号Node库 API

Downloads

4

Readme

Open Wechat API

开放平台版微信公众号API。该模块修改自wechat-api,用于微信第三方平台调用 微信相关接口。该模块需配合wechat-auth使用

模块状态

  • Build Status
  • Dependencies Status

功能列表

  • 发送客服消息(文本、图片、语音、视频、音乐、图文)
  • 菜单操作(查询、创建、删除)
  • 二维码(创建临时、永久二维码,查看二维码URL)
  • 分组操作(查询、创建、修改、移动用户到分组)
  • 用户信息(查询用户基本信息、获取关注者列表)
  • 媒体文件(上传、获取)
  • 群发消息(文本、图片、语音、视频、图文)
  • 客服记录(查询客服记录,查看客服、查看在线客服)
  • 群发消息
  • 公众号支付(发货通知、订单查询)
  • 微信小店(商品管理、库存管理、邮费模板管理、分组管理、货架管理、订单管理、功能接口)
  • 模版消息
  • 网址缩短
  • 语义查询
  • 数据分析
  • JSSDK服务端支持
  • 素材管理
  • 摇一摇周边

详细参见API文档

注意:common部分的api实例创建参见下文

Installation

$ git clone https://github.com/markaii/open-wechat-api

Usage

创建api实例,和wechat-api不同的是, access_token不再是通过appid和appsecret获取的,而是平台通过wechat-auth获取的, 因此创建api实例时,将外部获取到的access_token传入构造函数创建实例。

注意:所有的接口调用和wechat-api相同。

var WechatAPI = require('open-wechat-api');

var api = new WechatAPI(appid, access_token); // access_token = { authorizer_access_token: "xxx", expires_at: "xxx"}
api.updateRemark('open_id', 'remarked', function (err, data, res) {
  // TODO
});

详细API

原始API文档请参见:消息接口指南

License

The MIT license.

交流群

QQ群:157964097,使用疑问,开发,贡献代码请加群。

感谢

感谢以下贡献者:


 project  : wechat-api
 repo age : 12 months
 active   : 61 days
 commits  : 141
 files    : 69
 authors  :
    99  Jackson Tian  70.2%
     9  tedyyu        6.4%
     5  Guan Bo       3.5%
     4  shuhankuang   2.8%
     4  Lou            Lin   2.8%
     3  minxianlong   2.1%
     2  xuming314     1.4%
     2  Colt Xie      1.4%
     1  liuxiaodong   0.7%
     1  looping       0.7%
     1  wuxq          0.7%
     1  wxhuang       0.7%
     1  xumian.wei    0.7%
     1  yelo          0.7%
     1  Ezios         0.7%
     1  Lin@Cloud+    0.7%
     1  Qun Lin       0.7%
     1  Will          0.7%
     1  brucewar      0.7%
     1  dan           0.7%
     1  ifeiteng      0.7%

捐赠

如果您觉得Wechat对您有帮助,欢迎请作者一杯咖啡

捐赠wechat

或者