Skip to content
This repository was archived by the owner on Sep 13, 2025. It is now read-only.

Latest commit

 

History

History
40 lines (28 loc) · 516 Bytes

File metadata and controls

40 lines (28 loc) · 516 Bytes

jx3api-js

The JavaScript SDK to the JX3API.

Installation

From yarn

yarn add jx3api

From npm

npm install jx3api

Quick Start

import jx3api from "jx3api"

//API接口
const api = new jx3api.api({token:"XXX", ticket:"XXX"})
api.active_calendar("梦江南").then(res=>{
    console.log(res)
})
//WS推送消息
const ws = new jx3api.ws({token:"XXX"})
ws.on('1001',(msg)=>{
    console.log(msg)
})

:)

License

MIT