0.1.0-alpha.5 • Published 2 years ago
@i5shuyi/wecom-sdk v0.1.0-alpha.5
WeCom SDK for Node.js
A JavaScript SDK for interacting with WeCom (企业微信) APIs.
Features
- Comprehensive API coverage
- TypeScript support
- Two usage patterns for flexibility
Installation
npm install @i5shuyi/wecom-sdkUsage
Basic Usage
Example
import { WeCom, WeComAuth } from "@i5shuyi/wecom-sdk";
const auth = new WeComAuth({
corpId: 'your_wecom_corp_id',
corpSecret: 'your_wecom_corp_secret'
});
const api = new WeCom(auth);
const contacts = await api.getExternalContactList('ZhangSan');Modular Usage
Example
import { WeComAuth, ExternalContactApi } from "@i5shuyi/wecom-sdk";
const auth = new WeComAuth({
corpId: 'your_wecom_corp_id',
corpSecret: 'your_wecom_corp_secret'
});
const api = new ExternalContactApi(auth);
const contacts = await api.getExternalContactList('ZhangSan');Contributing
Contributions are welcome! Please read the contributing guidelines first.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgements
Special thanks to all contributors and supporters.
0.1.0-alpha.5
2 years ago
0.1.0-alpha.4
2 years ago
0.1.0-alpha.3
2 years ago
0.1.0-alpha.2
2 years ago
0.1.0-alpha.1
2 years ago
0.1.0-alpha.0
2 years ago