Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yeliex/wxs.js
wxs javascript sdk
https://github.com/yeliex/wxs.js
Last synced: about 2 months ago
JSON representation
wxs javascript sdk
- Host: GitHub
- URL: https://github.com/yeliex/wxs.js
- Owner: yeliex
- License: mit
- Created: 2016-08-03T02:26:36.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-02-26T12:21:47.000Z (almost 3 years ago)
- Last Synced: 2024-04-24T19:02:24.207Z (8 months ago)
- Language: JavaScript
- Size: 772 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 15
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# wxs-sdk
[![npm](https://img.shields.io/npm/v/wxs-sdk.svg?style=flat-square)](https://www.npmjs.com/package/wxs-sdk)
wxs javascript sdk
## Readme
js sdk for [wxs services](https://wxs.yeliex.com)## Installation
```
$ npm install wxs-sdk --save
```## Usage
```
// BrowserWechat = Wechat({
id: wxs appid,
mobile: your wxs account mobile,
token: wxs app token
});
// With import
import { WXS: Wechat } from 'wxs-sdk';const Wechat = WXS({
id: wxs appid,
mobile: your wxs account mobile,
token: wxs app token
}); // leave the options empty the second time
// With CommonJs
const Wechat = require('wxs-sdk').Wechat({
id: wxs appid,
mobile: your wxs account mobile,
token: wxs app token
});
```
## API Documention
see [wxs services](https://wxs.yeliex.com/doc)