Something could help for you.
Node Library
ScreenShot
Install
Can be installed with:
$ npm install webwx-api
$ npm link
and used:
var api = require('webwx-api');
Usage
- To use api.mothodName to create your own WeChat robot.
wechatapi.getUUID(function (data){
//do something
});
or
wechatapi.getUUID.then((resolve) =>{
//do something
},(reject) => {
//do something
});
- Run wxbot.js or webwx test, which contains the basic functions and cases.And You can run webwx -h for help
node wxbox.js
or
webwx test
- More methods, contents, and method names can be viewed in wechatapi.js and wxapi.js.
Updates
- Get information about contacts (public numbers, group chats)
- Receive messages in real time (able to identify group @ messages)
- Send text messages (to solve text encoding problems)
- Add group chat, and pull people into the group
【1.0.2】 --17/06/28
Support
- OS X
- Linux
- Windows
Developing
To setup the development envrionment run npm install
Contributers
MrPan <1049058427@qq.com>
Thanks
- qrcode-terminal by gtanner
- more problem fix by biezhi